Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2023 08:53:18 +0200 (CEST)
From:      freebsd@oldach.net (Helge Oldach)
To:        ports@lordcow.org (Gareth de Vaux)
Cc:        freebsd-ports@freebsd.org
Subject:   Re: dns/bind916 builds rust unexpectedly
Message-ID:  <202309260653.38Q6rISB011933@nuc.oldach.net>
In-Reply-To: <ZRGiDj-esOAc9K_Z@lordcow.org> from Gareth de Vaux at "25 Sep 2023 17:06:54"

next in thread | previous in thread | raw e-mail | index | archive | help
Gareth de Vaux wrote on Mon, 25 Sep 2023 17:06:54 +0200 (CEST):
> Hi all, I've just upgraded bind916 which brought half my system down since
> it suddenly required a mountain of python packages and rust which needed
> around 13GB (and hours) to build - space which I didn't have nor have ever
> remotely expected to need for a ports build.
> 
> My bind configuration options are basically the defaults:
> 
> # grep OPTIONS_FILE_SET /var/db/ports/dns_bind916/options
> OPTIONS_FILE_SET+=IDN
> OPTIONS_FILE_SET+=JSON
> OPTIONS_FILE_SET+=LMDB
> OPTIONS_FILE_SET+=MANPAGES
> OPTIONS_FILE_SET+=TCP_FASTOPEN
> OPTIONS_FILE_SET+=GSSAPI_NONE
> OPTIONS_FILE_SET+=DLZ_FILESYSTEM
> 
> These are the top level dependencies:
> 
> # make -C /usr/ports/dns/bind916 build-depends-list
> /usr/ports/ports-mgmt/pkg
> /usr/ports/textproc/py-sphinx
> /usr/ports/devel/pkgconf
> /usr/ports/security/openssl
> /usr/ports/converters/libiconv
> /usr/ports/devel/libuv
> /usr/ports/textproc/libxml2
> /usr/ports/dns/libidn2
> /usr/ports/devel/json-c
> /usr/ports/databases/lmdb
> /usr/ports/devel/libedit
> 
> Does anyone know which option/dependency is causing this? I suspect
> MANPAGES -> py-sphinx since it has 'py' but who knows. Which itself would
> be crazy that just a manpage would trigger this kind of intense build.
> 

Indeed, it's py-sphinx, requiring py-openssl at some stage, which is in
turn requiring py-cryptography which needs rust.

DEFAULT_VERSIONS+=pycryptography=legacy

in make.conf fixed this BS for me. Beware of the dogs, you might get
bitten by software that requires the new py-cryptography - I did stumble
over py-certbot and py-awscli for example.

Kind regards
Helge



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309260653.38Q6rISB011933>