Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169013 - sys-apps/paludis does not handle URL with svn+ssh correctly
Summary: sys-apps/paludis does not handle URL with svn+ssh correctly
Status: RESOLVED DUPLICATE of bug 153227
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 15:22 UTC by Pat Double
Modified: 2007-03-02 20:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Double 2007-03-02 15:22:22 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 15:38:20 UTC
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: 
Comment 2 Pat Double 2007-03-02 16:26:13 UTC
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.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2007-03-02 20:22:54 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 20:25:05 UTC

*** This bug has been marked as a duplicate of bug 153227 ***