Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#61661 - [pacman] makepkg.conf incorrectly claims default includes "!color"

Attached to Project: Pacman
Opened by James Harvey (jamespharvey20) - Thursday, 07 February 2019, 10:58 GMT
Last edited by Allan McRae (Allan) - Wednesday, 23 September 2020, 07:24 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 5.2.1
Due in Version 6.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
makepkg.conf::54 claims default includes "!color", but ::63 sets "color". Notably, devtools' makepkg-x86_64.conf correctly claims default includes "color".

Additional info:
* package version(s)
pacman 5.1.2-2
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 23 September 2020, 07:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit f235cea7330ec0ceb98c9474e7a8ea7fd27a3df2
Comment by Robin Broda (coderobe) - Thursday, 07 February 2019, 11:02 GMT
makepkg's default config != arch linux' default makepkg config
Comment by Dave Reisner (falconindy) - Thursday, 07 February 2019, 12:30 GMT
I mean, it's literally in the upstream makepkg.conf...

https://git.archlinux.org/pacman.git/tree/etc/makepkg.conf.in#n53

Specifically:

# Defaults: BUILDENV=(!distcc !color !ccache check !sign)

followed by:

BUILDENV=(!distcc color !ccache check !sign)

Bug report seems correct other than the off-by-one error and the odd reference to devtools.
Comment by Eli Schwartz (eschwartz) - Thursday, 07 February 2019, 15:20 GMT
https://git.archlinux.org/pacman.git/commit/?id=44f3a157983e903f926b4f11ddb3f57d111e60f9

As far as I can tell, the package correctly conforms to the upstream documentation. The makepkg defaults are indeed !color, and the makepkg.conf distribution-defined stock override is indeed "color".
Comment by Doug Newgard (Scimmia) - Thursday, 07 February 2019, 16:10 GMT
And yet *upstream* ships a makepkg.conf that overrides those defaults.
Comment by Eli Schwartz (eschwartz) - Thursday, 07 February 2019, 16:12 GMT
Ok -- good point, this is an upstream makepkg issue.
Comment by Allan McRae (Allan) - Thursday, 03 September 2020, 01:47 GMT
I think this is a terminology issue.

The makepkg.conf "Defaults" is referring to what makepkg will do if these options are not specified. Which is different to being the "default" value shipped in makepkg.conf.

Loading...