poudriere ignores stored options after r429298

Stefan Ehmann shoesoft at gmx.net
Sun Dec 25 16:54:31 UTC 2016


On 25.12.2016 07:08, Jan Beich wrote:
> René Ladan <rene at 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 at 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


More information about the freebsd-ports mailing list