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#12344 - If dotglob set in PKGBUILD, .PKGINFO is included twice in resulting package file
Attached to Project:
Pacman
Opened by Thayer Williams (thayer) - Thursday, 04 December 2008, 19:19 GMT
Last edited by Dan McGee (toofishes) - Saturday, 03 January 2009, 05:36 GMT
Opened by Thayer Williams (thayer) - Thursday, 04 December 2008, 19:19 GMT
Last edited by Dan McGee (toofishes) - Saturday, 03 January 2009, 05:36 GMT
|
DetailsSummary and Info:
If 'shopt -s dotglob' is set within a PKGBUILD, a .PKGINFO is included twice in the resulting package file. The db scripts will then read it twice and assume the package is built for the wrong architecture (i686 i686). The solution is to reset the shell option at the end of build(): shopt -u dotglob An example can be found in the gtk2-themes-collection package. |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 03 January 2009, 05:36 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 59776ef3
Saturday, 03 January 2009, 05:36 GMT
Reason for closing: Fixed
Additional comments about closing: Commit 59776ef3
2. run build()
3. eval the previously stored output
Should be low-hanging fruit here if someone wants to make a patch for this.