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#48469 - [makepkg] Fails on new installs as base-devel is missing

Attached to Project: Pacman
Opened by Adam Nielsen (Malvineous) - Sunday, 06 March 2016, 05:42 GMT
Last edited by Allan McRae (Allan) - Sunday, 06 March 2016, 05:43 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The Arch install guide <https://wiki.archlinux.org/index.php/Installation_guide> says to use pacstrap to set up the system, however this does not install base-devel. makepkg assumes base-devel is installed, and breaks without explanation if it is missing.

I see this as a bug because a user setting up a new Arch system and in the process trying to download an AUR package will not be able to, and it is not clear why the process is broken.

I think that rather than have pacstrap install base-devel, makepkg should test to see whether base-devel has been installed and warn if it hasn't. makepkg already tests for things like whether sudo is present, so this additional check should have minimal impact. You could even solve it by changing the strip error message (below) to suggest installing base-devel.


Additional info:
* package version: pacstrap 15-1, pacman 5.0.1-2


Steps to reproduce:

1. Use pacstrap to set up a new system
2. Run makepkg on any PKGBUILD
3. See this error:

==> ERROR: Cannot find the strip binary required for object file stripping.

4. Figure out "strip" is in binutils, install it, rerun makepkg
5. See this error:

==> Entering fakeroot environment...
/usr/bin/makepkg: line 170: fakeroot: command not found

6. And so on.
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 06 March 2016, 05:43 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Sunday, 06 March 2016, 05:45 GMT
This suggestion is Arch Linux specific, and so will not be included in the makepkg/pacman code.

Loading...