The subversion support does not handle svn+ssh (and others with +) URLs correctly. For this URL: svn+ssh://xxxxxxx@svn.gnome.org/svn/beagle/trunk/beagle I get errors like this: /var/paludis/repositories/gentoo/eclass/subversion.eclass: line 397: [[: svn.gnome.org/svn/beagle/trunk/beagle: syntax error: invalid arithmetic operator (error token is ".gnome.org/svn/beagle/trunk/beagle") Reproducible: Always Steps to Reproduce: 1. Create ebuild using SVN with URL like "svn+ssh", you don't actually need ssh access to the repo, the error happens before fetching starts.
Not the eclass... >>> Emerging (1 of 1) x11-wm/beryl-core-9999 to / * beryl-mesa-0.1.99.2.tar.bz2 MD5 ;-) ... [ ok ] * beryl-mesa-0.1.99.2.tar.bz2 RMD160 ;-) ... [ ok ] * beryl-mesa-0.1.99.2.tar.bz2 SHA1 ;-) ... [ ok ] * beryl-mesa-0.1.99.2.tar.bz2 SHA256 ;-) ... [ ok ] * beryl-mesa-0.1.99.2.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking beryl-mesa-0.1.99.2.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... * subversion check out start --> * repository: svn+ssh://svn.gentoo-xeffects.org/beryl/trunk/beryl-core The authenticity of host 'svn.gentoo-xeffects.org (72.36.223.122)' can't be established. RSA key fingerprint is 27:81:4b:9f:ca:53:d7:6d:b2:85:f9:f0:71:fe:85:b0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'svn.gentoo-xeffects.org,72.36.223.122' (RSA) to the list of known hosts. Password:
Not arguing against it being paludis, but when I use 'ebuild' I do get the error. 'ebuild' seems to be from portage. Note that I can still checkout from SVN, but I get the errors. ee-pdouble beagle # which ebuild /usr/bin/ebuild ee-pdouble beagle # ls -lth /usr/bin/ebuild lrwxrwxrwx 1 root root 25 2007-02-26 08:46 /usr/bin/ebuild -> ../lib/portage/bin/ebuild ee-pdouble beagle # head /usr/bin/ebuild #!/usr/bin/python -O # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-src/portage/bin/ebuild,v 1.18.2.3 2005/05/07 04:32:59 ferringb Exp $ ee-pdouble beagle # ebuild beagle-9999.ebuild unpack * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Mono support enabled in dev-libs/gmime, I will continue... >>> Unpacking source... /var/paludis/repositories/gentoo/eclass/subversion.eclass: line 397: [[: svn.gnome.org/svn/beagle/trunk/beagle: syntax error: invalid arithmetic operator (error token is ".gnome.org/svn/beagle/trunk/beagle") /var/paludis/repositories/gentoo/eclass/subversion.eclass: line 397: [[: svn.gnome.org/svn/beagle/trunk/beagle: syntax error: invalid arithmetic operator (error token is ".gnome.org/svn/beagle/trunk/beagle") /var/paludis/repositories/gentoo/eclass/subversion.eclass: line 397: [[: svn.gnome.org/svn/beagle/trunk/beagle: syntax error: invalid arithmetic operator (error token is ".gnome.org/svn/beagle/trunk/beagle") * subversion update start --> * repository: svn+ssh://pdouble@svn.gnome.org/svn/beagle/trunk/beagle At revision 3523. * working copy: /var/lib/portage/distfiles/svn-src/beagle/beagle * Applying beagle-0.2.7-crawltweek.patch ... [ ok ] >>> Source unpacked.
This has nothing to do with paludis. It's caused by the fix for bug #153227, which assumes that @ won't appear except to specify a revision.
*** This bug has been marked as a duplicate of bug 153227 ***