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#15323 - makepkg doesn't work with source files with '%' or space in their names
Attached to Project:
Pacman
Opened by Davorin Učakar (phantom) - Tuesday, 30 June 2009, 18:42 GMT
Last edited by Allan McRae (Allan) - Thursday, 16 July 2009, 02:56 GMT
Opened by Davorin Učakar (phantom) - Tuesday, 30 June 2009, 18:42 GMT
Last edited by Allan McRae (Allan) - Thursday, 16 July 2009, 02:56 GMT
|
DetailsIf a souce file name has space in it's name, bsdtar treats it as two separate parameters.
If it has '%' in file name, a printf used to print makepkg progress expects additional parameters and build fails, too. Example: try to build a package with source like: http://opendesktop.org/CONTENT/content-files/50534-fedora%20core%206%20inverse.tar.gz or http://opendesktop.org/CONTENT/content-files/50534-fedora core 6 inverse.tar.gz |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 16 July 2009, 02:56 GMT
Reason for closing: Fixed
Additional comments about closing: in git - commits 104daa16, caa0f220, 68c10690
Thursday, 16 July 2009, 02:56 GMT
Reason for closing: Fixed
Additional comments about closing: in git - commits 104daa16, caa0f220, 68c10690
(where 'x' is cartesian product :)). Every time it fails either downloading, bsdtar or printf.
I haven't tried Dan's patches yet.
dlcmd="/usr/bin/wget -c -t 3 --waitretry=3 -O \"50534-fedora core 6 inverse.tar.gz.part\" \"http://opendesktop.org/CONTENT/content-files/50534-fedora core 6 inverse.tar.gz\""
$dlcmd || return $?
Doing an "echo $dlcmd" and copying and pasting the output works, but the line running $dlcmd fails. wget trys downloading multiple files, splitting at the spaces.
The attached patch complete the fixes needed for this bug. All patches are on my working branch.