Date: Sun, 25 Dec 2016 17:54:20 +0100 From: Stefan Ehmann <shoesoft@gmx.net> To: Jan Beich <jbeich@freebsd.org>, rene@freebsd.org Cc: ports@freebsd.org Subject: Re: poudriere ignores stored options after r429298 Message-ID: <2519f39f-96e7-4985-23fa-41df696ba327@gmx.net> In-Reply-To: <20161225060803.8DB1723A9@freefall.freebsd.org> References: <20161225060803.8DB1723A9@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25.12.2016 07:08, Jan Beich wrote: > René Ladan <rene@freebsd.org> writes: > >> On 24-12-2016 10:09, Stefan Ehmann wrote: >> >>> After today's ports update, poudriere ignores all options that were >>> previously stored. >>> >>> Everything works as before after reverting r429298 "Make the ports >>> infrastructure accept at least 3 level ports" >>> >>> Previously, poudriere stored its options for python27 in >>> /usr/local/etc/poudriere.d/options/lang_python27 >>> >>> Now options are stored in >>> /usr/local/etc/poudriere.d/options/_usr_ports_lang_python27 >> >> Hmm, it should still store options in the old directory, or did we >> overlook something? ... >>> root@e17:/usr/local/etc/poudriere.d/options/lang_python27 # ls -l >>> total 5 >>> -rw-r--r-- 1 root wheel 406 24 dec. 15:32 options >> >> What do 'make -V PKGORIGIN' and 'make -V OPTIONS_NAME' tell? > > Perhaps, poudriere invoked |make config| outside of jail where PORTSDIR > has a different value. Seems like a good guess: poudriere sets (at least on my setup) PORTSDIR=/usr/ports/) when invoking make config Old behavior: $ make PORTSDIR=/usr/ports/ -V PKGORIGIN lang/python27 $ make PORTSDIR=/usr/ports/ -V OPTIONS_NAME lang_python27 With D8889.diff applied: $ make PORTSDIR=/usr/ports/ -V PKGORIGIN /usr/ports/lang/python27 $ make PORTSDIR=/usr/ports/ -V OPTIONS_NAME _usr_ports_lang_python27
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2519f39f-96e7-4985-23fa-41df696ba327>