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#24435 - [makepkg] installs checkdepends before building

Attached to Project: Pacman
Opened by Rémy Oudompheng (remyoudompheng) - Wednesday, 25 May 2011, 05:30 GMT
Last edited by Allan McRae (Allan) - Monday, 05 December 2011, 00:52 GMT
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
makepkg installs checkdepends before the build() step. This makes building in clean chroot pointless, since the chroot system will be polluted by possibly heavy dependencies. For example, graphical libraries might need a X server for tests, where it's not a dependency.

Steps to Reproduce:
Run makepkg with non-empty checkdepends
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 05 December 2011, 00:52 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See final comment
Comment by Dan McGee (toofishes) - Wednesday, 01 June 2011, 21:35 GMT
Interesting thought and good idea. Unfortunately, the biggest drawback to doing this is having a build interrupted halfway through with sudo or something prompting for your password. The current violation of the "no questions once the long part starts" is already bad enough with the gpg prompt, and adding another one seems like a step backwards in that regard.
Comment by Allan McRae (Allan) - Thursday, 02 June 2011, 00:11 GMT
The having to stop and check dependencies in the middle of a makepkg run (and potentially fail...) is why I never did that check separately. Also, I assume that most developers of software actually have the checkdepends on their systems while developing so they really should not pollute the build processes.
Comment by Allan McRae (Allan) - Monday, 05 December 2011, 00:52 GMT
I'm going to close this as "Not a bug". If someone can point out a piece of software that builds differently when the packages needed to run its test-suite are installed vs. not installed, then I will reopen.

Loading...