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
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
|
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
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.