You are not logged in.

#1 2015-04-01 14:24:43

yuan_modu
Member
Registered: 2014-07-09
Posts: 3

[SOLVED] Building VCS packages from AUR fails

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

#2 2015-04-01 14:38:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Building VCS packages from AUR fails

Do you have git and svn on your live system (ie, not in the chroot)?

Offline

#3 2015-04-01 14:39:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,650
Website

Re: [SOLVED] Building VCS packages from AUR fails

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.

Offline

#4 2015-04-01 19:24:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Building VCS packages from AUR fails

Known bug... and open for quite a while now... https://bugs.archlinux.org/task/39097

Offline

#5 2015-04-02 03:18:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Building VCS packages from AUR fails

Actually,graysky, it's a different error message, so I'm thinking WorMzy might be on to something.

Offline

#6 2015-04-02 08:57:37

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Building VCS packages from AUR fails

I see that now...

Offline

#7 2015-04-02 12:42:46

yuan_modu
Member
Registered: 2014-07-09
Posts: 3

Re: [SOLVED] Building VCS packages from AUR fails

Scimmia wrote:

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.

WorMzy wrote:

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.

graysky wrote:

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

#8 2015-04-02 12:55:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [SOLVED] Building VCS packages from AUR fails

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

#9 2015-04-02 13:03:23

yuan_modu
Member
Registered: 2014-07-09
Posts: 3

Re: [SOLVED] Building VCS packages from AUR fails

Trilby wrote:

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

Board footer

Powered by FluxBB