Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#73507 - [pacman] 6.0.1-3 should depend on gawk

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Wednesday, 26 January 2022, 07:50 GMT
Last edited by Toolybird (Toolybird) - Sunday, 07 August 2022, 06:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Pacman should depend on gawk, cause pacman-key uses it.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 07 August 2022, 06:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  pacman 6.0.1-7
Comment by Andreas Radke (AndyRTR) - Wednesday, 26 January 2022, 09:16 GMT
Gawk is part of "base" pkg and expected to be installed on every system.
Comment by Tobias Powalowski (tpowa) - Wednesday, 26 January 2022, 09:55 GMT
gawk:
groups : base-devel
Comment by AK (Andreaskem) - Wednesday, 26 January 2022, 10:55 GMT
$ pacman -Qi base | grep 'Depends On'
Depends On : filesystem gcc-libs glibc bash coreutils file findutils *gawk* grep procps-ng sed tar gettext pciutils psmisc shadow util-linux bzip2 gzip xz licenses pacman systemd systemd-sysvcompat iputils iproute2

Emphasis mine.
Comment by Levente Polyak (anthraxx) - Wednesday, 26 January 2022, 11:22 GMT
IMO its not about being in base-devel or base being mandatory (besides that base may in theory change at any point in time). Transitive dependency omitting is not a good technical practice for important runtime dependencies. The declaration is required in order to allow pacman actually do appropriate build order calculation based on a graph which is especially important for initial bootstrapping installation. Omitting first level runtime dependencies, especially such that may be used in install scriptlets may lead to all kind of funky issues. Taking this into account, I'm always in favor of first level dependency declaration and hence will add gawk as being essential for pacman-key.
Comment by Peter Mattern (krabat) - Sunday, 24 July 2022, 20:57 GMT
This was fixed in 6.0.1-7 via  FS#75377 . (The latter is an unfortunate duplicate, which I opened assuming the problem would belong to FS project pacman.)

Btw. that other report states a tiny example why, as Levente already pointed out, coverage of awk by base[-devel] isn't necessarily a fix for the problem.

Loading...