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