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#34488 - [makepkg] fails downloading source
Attached to Project:
Pacman
Opened by Christian Hesse (eworm) - Wednesday, 27 March 2013, 07:15 GMT
Last edited by Allan McRae (Allan) - Friday, 29 March 2013, 23:38 GMT
Opened by Christian Hesse (eworm) - Wednesday, 27 March 2013, 07:15 GMT
Last edited by Allan McRae (Allan) - Friday, 29 March 2013, 23:38 GMT
|
DetailsHaving these sources in a PKGBUILD:
source=('git://git.xfce.org/panel-plugins/xfce4-clipman-plugin' 'http://www.eworm.de/download/linux/xfce4-clipman-plugin-qrcode.patch') makepkg fails downloading the patch: mv: cannot stat ‘$SRCDEST/xfce4-clipman-plugin-qrcode.patch.part’: No such file or directory Actually it does download the file to $SRCDEST/xfce4-clipman-plugin/xfce4-clipman-plugin-qrcode.patch.part (into the bare git repository) but forgets about this path. My proposed fix is to give an absolute path to dlcmd. Note that mv uses an absolute path later on. |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 29 March 2013, 23:38 GMT
Reason for closing: Fixed
Additional comments about closing: git commit a6291858
Friday, 29 March 2013, 23:38 GMT
Reason for closing: Fixed
Additional comments about closing: git commit a6291858
makepkg.patch
For me this happened for a lot of packages until I noticed I had a lot of *.part files in my git repositories.
Can you post the git version you are using (makepkg -V) and the build output?
makepkg (pacman) 4.1.0rc1-35-g38f0
Copyright (c) 2006-2013 Pacman Development Team <pacman-dev@archlinux.org>.
Copyright (C) 2002-2006 Judd Vinet <jvinet@zeroflux.org>.
This is free software; see the source for copying conditions.
There is NO WARRANTY, to the extent permitted by law.
# makepkg
==> Making package: xfce4-clipman-plugin-git 2012.11.23-1 (Wed Mar 27 09:13:03 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating xfce4-clipman-plugin git repo...
Fetching origin
-> Downloading xfce4-clipman-plugin-qrcode.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13075 100 13075 0 0 4254 0 0:00:03 0:00:03 --:--:-- 4256
mv: cannot stat ‘/var/repo/src/xfce4-clipman-plugin-qrcode.patch.part’: No such file or directory
==> Validating source files with sha256sums...
xfce4-clipman-plugin ... Skipped
xfce4-clipman-plugin-qrcode.patch ... NOT FOUND
==> ERROR: One or more files did not pass the validity check!
I have
SRCDEST="/var/repo/src"
in make config.
To expose this bug - build package, delete the patch file and the rebuild the package. It seems that after updating the git repo, we do not go back to the right directory.