Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build with Debian + Heimdal #122

Merged
merged 1 commit into from
Jul 17, 2017

Conversation

cipherboy
Copy link
Contributor

Thanks!

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
@cipherboy cipherboy changed the title WIP: Fix build with Debian + Heimdal Fix build with Debian + Heimdal Jul 14, 2017
@cipherboy
Copy link
Contributor Author

@frozencemetery WIP removed.

@frozencemetery
Copy link
Member

Awesome, thanks. Per IRC discussion, we'd like this to include support (but not CI) for Fedora's Heimdal as well, but otherwise I'm happy with it.

@cipherboy
Copy link
Contributor Author

cipherboy commented Jul 17, 2017

Build log:

Building from Cython files...
Skipping the s4u extension because it is not supported by your GSSAPI implementation...
Skipping the cred_store extension because it is not supported by your GSSAPI implementation...
Skipping the iov_mic extension because it is not supported by your GSSAPI implementation...
Skipping the rfc6680_comp_oid extension because it is not supported by your GSSAPI implementation...
running build_ext
Compiling gssapi/raw/misc.pyx because it changed.
Compiling gssapi/raw/exceptions.pyx because it changed.
Compiling gssapi/raw/creds.pyx because it changed.
Compiling gssapi/raw/names.pyx because it changed.
Compiling gssapi/raw/sec_contexts.pyx because it changed.
Compiling gssapi/raw/types.pyx because it changed.
Compiling gssapi/raw/message.pyx because it changed.
Compiling gssapi/raw/oids.pyx because it changed.
Compiling gssapi/raw/cython_converters.pyx because it changed.
Compiling gssapi/raw/chan_bindings.pyx because it changed.
Compiling gssapi/raw/ext_rfc5588.pyx because it changed.
Compiling gssapi/raw/ext_cred_imp_exp.pyx because it changed.
Compiling gssapi/raw/ext_dce.pyx because it changed.
Compiling gssapi/raw/ext_rfc6680.pyx because it changed.
Compiling gssapi/raw/ext_password.pyx because it changed.
Compiling gssapi/raw/ext_password_add.pyx because it changed.
Compiling gssapi/raw/mech_krb5.pyx because it changed.
Compiling gssapi/raw/_enum_extensions/ext_dce.pyx because it changed.
[ 1/18] Cythonizing gssapi/raw/_enum_extensions/ext_dce.pyx
[ 2/18] Cythonizing gssapi/raw/chan_bindings.pyx
warning: gssapi/raw/chan_bindings.pyx:43:59: local variable 'res' referenced before assignment
[ 3/18] Cythonizing gssapi/raw/creds.pyx
[ 4/18] Cythonizing gssapi/raw/cython_converters.pyx
[ 5/18] Cythonizing gssapi/raw/exceptions.pyx
[ 6/18] Cythonizing gssapi/raw/ext_cred_imp_exp.pyx
[ 7/18] Cythonizing gssapi/raw/ext_dce.pyx
[ 8/18] Cythonizing gssapi/raw/ext_password.pyx
[ 9/18] Cythonizing gssapi/raw/ext_password_add.pyx
[10/18] Cythonizing gssapi/raw/ext_rfc5588.pyx
[11/18] Cythonizing gssapi/raw/ext_rfc6680.pyx
[12/18] Cythonizing gssapi/raw/mech_krb5.pyx
[13/18] Cythonizing gssapi/raw/message.pyx
[14/18] Cythonizing gssapi/raw/misc.pyx
[15/18] Cythonizing gssapi/raw/names.pyx
[16/18] Cythonizing gssapi/raw/oids.pyx
[17/18] Cythonizing gssapi/raw/sec_contexts.pyx
[18/18] Cythonizing gssapi/raw/types.pyx
building 'gssapi.raw.misc' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/gssapi
creating build/temp.linux-x86_64-3.6/gssapi/raw
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/misc.c -o build/temp.linux-x86_64-3.6/gssapi/raw/misc.o -I/usr/include/heimdal
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/gssapi
creating build/lib.linux-x86_64-3.6/gssapi/raw
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/misc.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/misc.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.exceptions' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/exceptions.c -o build/temp.linux-x86_64-3.6/gssapi/raw/exceptions.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/exceptions.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/exceptions.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.creds' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/creds.c -o build/temp.linux-x86_64-3.6/gssapi/raw/creds.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/creds.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/creds.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.names' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/names.c -o build/temp.linux-x86_64-3.6/gssapi/raw/names.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/names.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/names.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.sec_contexts' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/sec_contexts.c -o build/temp.linux-x86_64-3.6/gssapi/raw/sec_contexts.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/sec_contexts.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/sec_contexts.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.types' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/types.c -o build/temp.linux-x86_64-3.6/gssapi/raw/types.o -I/usr/include/heimdal
gssapi/raw/types.c: In function ‘__Pyx_PyInt_LshiftObjC’:
gssapi/raw/types.c:8942:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (unlikely(!(b < sizeof(long)*8 && a == x >> b)) && a) {
                                  ^
gssapi/raw/types.c:634:43: note: in definition of macro ‘unlikely’
   #define unlikely(x) __builtin_expect(!!(x), 0)
                                           ^
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/types.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/types.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.message' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/message.c -o build/temp.linux-x86_64-3.6/gssapi/raw/message.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/message.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/message.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.oids' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/oids.c -o build/temp.linux-x86_64-3.6/gssapi/raw/oids.o -I/usr/include/heimdal
gssapi/raw/oids.c: In function ‘__Pyx_PyInt_LshiftObjC’:
gssapi/raw/oids.c:5761:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (unlikely(!(b < sizeof(long)*8 && a == x >> b)) && a) {
                                  ^
gssapi/raw/oids.c:635:43: note: in definition of macro ‘unlikely’
   #define unlikely(x) __builtin_expect(!!(x), 0)
                                           ^
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/oids.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/oids.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.cython_converters' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/cython_converters.c -o build/temp.linux-x86_64-3.6/gssapi/raw/cython_converters.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/cython_converters.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/cython_converters.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.chan_bindings' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/chan_bindings.c -o build/temp.linux-x86_64-3.6/gssapi/raw/chan_bindings.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/chan_bindings.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/chan_bindings.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_rfc5588' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_rfc5588.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_rfc5588.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_rfc5588.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_rfc5588.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_cred_imp_exp' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_cred_imp_exp.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_cred_imp_exp.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_cred_imp_exp.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_cred_imp_exp.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_dce' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_dce.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_dce.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_dce.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_dce.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_rfc6680' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_rfc6680.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_rfc6680.o -I/usr/include/heimdal
gssapi/raw/ext_rfc6680.c: In function ‘__pyx_pf_6gssapi_3raw_11ext_rfc6680_2inquire_name’:
gssapi/raw/ext_rfc6680.c:1616:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                                     ^
gssapi/raw/ext_rfc6680.c: In function ‘__pyx_pw_6gssapi_3raw_11ext_rfc6680_5set_name_attribute’:
gssapi/raw/ext_rfc6680.c:2105:15: warning: ‘__pyx_v_i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __pyx_v_i = (__pyx_v_i + 1);
     ~~~~~~~~~~^~~~~~~~~~~~~~~~~
gssapi/raw/ext_rfc6680.c:1993:10: note: ‘__pyx_v_i’ was declared here
   size_t __pyx_v_i;
          ^~~~~~~~~
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_rfc6680.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_rfc6680.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_password' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_password.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_password.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_password.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_password.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.ext_password_add' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/ext_password_add.c -o build/temp.linux-x86_64-3.6/gssapi/raw/ext_password_add.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/ext_password_add.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/ext_password_add.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw.mech_krb5' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c gssapi/raw/mech_krb5.c -o build/temp.linux-x86_64-3.6/gssapi/raw/mech_krb5.o -I/usr/include/heimdal
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/mech_krb5.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/mech_krb5.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
building 'gssapi.raw._enum_extensions.ext_dce' extension
creating build/temp.linux-x86_64-3.6/gssapi/raw/_enum_extensions
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Igssapi/raw/ -I/usr/include/python3.6m -c gssapi/raw/_enum_extensions/ext_dce.c -o build/temp.linux-x86_64-3.6/gssapi/raw/_enum_extensions/ext_dce.o -I/usr/include/heimdal
creating build/lib.linux-x86_64-3.6/gssapi/raw/_enum_extensions
gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none build/temp.linux-x86_64-3.6/gssapi/raw/_enum_extensions/ext_dce.o -L/usr/lib64/heimdal -L/usr/lib64 -lpython3.6m -o build/lib.linux-x86_64-3.6/gssapi/raw/_enum_extensions/ext_dce.cpython-36m-x86_64-linux-gnu.so -Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -lgssapi
copying build/lib.linux-x86_64-3.6/gssapi/raw/misc.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/exceptions.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/creds.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/names.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/sec_contexts.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/types.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/message.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/oids.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/cython_converters.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/chan_bindings.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_rfc5588.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_cred_imp_exp.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_dce.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_rfc6680.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_password.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/ext_password_add.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/mech_krb5.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw
copying build/lib.linux-x86_64-3.6/gssapi/raw/_enum_extensions/ext_dce.cpython-36m-x86_64-linux-gnu.so -> gssapi/raw/_enum_extensions

Heimdal verification:

$ krb5-config 
usage: /usr/lib/heimdal/bin/krb5-config [options] [libraries]
options:   [--help]         show this message
           [--all]          display version, vendor, etc.
           [--version]      display version information
           [--prefix]       display the prefix of Kerberos
           [--exec-prefix]  display the exec_prefix of Kerberos
           [--cflags]       display the CFLAGS required
           [--libs]         display the libraries required to link
           [--deps]         display the dependent libs required
                            for static linking

libraries: krb5             Kerberos 5 applications
           gssapi           GSSAPI applications
           kadm-client      libkadm5 client
           kadm-server      libkadm5 server
           kafs             kafs
$ krb5-config --libs gssapi
-Wl,--enable-new-dtags -Wl,-rpath -Wl,/usr/lib64/heimdal -L/usr/lib64/heimdal -lgssapi
$ rpm -qa | grep heimdal
heimdal-workstation-7.1.0-2.fc26.x86_64
heimdal-server-7.1.0-2.fc26.x86_64
heimdal-libs-7.1.0-2.fc26.x86_64
heimdal-devel-7.1.0-2.fc26.x86_64
heimdal-path-7.1.0-2.fc26.x86_64

@frozencemetery frozencemetery merged commit 0be0230 into pythongssapi:master Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants