You are not logged in.
Hi,
I use makechrootpkg for a while without any issue, until today. I run into this error everytime i try to compile a package with makechrootpkg:
[user valentina-hg]$ makechrootpkg -c -r $CHROOT
==> Creating clean working copy [user]...done
==> Making package: valentina-hg r4337.847160e6d4af-1 (2017. ápr. 23., vasárnap, 23:07:13 CEST)
==> Retrieving sources...
-> Cloning valentina hg repo...
/usr/share/makepkg/source/hg.sh: line 45: hg: command not found
==> ERROR: Failure while downloading valentina hg repo
Aborting...
==> ERROR: Could not download sources.
and not only with mercurial, but with git too:
[user anbox-git]$ makechrootpkg -c -r $CHROOT
==> Creating clean working copy [user]...done
==> Making package: anbox-git 1:r468.76be0e2-1 (2017. ápr. 23., vasárnap, 23:18:20 CEST)
==> Retrieving sources...
-> Cloning anbox git repo...
/usr/share/makepkg/source/git.sh: line 45: git: command not found
==> ERROR: Failure while downloading anbox git repo
Aborting...
==> ERROR: Could not download sources.
I get this error even if I installed manually git/hg in the chroot and on a fresh installed VM too.
makepkg works properly
(Sorry for my bad english)
Offline
https://git.archlinux.org/devtools.git/ … kg.in#n268
No -s so it won't install git/mercurial on the host, even if they are mentioned in makedepends.
Last edited by Alad (2017-04-23 21:49:21)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
makechroot pkg automatically adds -s (makepkg_args)
I get the error above when I use the same command as the script to download the sources:
makepkg --verifysource
output:
[user anbox-git]$ makepkg --verifysource
==> Making package: anbox-git 1:r468.76be0e2-1 (2017. ápr. 24., hétfő, 07:28:12 CEST)
==> Retrieving sources...
-> Cloning anbox git repo...
/usr/share/makepkg/source/git.sh: line 45: git: command not found
==> ERROR: Failure while downloading anbox git repo
Aborting...
Offline
You need git or hg installed on the host system.
Offline
makechroot pkg automatically adds -s (makepkg_args)]
It runs makepkg twice, once to fetch the sources (on the host) and once to build the package (in the container). makepkg_args only applies to latter.
Last edited by Alad (2017-04-24 07:10:35)
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
I have git/hg/bzr/svn already installed on both host and chroot system
Offline
So the "git: command not found" error is magic?
Offline