Re: Problem building py-cryptography
Simon Wright wrote: > Hi all, > > Here is the new py-cryptography build log with no libressl and no ccache. > How recent is your ports tree? I've committed a further fix that converts all patches to conditionals, specifically on FreeBSD 11 with base OpenSSL or any system using LibreSSL. > It looks to me as though python38 is pulling in libressl. Python options > are default though not sure whether options were specifically set. > All ports built in this jail/tree/set must use the same DEFAULT_SSL throughout; you cannot mix and match. By changing your DEFAULT_SSL, every USES=ssl port must be rebuilt. > I've just removed the config options for python (make rmconfig) and > poudirere is now rebuilding 101 ports so I'll update this in the morning. > > Full build log here: > == > =>> Building security/py-cryptography > build started at Sat May 22 22:59:08 PST 2021 > port directory: /usr/ports/security/py-cryptography > package name: py38-cryptography-3.3.2 > building for: FreeBSD pkg.home.santos-wright.net 13.0-RELEASE FreeBSD > 13.0-RELEASE amd64 Since it appears you are building under FreeBSD 13.0-RELEASE with the base OpenSSL, no patches should apply. -- Charlie Li …nope, still don't have an exit line. OpenPGP_signature Description: OpenPGP digital signature
Re: Problem building py-cryptography
On 20/05/2021 12:32 pm, Kubilay Kocak wrote: On 20/05/2021 2:17 pm, Simon Wright wrote: On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) While the build error *with libressl* is known, matching that reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 Failing to build without libressl is unexpected. Jump into the poudriere jail to confirm (or not) its libressl that's being installed and used. Could be: - Custom WRKDIRPREFIX? - An overriding jail or set (-z) specific poudriere foo-make.conf? Hi all, Here is the new py-cryptography build log with no libressl and no ccache. make.conf WRKDIRPREFIX=/usr/tmp #WRKDIRPREFIX=/tmp/drupal7 OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 #OPTIONS_UNSET+=X11 GUI CUPS DOCS EXAMPLES NLS LPR CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes #DEFAULT_VERSIONS+=ssl=libressl bdb=5 DEFAULT_VERSIONS+=bdb=5 VALID_CATEGORIES+=local SVN=svnlite #WITH_OPENSSL_PORT=yes /usr/local/etc/poudriere.d/make.conf VALID_CATEGORIES+=local #DEFAULT_VERSIONS+=ssl=libressl bdb=5 #DEFAULT_VERSIONS+=ssl=libressl DEFAULT_VERSIONS+=bdb=5 OPTIONS_SET+=NO-X11 OVERLAYS=local #DEFAULT_VERSIONS+=ssl=port #DEVELOPER=yes LICENSES_ACCEPTED=NONE There is no jail-specific make.conf or -z options set. And see this extract from the full build log: === ===> py38-cryptography-3.3.2 depends on package: py38-cffi>=1.8 - not found ===> Installing existing package /packages/All/py38-cffi-1.14.5.txz [pkg.home.santos-wright.net] Installing py38-cffi-1.14.5... [pkg.home.santos-wright.net] `-- Installing libffi-3.3_1... [pkg.home.santos-wright.net] | `-- Installing indexinfo-0.3.1... [pkg.home.santos-wright.net] | `-- Extracting indexinfo-0.3.1: done [pkg.home.santos-wright.net] `-- Extracting libffi-3.3_1: .. done [pkg.home.santos-wright.net] `-- Installing py38-pycparser-2.20... [pkg.home.santos-wright.net] | `-- Installing py38-setuptools-44.0.0_1... [pkg.home.santos-wright.net] | | `-- Installing python38-3.8.10... [pkg.home.santos-wright.net] | | `-- Installing gettext-runtime-0.21... [pkg.home.santos-wright.net] | | `-- Extracting gettext-runtime-0.21: .. done [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: .. done [pkg.home.santos-wright.net] | | `-- Installing mpdecimal-2.5.1... [pkg.home.santos-wright.net] | | `-- Extracting mpdecimal-2.5.1: .. done [pkg.home.santos-wright.net] | | `-- Installing readline-8.1.1... [pkg.home.santos-wright.net] | | `-- Extracting readline-8.1.1: .. done [pkg.home.santos-wright.net] | | `-- Extracting python38-3.8.10: .. done [pkg.home.santos-wright.net] | `-- Extracting py38-setuptools-44.0.0_1: .. done [pkg.home.santos-wright.net] `-- Extracting py38-pycparser-2.20: .. done [pkg.home.santos-wright.net] Extracting py38-cffi-1.14.5: .. done = It looks to me as though python38 is pulling in libressl. Python options are default though not sure whether options were specifically set. simon@vmserver04:/usr/ports/lang/python38$ sudo make showconfig ===> The following configuration options are available for python38-3.8.10: DEBUG=off: Build with debugging support IPV6=on: IPv6 protocol support LIBFFI=on: Use libffi from ports instead of bundled version LIBMPDEC=on: Use libmpdec from ports instead of bundled version NLS=on: Enable gettext support for the locale module PYMALLOC=on: Enable specialized mallocs > Hash Algorithm (PEP-456): you can only select none or one of them FNV=off: Modified Fowler-Noll-Vo Algorithm SIPHASH=off: SipHash24 Algorithm ===> Use 'make config' to modify these settings I've just removed the config options for python (make rmconfig) and poudirere is now rebuilding 101 ports so I'll update this in the m
Re: Problem building py-cryptography
On 22/05/2021 12:31 am, Dan Langille wrote: On Fri, May 21, 2021, at 10:29 AM, Dan Langille wrote: On Thu, May 20, 2021, at 7:18 PM, Simon Wright wrote: Thanks Kubs, I'm travelling at the moment and will check further when I'm back home. The original build log was with libressl and ccache. I'll repeat without both and attach a new build log. FYI, I have build failures here today, based on FreeBSD 11.4. Builds fine on 12.2 though. https://services.unixathome.org/poudriere/data/114R-dvl/2021-05-21_13h56m56s/logs/errors/py38-cryptography-2.9.2.log ===> FAILED Applying FreeBSD patch-Fix-build-with-LibreSSL-3.3.2-5988 ===> FAILED to apply cleanly FreeBSD patch(es) patch-Fix-build-with-LibreSSL-3.3.2-5988 For me, on 11.4, fixed with: rm py-cryptography/files/patch-Fix-build-with-LibreSSL-3.3.2-5988 With that file removed, 12.2 does not build. Correction. It builds on 12.2. I was wrong, sorry. If there are any remaining issues with cryptography and libressl or regressions, please re-open https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 hope this helps. Apologies for the top post. Regards, Simon. 20 May 2021 13:50:54 Kubilay Kocak : On 20/05/2021 2:17 pm, Simon Wright wrote: On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) While the build error *with libressl* is known, matching that reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 Failing to build without libressl is unexpected. Jump into the poudriere jail to confirm (or not) its libressl that's being installed and used. Could be: - Custom WRKDIRPREFIX? - An overriding jail or set (-z) specific poudriere foo-make.conf? Note, the OP build log contains: [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: With defaults, base openssl will be used, and you wont see libressl as a dependency in the build. [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: error: expected identifier or '(' static const long SSL_OP_NO_DTLSv1 = 0; Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
On Fri, May 21, 2021, at 10:29 AM, Dan Langille wrote: > On Thu, May 20, 2021, at 7:18 PM, Simon Wright wrote: > > Thanks Kubs, I'm travelling at the moment and will check further when I'm > > back home. The original build log was with libressl and ccache. I'll > > repeat without both and attach a new build log. > > FYI, I have build failures here today, based on FreeBSD 11.4. Builds > fine on 12.2 though. > > https://services.unixathome.org/poudriere/data/114R-dvl/2021-05-21_13h56m56s/logs/errors/py38-cryptography-2.9.2.log > > ===> FAILED Applying FreeBSD patch-Fix-build-with-LibreSSL-3.3.2-5988 > ===> FAILED to apply cleanly FreeBSD patch(es) > patch-Fix-build-with-LibreSSL-3.3.2-5988 > > For me, on 11.4, fixed with: > > rm py-cryptography/files/patch-Fix-build-with-LibreSSL-3.3.2-5988 > > With that file removed, 12.2 does not build. Correction. It builds on 12.2. I was wrong, sorry. > > > hope this helps. > > > > > Apologies for the top post. > > > > Regards, > > > > Simon. > > > > 20 May 2021 13:50:54 Kubilay Kocak : > > > > > On 20/05/2021 2:17 pm, Simon Wright wrote: > > >> On 20/05/2021 12:00 pm, Kubilay Kocak wrote: > > >>> On 20/05/2021 1:21 pm, Simon Wright wrote: > > Hi all, > > > > I've been unable to build security/py-cryptography for about 10 days > > now. The build in Poudriere under 12.2 and 13.0 fail with a > > "Bad_C++_code" error. > > > > I tried removing the libressl dependency but that made no > > difference. Is > > anyone else seeing this and can anyone point me in the right > > direction > > to get this fixed please? > > > > Below is my make.conf, list of poudriere-built ports and the full > > poudriere log for py-cryptography > > > > >>> > > >>> Hi Simon, > > >>> > > >>> Is the issue reproducible without ccache? > > >>> > > >>> Also, make.conf still shows: > > >>> > > >>> DEFAULT_VERSIONS+=ssl=libressl > > >>> > > >> Thanks Kubs. When I tested I removed libressl, tried the build again > > >> and > > >> it failed so I replaced libressl after the test. > > >> Removing ccache (and with libressl) made no difference - still the > > >> same > > >> error. I then removed the libressl dependency and I reran the build - > > >> no > > >> ccache and no libressl - the build still failed, same error message. > > >> Since no-one else has reported this I suppose it should be something > > >> in > > >> my environment . . . . But what? :) > > > > > > While the build error *with libressl* is known, matching that reported > > > in: > > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 > > > > > > Failing to build without libressl is unexpected. > > > > > > Jump into the poudriere jail to confirm (or not) its libressl that's > > > being installed and used. Could be: > > > > > > - Custom WRKDIRPREFIX? > > > - An overriding jail or set (-z) specific poudriere foo-make.conf? > > > > > > Note, the OP build log contains: > > > > > > [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... > > > [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: > > > > > > With defaults, base openssl will be used, and you wont see libressl as > > > a dependency in the build. > > > > > > [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: > > > error: > > > expected identifier or '(' > > > static const long SSL_OP_NO_DTLSv1 = 0; > > > > > >> Regards, > > >> Simon. > > >> > > > > > > make.conf > > > > WRKDIRPREFIX=/usr/tmp > > OPTIONS_SET=GECKO CUPS > > NOI4B=1 > > OPTIONS_SET+=NO-X11 > > CUPS_OVERWRITE_BASE=YES > > WITH_VIM_OPTIONS=yes > > DEFAULT_VERSIONS+=ssl=libressl bdb=5 > > VALID_CATEGORIES+=local > > SVN=svnlite > > > > > > Poudriere ports list: > > > > devel/git@lite > > dns/bind916 > > emulators/open-vm-tools@nox11 > > ftp/curl > > graphics/cairo > > local/vmserver-baseline > > mail/postfix > > print/hplip > > sysutils/facter > > sysutils/puppet6 > > sysutils/rsyslog8 > > sysutils/rubygem-puppetserver-ca > > www/apt-cacher-ng > > www/mod_log_sql > > > > > > > ___ > > > freebsd-ports@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to > > > "freebsd-ports-unsubscr...@freebsd.org" > > ___ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > > > > > -- > Dan Langille > d...@langille.org > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscri
Re: Problem building py-cryptography
On Thu, May 20, 2021, at 7:18 PM, Simon Wright wrote: > Thanks Kubs, I'm travelling at the moment and will check further when I'm > back home. The original build log was with libressl and ccache. I'll > repeat without both and attach a new build log. FYI, I have build failures here today, based on FreeBSD 11.4. Builds fine on 12.2 though. https://services.unixathome.org/poudriere/data/114R-dvl/2021-05-21_13h56m56s/logs/errors/py38-cryptography-2.9.2.log ===> FAILED Applying FreeBSD patch-Fix-build-with-LibreSSL-3.3.2-5988 ===> FAILED to apply cleanly FreeBSD patch(es) patch-Fix-build-with-LibreSSL-3.3.2-5988 For me, on 11.4, fixed with: rm py-cryptography/files/patch-Fix-build-with-LibreSSL-3.3.2-5988 With that file removed, 12.2 does not build. hope this helps. > > Apologies for the top post. > > Regards, > > Simon. > > 20 May 2021 13:50:54 Kubilay Kocak : > > > On 20/05/2021 2:17 pm, Simon Wright wrote: > >> On 20/05/2021 12:00 pm, Kubilay Kocak wrote: > >>> On 20/05/2021 1:21 pm, Simon Wright wrote: > Hi all, > > I've been unable to build security/py-cryptography for about 10 days > now. The build in Poudriere under 12.2 and 13.0 fail with a > "Bad_C++_code" error. > > I tried removing the libressl dependency but that made no > difference. Is > anyone else seeing this and can anyone point me in the right > direction > to get this fixed please? > > Below is my make.conf, list of poudriere-built ports and the full > poudriere log for py-cryptography > > >>> > >>> Hi Simon, > >>> > >>> Is the issue reproducible without ccache? > >>> > >>> Also, make.conf still shows: > >>> > >>> DEFAULT_VERSIONS+=ssl=libressl > >>> > >> Thanks Kubs. When I tested I removed libressl, tried the build again > >> and > >> it failed so I replaced libressl after the test. > >> Removing ccache (and with libressl) made no difference - still the > >> same > >> error. I then removed the libressl dependency and I reran the build - > >> no > >> ccache and no libressl - the build still failed, same error message. > >> Since no-one else has reported this I suppose it should be something > >> in > >> my environment . . . . But what? :) > > > > While the build error *with libressl* is known, matching that reported > > in: > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 > > > > Failing to build without libressl is unexpected. > > > > Jump into the poudriere jail to confirm (or not) its libressl that's > > being installed and used. Could be: > > > > - Custom WRKDIRPREFIX? > > - An overriding jail or set (-z) specific poudriere foo-make.conf? > > > > Note, the OP build log contains: > > > > [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... > > [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: > > > > With defaults, base openssl will be used, and you wont see libressl as > > a dependency in the build. > > > > [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: > > error: > > expected identifier or '(' > > static const long SSL_OP_NO_DTLSv1 = 0; > > > >> Regards, > >> Simon. > >> > > > make.conf > > WRKDIRPREFIX=/usr/tmp > OPTIONS_SET=GECKO CUPS > NOI4B=1 > OPTIONS_SET+=NO-X11 > CUPS_OVERWRITE_BASE=YES > WITH_VIM_OPTIONS=yes > DEFAULT_VERSIONS+=ssl=libressl bdb=5 > VALID_CATEGORIES+=local > SVN=svnlite > > > Poudriere ports list: > > devel/git@lite > dns/bind916 > emulators/open-vm-tools@nox11 > ftp/curl > graphics/cairo > local/vmserver-baseline > mail/postfix > print/hplip > sysutils/facter > sysutils/puppet6 > sysutils/rsyslog8 > sysutils/rubygem-puppetserver-ca > www/apt-cacher-ng > www/mod_log_sql > > > > ___ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to > > "freebsd-ports-unsubscr...@freebsd.org" > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > -- Dan Langille d...@langille.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
Thanks Kubs, I'm travelling at the moment and will check further when I'm back home. The original build log was with libressl and ccache. I'll repeat without both and attach a new build log. Apologies for the top post. Regards, Simon. 20 May 2021 13:50:54 Kubilay Kocak : On 20/05/2021 2:17 pm, Simon Wright wrote: On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) While the build error *with libressl* is known, matching that reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 Failing to build without libressl is unexpected. Jump into the poudriere jail to confirm (or not) its libressl that's being installed and used. Could be: - Custom WRKDIRPREFIX? - An overriding jail or set (-z) specific poudriere foo-make.conf? Note, the OP build log contains: [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: With defaults, base openssl will be used, and you wont see libressl as a dependency in the build. [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: error: expected identifier or '(' static const long SSL_OP_NO_DTLSv1 = 0; Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
Thanks Kubs, I'm travelling at the moment and will check further when I'm back home. The original build log was with libressl and ccache. I'll repeat without both and attach a new build log. Apologies for the top post. Regards, Simon. 20 May 2021 13:50:54 Kubilay Kocak : On 20/05/2021 2:17 pm, Simon Wright wrote: On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) While the build error *with libressl* is known, matching that reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 Failing to build without libressl is unexpected. Jump into the poudriere jail to confirm (or not) its libressl that's being installed and used. Could be: - Custom WRKDIRPREFIX? - An overriding jail or set (-z) specific poudriere foo-make.conf? Note, the OP build log contains: [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: With defaults, base openssl will be used, and you wont see libressl as a dependency in the build. [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: error: expected identifier or '(' static const long SSL_OP_NO_DTLSv1 = 0; Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
On 20/05/2021 2:17 pm, Simon Wright wrote: On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) While the build error *with libressl* is known, matching that reported in: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255241 Failing to build without libressl is unexpected. Jump into the poudriere jail to confirm (or not) its libressl that's being installed and used. Could be: - Custom WRKDIRPREFIX? - An overriding jail or set (-z) specific poudriere foo-make.conf? Note, the OP build log contains: [pkg.home.santos-wright.net] | | `-- Installing libressl-3.3.3... [pkg.home.santos-wright.net] | | `-- Extracting libressl-3.3.3: With defaults, base openssl will be used, and you wont see libressl as a dependency in the build. [1] build/temp.freebsd-13.0-RELEASE-amd64-3.8/_openssl.c:2172:19: error: expected identifier or '(' static const long SSL_OP_NO_DTLSv1 = 0; Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
On 20/05/2021 12:00 pm, Kubilay Kocak wrote: On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl Thanks Kubs. When I tested I removed libressl, tried the build again and it failed so I replaced libressl after the test. Removing ccache (and with libressl) made no difference - still the same error. I then removed the libressl dependency and I reran the build - no ccache and no libressl - the build still failed, same error message. Since no-one else has reported this I suppose it should be something in my environment . . . . But what? :) Regards, Simon. make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: Problem building py-cryptography
On 20/05/2021 1:21 pm, Simon Wright wrote: Hi all, I've been unable to build security/py-cryptography for about 10 days now. The build in Poudriere under 12.2 and 13.0 fail with a "Bad_C++_code" error. I tried removing the libressl dependency but that made no difference. Is anyone else seeing this and can anyone point me in the right direction to get this fixed please? Below is my make.conf, list of poudriere-built ports and the full poudriere log for py-cryptography Thanks, Simon Wright. Hi Simon, Is the issue reproducible without ccache? Also, make.conf still shows: DEFAULT_VERSIONS+=ssl=libressl make.conf WRKDIRPREFIX=/usr/tmp OPTIONS_SET=GECKO CUPS NOI4B=1 OPTIONS_SET+=NO-X11 CUPS_OVERWRITE_BASE=YES WITH_VIM_OPTIONS=yes DEFAULT_VERSIONS+=ssl=libressl bdb=5 VALID_CATEGORIES+=local SVN=svnlite Poudriere ports list: devel/git@lite dns/bind916 emulators/open-vm-tools@nox11 ftp/curl graphics/cairo local/vmserver-baseline mail/postfix print/hplip sysutils/facter sysutils/puppet6 sysutils/rsyslog8 sysutils/rubygem-puppetserver-ca www/apt-cacher-ng www/mod_log_sql ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"