You are not logged in.
Hello,
Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
==> ERROR: Unknown download protocol: svn
Aborting...When the build starts, makepkg actually downloads source files properly. Any clues?
Last edited by yuan_modu (2015-04-02 16:31:03)
Offline
Do you have git and svn on your live system (ie, not in the chroot)?
Offline
Have you got any .pacnew files in /usr/share/devtools/? If so, merge them with their namesakes.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Known bug... and open for quite a while now... https://bugs.archlinux.org/task/39097
Offline
Actually,graysky, it's a different error message, so I'm thinking WorMzy might be on to something.
Offline
I see that now...
Offline
Do you have git and svn on your live system (ie, not in the chroot)?
Yes, they are installed. I can even compile the packages properly on my live system. I used to compile that very packages on the same system but after some system update I did now failing.
Have you got any .pacnew files in /usr/share/devtools/? If so, merge them with their namesakes.
No, don't have. I usually merge the updated conf files shipped with new packages using meld anyway. But I doubt if I did the same for clean chroot env files. Will check now.
Known bug... and open for quite a while now... https://bugs.archlinux.org/task/39097
It seems my error message is different as mentioned.
Offline
How many packages has this happened with? Can you give an example of one that produces this error? If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How many packages has this happened with? Can you give an example of one that produces this error? If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
Indeed I didn't merge the conf files of clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
VCSCLIENTS=('bzr::bzr'
'git::git'
'hg::mercurial'
'svn::subversion')and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
Last edited by yuan_modu (2015-04-02 13:08:21)
Offline