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.
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.
FS#32723 - [makepkg] Install makedepends before depends
Attached to Project:
Pacman
Opened by Jan Alexander Steffens (heftig) - Saturday, 17 November 2012, 00:27 GMT
Last edited by Allan McRae (Allan) - Thursday, 31 January 2019, 00:07 GMT
Opened by Jan Alexander Steffens (heftig) - Saturday, 17 November 2012, 00:27 GMT
Last edited by Allan McRae (Allan) - Thursday, 31 January 2019, 00:07 GMT
|
Detailsheftig : just thinking of a possible issue
heftig : say you're building a java app, and you want it to work on both jre6 and jre7. so you build with jre6 heftig : however depending on java-runtime makes it install jre7 first Support cases where a package depends on a 'virtual' package only provided by other packages, say java-runtime, but has to be built with a specific one. Then, doing something like "depends=(java-runtime) makedepends=(openjdk6)" will work as expected. |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 31 January 2019, 00:07 GMT
Reason for closing: None
Additional comments about closing: Using depends only in the package() function(s) allows this workflow.
Fix for --rmdeps implemented in 6cf0548128d6d1a8
Thursday, 31 January 2019, 00:07 GMT
Reason for closing: None
Additional comments about closing: Using depends only in the package() function(s) allows this workflow.
Fix for --rmdeps implemented in 6cf0548128d6d1a8
Otherwise it seems hard to get the build time dependencies only w/o installing run time dependencies first.
What do you think?
The use-case is already achievable by doing:
makedepends=(openjdk6)
package() {
depends=(java-runtime)
}
The only issues is that --rmdeps my bork if the --install flag is also used. This is a simple fix of adding --unneeded to the pacman call.