FS#19935 - [makepkg] aborts if the 'let' keyword is used in PKGBUILD
Attached to Project:
Pacman
Opened by Giuseppe Borzi (gborzi) - Wednesday, 23 June 2010, 21:54 GMT
Last edited by Allan McRae (Allan) - Thursday, 24 June 2010, 01:17 GMT
Opened by Giuseppe Borzi (gborzi) - Wednesday, 23 June 2010, 21:54 GMT
Last edited by Allan McRae (Allan) - Thursday, 24 June 2010, 01:17 GMT
|
Details
Description: makepkg aborts if the 'let' keyword is used in
PKGBUILD. The only message given is 'Aborting...'
This is possibly due to the -e option given to bash in makepkg. In fact, let <expression> returns a npn-zero status when <expression> evaluates to zero. Additional info: * package version(s) pacman 3.4.0-2 * config and/or log files etc. Steps to reproduce: take any PKGBUILD and add a 'let x=0' statesmen in the build function. The run makepkg. |
This task depends upon
That's what I made to compile the octave-forge package from AUR. The maintainer of that package used another workaround.