Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64
Hello, I tested the build from source with the package python-cryptography in version 1.7.1-3+deb9u1 in combination with libssl-dev and libssl in version 1.1.0j-1~deb9u1 successfully. Furthermore we built it with the current version of libssl 1.1.0k-1~deb9u1 for Debian Stretch. Also this build was successfully. Therefor this bug can be closed in my opinion. Thanks and best regards, Dirk Mayer -Original Message- From: Sebastian Andrzej Siewior Sent: Dienstag, 24. September 2019 22:18 To: Mayer, Dirk (DI PA DE-L SWA OP) Cc: Tristan Seligmann ; 916...@bugs.debian.org; debian-python Subject: Re: Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64 On 2019-04-17 07:46:44 [+], Mayer, Dirk wrote: > Is there any chance with bug will be fixed ? > Do you need more information ? I just stumbled uppon this report. Is this still the case as with 1.7.1-3+deb9u1? I think it appeared shortly after you wrote this email. > Thanks an best regards > Dirk Mayer Sebastian
Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64
On 2019-04-17 07:46:44 [+], Mayer, Dirk wrote: > Is there any chance with bug will be fixed ? > Do you need more information ? I just stumbled uppon this report. Is this still the case as with 1.7.1-3+deb9u1? I think it appeared shortly after you wrote this email. > Thanks an best regards > Dirk Mayer Sebastian
Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64
Tags: ftbfs Hello, it seems this is still an issue. My workaround was holding back that version of libssl-dev with: sudo -E apt-get install libssl1.1=1.1.0f-3+deb9u2 -qq -y --allow-downgrades sudo -E apt-get install libssl-dev=1.1.0f-3+deb9u2 -qq -y --allow-downgrades sudo apt-mark hold libssl1.1 libssl-dev But this does not work anymore, because this versions of the libs are not available for installation anymore on the official Debian mirrors: + sudo -E apt-get install libssl1.1=1.1.0f-3+deb9u2 -qq -y --allow-downgrades E: Version '1.1.0f-3+deb9u2' for 'libssl1.1' was not found + sudo -E apt-get install libssl-dev=1.1.0f-3+deb9u2 -qq -y --allow-downgrades E: Version '1.1.0f-3+deb9u2' for 'libssl-dev' was not found Is there any chance with bug will be fixed ? Do you need more information ? Thanks an best regards Dirk Mayer From: Tristan Seligmann Sent: Montag, 17. Dezember 2018 12:24 To: Mayer, Dirk (PD PA DE-L SWA OP) ; 916...@bugs.debian.org; debian-python Subject: Re: Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64 I suspect this is fixed upstream but I am unable to take care of uploading a new version for the next few weeks. An NMU / team upload would be appreciated!
Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64
I suspect this is fixed upstream but I am unable to take care of uploading a new version for the next few weeks. An NMU / team upload would be appreciated!
Bug#916682: python-cryptography: build from source fails with libssl-dev_1.1.0j-1~deb9u1 amd64
Package: python3-cryptography Version: 1.7.1-3 Source: python-cryptography Hello Debian community, when I try to compile and package the python3-cryptography 1.7.1-3 the build fails with the following (truncated) error: running build_ext generating cffi module 'build/temp.linux-amd64-2.7/_padding.c' creating build creating build/temp.linux-amd64-2.7 generating cffi module 'build/temp.linux-amd64-2.7/_constant_time.c' generating cffi module 'build/temp.linux-amd64-2.7/_openssl.c' building '_openssl' extension creating build/temp.linux-amd64-2.7/build creating build/temp.linux-amd64-2.7/build/temp.linux-amd64-2.7 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/home/bob/python-cryptography-1.7.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c build/temp.linux-amd64-2.7/_openssl.c -o build/temp.linux-amd64-2.7/build/temp.linux-amd64-2.7/_openssl.o build/temp.linux-amd64-2.7/_openssl.c:846:6: error: conflicting types for 'BIO_callback_ctrl' long BIO_callback_ctrl( ^ In file included from /usr/include/openssl/asn1.h:16:0, from build/temp.linux-amd64-2.7/_openssl.c:470: /usr/include/openssl/bio.h:551:6: note: previous declaration of 'BIO_callback_ctrl' was here long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp); ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_ASN1_STRING_data': build/temp.linux-amd64-2.7/_openssl.c:14549:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] return ASN1_STRING_data(x0); ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from build/temp.linux-amd64-2.7/_openssl.c:440: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_ASN1_STRING_data': build/temp.linux-amd64-2.7/_openssl.c:14572:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] { result = ASN1_STRING_data(x0); } ^ In file included from /usr/include/openssl/e_os2.h:13:0, from build/temp.linux-amd64-2.7/_openssl.c:440: /usr/include/openssl/asn1.h:553:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_BIO_f_buffer': build/temp.linux-amd64-2.7/_openssl.c:15948:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return BIO_f_buffer(); ^~ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_BIO_f_buffer': build/temp.linux-amd64-2.7/_openssl.c:15958:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { result = BIO_f_buffer(); } ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_BIO_f_null': build/temp.linux-amd64-2.7/_openssl.c:15972:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return BIO_f_null(); ^~~~ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_BIO_f_null': build/temp.linux-amd64-2.7/_openssl.c:15982:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { result = BIO_f_null(); } ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_BIO_s_fd': build/temp.linux-amd64-2.7/_openssl.c:17401:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return BIO_s_fd(); ^~ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_BIO_s_fd': build/temp.linux-amd64-2.7/_openssl.c:17411:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { result = BIO_s_fd(); } ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_BIO_s_file': build/temp.linux-amd64-2.7/_openssl.c:17425:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return BIO_s_file(); ^~~~ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_BIO_s_file': build/temp.linux-amd64-2.7/_openssl.c:17435:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { result = BIO_s_file(); } ^ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_d_BIO_s_mem': build/temp.linux-amd64-2.7/_openssl.c:17449:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return BIO_s_mem(); ^~~ build/temp.linux-amd64-2.7/_openssl.c: In function '_cffi_f_BIO_s_mem': build/temp.linux-amd64-2.7/_openssl.c:17459:12: warning: assignment discards 'const' qualifier from pointer target type