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#11766 - makepkg should emit a warning when base-devel is not installed

Attached to Project: Pacman
Opened by Nicolas Pouillard (ertai) - Thursday, 16 October 2008, 15:37 GMT
Last edited by Allan McRae (Allan) - Thursday, 16 October 2008, 16:00 GMT
Task Type Feature Request
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 3.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I think makepkg should emit a warning when base-devel is not installed, indeed it took me a while to understand some errors that where not directly related to the missing package (like when missing pkg-config, or even gcc/make when using loosy configure scripts).
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 16 October 2008, 16:00 GMT
Reason for closing:  Not a bug
Comment by Xavier (shining) - Thursday, 16 October 2008, 15:47 GMT
This can't be done at the makepkg level, because all pacman tools are supposed to be portable (across linux distribs and even OS). base-devel group is totally Arch specific.
One possibility would be to think about something on the installer side, to at least mention that group.
Also to make sure information about base-devel is easy to find in the Wiki and other documentations.

Otherwise you could add all the required tools to makedepends of PKGBUILD, but it would be very messy. And it is currently indeed assumed that users building packages have this group installed.
Comment by Allan McRae (Allan) - Thursday, 16 October 2008, 15:48 GMT
base-devel is an Arch specific concept so can not be used within makepkg. The ideal solution to this problems is to have all needed makedepends listed in PKGBUILDs... That is makepkg has the facilities to do this checking already but it is not used as most packagers assume basic developmental tools are installed.

Loading...