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#9097 - makepkg can't handle tar files unless tar is installed
Attached to Project:
Pacman
Opened by Fredrik (vEX) - Friday, 04 January 2008, 23:05 GMT
Last edited by Dan McGee (toofishes) - Friday, 04 January 2008, 23:30 GMT
Opened by Fredrik (vEX) - Friday, 04 January 2008, 23:05 GMT
Last edited by Dan McGee (toofishes) - Friday, 04 January 2008, 23:30 GMT
|
DetailsSummary and Info:
makepkg can't extract tar-files without having tar installed. Even so pacman doesn't even depend on tar and it's clearly used by makepkg: ==> Extracting Sources... -> tar -xf teewars-0.3.2-src.tar.gz /usr/bin/makepkg: line 831: tar: command not found Also, for zip-files it will just fail silently and you won't notice anything until you try to access the files you thought were unzipped. Perhaps it should depend on unzip as well? This snippet from makepkg shows that unzip is used for zip-files: *application/x-zip*) unziphack=1 cmd="unzip -qqo $file" ;; Not sure why I don't get any error about unzip not being found though. $ pacman -Q pacman fakeroot tar unzip pacman 3.0.6-2 fakeroot 1.8.10-1 error: package "tar" not found error: package "unzip" not found Steps to Reproduce: 'pacman -R tar' and try to build a package which have a file in the source array that's a tar of some sort (be it plain tar or compressed). |
This task depends upon
Closed by Dan McGee (toofishes)
Friday, 04 January 2008, 23:30 GMT
Reason for closing: Fixed
Additional comments about closing: Dependencies should be right in pacman 3.1 with switch to bsdtar usage.
Friday, 04 January 2008, 23:30 GMT
Reason for closing: Fixed
Additional comments about closing: Dependencies should be right in pacman 3.1 with switch to bsdtar usage.
That said, makepkg 3.1 no longer depends on tar/unzip/etc. as it uses bsdtar for all zipping purposes which can handle all of these formats.
Closing unless there are other objections.