The ports collection has some serious issues
matthew at FreeBSD.org
Sun Dec 18 16:44:02 UTC 2016
On 18/12/2016 14:18, Grzegorz Junka wrote:
> Isn't poudriere automatically saving the options file when building a
> new port with default options (i.e. when no options have been
> specified)? And also, aren't the selected options available in the
> resulted pkg file, so that synth could look them up there?
Poudriere will only save options settings if you run 'poudriere options
...' -- if you're trying to build a package and you've never set any
options for it, then poudriere will silently build using the default
options for that package. Similarly if the maintainer adds or removes
options on a port where you already set some options, poudriere will
just quietly build using the default value of any new options.
On the other hand, if you do modify options, or if the default options
settings change in the ports, poudriere will recognise this the next
time you run a 'poudriere bulk ...' or similar and will add the packages
with changed options to the rebuild queue.
Yes, the resulting pkg contains information about the options settings.
You can see this in the --full or --raw output from pkg-info(8), but it
seems there is no flag to pkg-info(8) to print out just the options
settings. To do that, use pkg-query(8):
# pkg query '%Ok %Ov' postfix
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 931 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports