FS#16219 - makepkg depends on awk

Attached to Project: Arch Linux
Opened by Emil Renner Berthing (Esmil) - Wednesday, 16 September 2009, 19:57 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 16 September 2009, 23:06 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The makepkg script in the pacman package needs awk to work.

Additional info:
Applies to the pacman 3.3.0-3 package.

Steps to reproduce:

pacman -R gawk
makepkg -g
This task depends upon

Closed by  Dan McGee (toofishes)
Wednesday, 16 September 2009, 23:06 GMT
Reason for closing:  Won't fix
Comment by Roman Kyrylych (Romashka) - Wednesday, 16 September 2009, 20:13 GMT
gawk is part of base group so it is supposed to be installed anyway unless you know what you are doing.
Most of packages do not include their dependencies on packages from base group, though some do include such packages in depends array.

@Dan: what's the decisson on this specific case here?
Comment by Emil Renner Berthing (Esmil) - Wednesday, 16 September 2009, 21:02 GMT
No, please don't take it this way.

This bug report is not meant to say you're bad at mantaining packages, I just want to make it better.
Of course there is no need to make a -4 package and rebuild. Just fix it in trunk and wait till
the package needs to be updated anyway.

Packages should depend on what they need. What I like about this distro is that it makes it easy for us hackers,
who likes to tinker. If you're telling me I need to have all packages in the base group installed,
which include all sorts of stuff I'll never need, then what makes Arch different from any other
"our way or lots of pain"-distro?
Comment by Emil Renner Berthing (Esmil) - Wednesday, 16 September 2009, 22:18 GMT
Ohh, and while I'm at it, the makepkg script needs the file package too.
Comment by Alessandro Doro (adoroo) - Wednesday, 16 September 2009, 22:28 GMT
ahem... I'm sure that gawk is installed in every "sane" system.

$ LANG=C pacman -Qi gawk | grep Required
Required By : autoconf initscripts sysvinit

$ LANG=C pacman -Qi file | grep Required
Required By : cdrkit mkinitcpio
Comment by Emil Renner Berthing (Esmil) - Wednesday, 16 September 2009, 22:37 GMT
I have a small server, thats too slow to build anything on (-autoconf),
uses runit as init system (-initscripts, -sysvinit),
and has a custom kernel (-mkinitcpio).

Ohh, and of course I don't burn CDs from it.
Comment by Dan McGee (toofishes) - Wednesday, 16 September 2009, 23:06 GMT
You know what else it needs? Everything listed in the script itself.

$ grep -A 4 'makepkg uses' /usr/bin/makepkg
# makepkg uses quite a few external programs during its execution. You
# need to have at least the following installed for makepkg to function:
# awk, bsdtar (libarchive), bzip2, coreutils, fakeroot, find (findutils),
# getopt (util-linux), gettext, grep, gzip, openssl, sed

Loading...