FS#55754 - makepkg.conf(5) doesn't give OPTIONS=(debug)'s default value
Attached to Project:
Pacman
Opened by Ralph Corderoy (RalphCorderoy) - Tuesday, 26 September 2017, 14:21 GMT
Last edited by Allan McRae (Allan) - Monday, 08 January 2018, 05:07 GMT
Opened by Ralph Corderoy (RalphCorderoy) - Tuesday, 26 September 2017, 14:21 GMT
Last edited by Allan McRae (Allan) - Monday, 08 January 2018, 05:07 GMT
|
Details
pacman 5.0.2-2's makepkg.conf(5) describes `OPTIONS=(...)'
and says it lists the default values.
It then describes each of the values. `debug' is the last to be described. Its default value is not in the header along with the others. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 08 January 2018, 05:07 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 44f3a157983e
Monday, 08 January 2018, 05:07 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 44f3a157983e
1) The manpage is misleading. Removing the OPTIONS array from /etc/makepkg.conf would not cause the defaults shown in the manpage to be assumed.
2) I don't see *any* default values listed for the given options.
You should simply assume that if an option is not explicitly enabled, it's disabled.
Similar logic applies to BUILDENV. I'll post a patch shortly.
EDIT: https://lists.archlinux.org/pipermail/pacman-dev/2017-September/022157.html