Re: Problem building py-cryptography

From: Simon Wright <simon.wright_at_gmx.net>
Date: Sat, 22 May 2021 23:59:14 UTC
Hi Charlie,

Thanks for this. My ports tree is synched to the package server for
amd64-default, ie. b093791110

I'm not mixing SSL's, here again are my make.conf files:

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.

Once this poudriere run is complete (probably another couple of hours),
if it succeeds I'll update all my boxes with the new ports using base
openssl instead of libressl then update the ports tree and start another
build with libressl to see how it goes with your commit.

--
Regards,

Simon.

On 23/05/2021 1:05 am, Charlie Li wrote:
> 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.
>