Gentoo Forums
Gentoo Forums
Quick Search: in
svn checkout works manually but not via emerge [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
roycrom
n00b
n00b


Joined: 22 Dec 2005
Posts: 36

PostPosted: Fri Jan 12, 2007 12:29 pm    Post subject: svn checkout works manually but not via emerge [SOLVED] Reply with quote

I am trying to emerge the masked beryl ebuild from xeffects overlay. I have modified my squid proxy to allow svn traffic by adding
Code:
extension_methods PROPFIND REPORT MERGE MKACTIVITY CHECKOUT

to squid.conf.

I added the proxy to ~/.subversion/servers

I checked out the overlay and that came down fine with this

Code:
svn co http://svn.gentoo-xeffects.org/xeffects/trunk /usr/local/overlays/xeffects


I am now trying to emerge beryl and I get this error -
Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] x11-wm/beryl-core-9999  0 kB [1]
[ebuild  N    ] x11-wm/heliodor-9999  0 kB [1]
[ebuild  N    ] x11-plugins/beryl-plugins-9999  USE="dbus vidcap" 0 kB [1]
[ebuild  N    ] dev-lang/yasm-0.4.0  USE="nls" 1,090 kB
[ebuild  N    ] x11-libs/seom-1.0.118  20 kB [1]
[ebuild  N    ] x11-plugins/beryl-vidcap-9999  0 kB [1]
[ebuild  N    ] x11-plugins/beryl-dbus-9999  0 kB [1]
[ebuild  N    ] x11-misc/beryl-settings-bindings-9999  0 kB [1]
[ebuild  N    ] x11-misc/beryl-settings-9999  0 kB [1]
[ebuild  N    ] x11-apps/xlsclients-1.0.1  USE="-debug" 73 kB
[ebuild  N    ] x11-apps/xvinfo-1.0.1  USE="-debug" 73 kB
[ebuild  N    ] x11-misc/beryl-manager-9999  0 kB [1]
[ebuild  N    ] x11-wm/beryl-9999  USE="gnome -kde" 0 kB [1]

Total size of downloads: 1,257 kB
Portage overlays:
 [1] /usr/local/overlays/xeffects
 [2] /usr/local/overlays/xgl
 [3] /usr/local/overlays/beryl

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 13) x11-wm/beryl-core-9999 to /
 * beryl-mesa-0.1.4.tar.bz2 MD5 ;-) ...                                   [ ok ]
 * beryl-mesa-0.1.4.tar.bz2 RMD160 ;-) ...                                [ ok ]
 * beryl-mesa-0.1.4.tar.bz2 SHA1 ;-) ...                                  [ ok ]
 * beryl-mesa-0.1.4.tar.bz2 SHA256 ;-) ...                                [ ok ]
 * beryl-mesa-0.1.4.tar.bz2 size ;-) ...                                  [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking beryl-mesa-0.1.4.tar.bz2 ;-) ...                              [ ok ]
>>> Unpacking source...
 * subversion check out start -->
 *      repository: http://svn.gentoo-xeffects.org/beryl/trunk/beryl-core
svn: PROPFIND request failed on '/beryl/trunk/beryl-core'
svn: PROPFIND of '/beryl/trunk/beryl-core': could not connect to server (http://svn.gentoo-xeffects.org)

!!! ERROR: x11-wm/beryl-core-9999 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  beryl-core-9999.ebuild, line 36:   Called subversion_src_unpack
  subversion.eclass, line 274:   Called subversion_fetch
  subversion.eclass, line 181:   Called die

!!! subversion.eclass: can't fetch from http://svn.gentoo-xeffects.org/beryl/trunk/beryl-core.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/overlays/xeffects'


It is like when I run svn from the command line, it uses the proxy, but when it is called through emerge, it doesn't.

How can I tell emerge to use the proxy from subversion?

Thanks for any help you can offer.

edit: found this thread - exactly the same problem but no solution http://forums.gentoo.org/viewtopic-t-514193-highlight-aquamarine.html


Last edited by roycrom on Fri Jan 12, 2007 1:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
roycrom
n00b
n00b


Joined: 22 Dec 2005
Posts: 36

PostPosted: Fri Jan 12, 2007 1:22 pm    Post subject: Solved Reply with quote

I have figured this out!!

When emerge tries to download via svn it creates directory /usr/portage/distfiles/svn-src

Within that directory is a .subversion directory containing all the configuration including your proxy host. These files are read when emerging instead of ~/.subversion/*

Emerge is now continuing...
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 7

PostPosted: Wed Oct 10, 2007 9:55 pm    Post subject: Worked for me! Reply with quote

Thank you 1000x's! My head hurts a lot less now. :>
Back to top
View user's profile Send private message
roycrom
n00b
n00b


Joined: 22 Dec 2005
Posts: 36

PostPosted: Thu Oct 11, 2007 5:13 pm    Post subject: Reply with quote

glad you found the post useful and thanks for the feedback :D
Back to top
View user's profile Send private message
wildhorse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2006
Posts: 148
Location: Estados Unidos De América

PostPosted: Mon Feb 18, 2008 5:53 pm    Post subject: Reply with quote

Just ran into the same problem. Thanks for the hint!

Too bad that svn cannot utilize the environment variable http_proxy.
But it is even worse that it creates /usr/portage/distfiles/svn-src. For temporary files it should use /var and configuration files should be in /etc.
What a mess. :roll:
Back to top
View user's profile Send private message
wildhorse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2006
Posts: 148
Location: Estados Unidos De América

PostPosted: Mon Feb 18, 2008 7:02 pm    Post subject: Reply with quote

My HTTP proxy server does not support PROPFIND. So this damn f***ing svn checkout does not work for me. :evil:
Back to top
View user's profile Send private message
roycrom
n00b
n00b


Joined: 22 Dec 2005
Posts: 36

PostPosted: Fri Feb 22, 2008 12:07 pm    Post subject: Reply with quote

What proxy server are you using?
Back to top
View user's profile Send private message
wildhorse
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2006
Posts: 148
Location: Estados Unidos De América

PostPosted: Tue Feb 26, 2008 12:17 am    Post subject: Reply with quote

> What proxy server are you using?

WASD
Back to top
View user's profile Send private message
wfdawson
n00b
n00b


Joined: 05 Aug 2010
Posts: 4

PostPosted: Tue Mar 22, 2011 9:21 pm    Post subject: Reply with quote

wildhorse wrote:
Just ran into the same problem. Thanks for the hint!

Too bad that svn cannot utilize the environment variable http_proxy.
But it is even worse that it creates /usr/portage/distfiles/svn-src. For temporary files it should use /var and configuration files should be in /etc.
What a mess. :roll:


Ditto... on each account.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum