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#23524 - [makepkg] presence of backslash in optdepends array produce error
Attached to Project:
Pacman
Opened by Eric Belanger (Snowman) - Wednesday, 30 March 2011, 23:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 09 April 2011, 22:22 GMT
Opened by Eric Belanger (Snowman) - Wednesday, 30 March 2011, 23:57 GMT
Last edited by Dan McGee (toofishes) - Saturday, 09 April 2011, 22:22 GMT
|
DetailsIf you have backslash in the optdepends array to escape the newline like so:
optdepends=('ghostscript: for Ghostscript support' \ 'openexr: for OpenEXR support' \ 'libwmf: for WMF support' \ 'librsvg: for SVG support' \ 'libxml2: for XML support' \ 'jasper: for JPEG-2000 support' \ 'libpng: for PNG support') then makepkg abort with the following error: $ makepkg ==> ERROR: Invalid syntax for optdepend : ' openexr: for OpenEXR support' ==> ERROR: Invalid syntax for optdepend : ' libwmf: for WMF support' ==> ERROR: Invalid syntax for optdepend : ' librsvg: for SVG support' ==> ERROR: Invalid syntax for optdepend : ' libxml2: for XML support' ==> ERROR: Invalid syntax for optdepend : ' jasper: for JPEG-2000 support' ==> ERROR: Invalid syntax for optdepend : ' libpng: for PNG support' I suppose it's a parsing issue. |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 09 April 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 37df0d4f4fb042f8fb
Saturday, 09 April 2011, 22:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 37df0d4f4fb042f8fb
-e 's/\\$//'
to the end of the sed expression...