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#16871 - Split packages do not mix well with spaces in license name
Attached to Project:
Pacman
Opened by Devin Cofer (Ranguvar) - Tuesday, 27 October 2009, 23:46 GMT
Last edited by Allan McRae (Allan) - Wednesday, 11 November 2009, 00:12 GMT
Opened by Devin Cofer (Ranguvar) - Tuesday, 27 October 2009, 23:46 GMT
Last edited by Allan McRae (Allan) - Wednesday, 11 November 2009, 00:12 GMT
|
DetailsSummary and Info:
It appears as though if your license array in your PKGBUILD contains spaces, like: license=("custom:University of Illinois/NCSA Open Source License") and you are building split packages, makepkg will mess up on the latter's license. After running makepkg, looking at the .PKGINFO file for each package built will show that while the first has: license = custom:University of Illinois/NCSA Open Source License The second has: license = custom:University license = of license = Illinois/NCSA license = Open license = Source license = License This leads to the oddity that when you've installed both packages, the first package's pacman -Qi | grep Licenses: Licenses : custom:University of Illinois/NCSA Open Source License And the second package's pacman -Qi | grep Licenses: Licenses : custom:University of Illinois/NCSA Open Source License This might also cause trouble with submitting to AUR and such, I haven't tried. Attached is a PKGBUILD which demonstrates the problem. Look in pkg/{llvm,clang}/.PKGINFO, and try `pacman -Qi {llvm,clang} | grep Licenses` after you've installed both. |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 11 November 2009, 00:12 GMT
Reason for closing: Fixed
Additional comments about closing: Commit db756ed9
Wednesday, 11 November 2009, 00:12 GMT
Reason for closing: Fixed
Additional comments about closing: Commit db756ed9
PKGBUILD
A workaround is to specify the license in all package_foo functions.
http://projects.archlinux.org/users/allan/pacman.git/commit/?h=working&id=70d7a8ec55da2b958f3441f31e13e0f6e313b7aa