Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge packages from subversion (bug #143480) (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
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Tue Sep 05, 2006 1:29 am    Post subject: Can't emerge packages from subversion (bug #143480) (SOLVED) Reply with quote

When I try to emerge something from subversion, I get access violations.
I have already tried upgrading to the ~x86 verions of portage, sandbox and subversion. No help.
Google yields nothing.

Example of error:

sudo emerge -av initng
Password:

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

Calculating dependencies... done!
[ebuild U ] sys-apps/initng-99999 [0.6.7] USE="-as_init -busybox -check_ro -cmake_color_makefile -count_me -debug -force_nocolor -service_cache%" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical envparser find fstat history idleprobe initctl interactive iparser last limit logfile netprobe ngc4 pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog unneeded -ctrlaltdel -daemon_clean -dbus_event -debug_commands -fmon -lockfile -netdev -ngcs -nge -selinux -service_file% -sysreq -usplash%" 0 kB [3]

Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/media-portage
[2] /usr/local/initng-portage
[3] /usr/local/jorge-portage

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

>>> Emerging (1 of 1) sys-apps/initng-99999 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
* subversion check out start -->
* repository: http://svn.initng.org/initng/trunk
ACCESS DENIED mkdir: /usr/portage/distfiles/svn-src/.subversion
ACCESS DENIED mkdir: /usr/portage/distfiles/svn-src/initng/trunk
svn: Can't make directory 'trunk': Permission denied

!!! ERROR: sys-apps/initng-99999 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_unpack
ebuild.sh, line 707: Called src_unpack
initng-99999.ebuild, line 22: Called subversion_src_unpack
subversion.eclass, line 272: Called subversion_fetch
subversion.eclass, line 179: Called die

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

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-apps_-_initng-99999-5248.log"

mkdir: /usr/portage/distfiles/svn-src/.subversion
mkdir: /usr/portage/distfiles/svn-src/initng/trunk
--------------------------------------------------------------------------------
!!! This ebuild is from an overlay: '/usr/local/jorge-portage'


Last edited by jorgepeixoto on Fri Oct 20, 2006 10:35 pm; edited 2 times in total
Back to top
View user's profile Send private message
body
n00b
n00b


Joined: 27 Jun 2004
Posts: 41

PostPosted: Tue Sep 05, 2006 4:01 am    Post subject: Reply with quote

dito

Quote:

emerge x264-svn
Calculating dependencies... done!

>>> Emerging (1 of 1) media-libs/x264-svn-20069999-r6 to /
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...

!!! ERROR: media-libs/x264-svn-20069999-r6 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_unpack
ebuild.sh, line 707: Called src_unpack
ebuild.sh, line 1252: Called subversion_src_unpack
subversion.eclass, line 272: Called subversion_fetch
subversion.eclass, line 185: Called die

!!! subversion.eclass: ESVN_REPO_URI and working copy's URL are not matched.
!!! If you need support, post the topmost build error, and the call stack if relevant.

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


Quote:
emerge mplayer
Calculating dependencies... done!

>>> Emerging (1 of 1) media-video/mplayer-9999-r6 to /
* Blue-1.5.tar.bz2 MD5 ;-) ... [ ok ]
* Blue-1.5.tar.bz2 RMD160 ;-) ... [ ok ]
* Blue-1.5.tar.bz2 SHA1 ;-) ... [ ok ]
* Blue-1.5.tar.bz2 SHA256 ;-) ... [ ok ]
* Blue-1.5.tar.bz2 size ;-) ... [ ok ]
* font-arial-iso-8859-2.tar.bz2 MD5 ;-) ... [ ok ]
* font-arial-iso-8859-2.tar.bz2 RMD160 ;-) ... [ ok ]
* font-arial-iso-8859-2.tar.bz2 SHA1 ;-) ... [ ok ]
* font-arial-iso-8859-2.tar.bz2 SHA256 ;-) ... [ ok ]
* font-arial-iso-8859-2.tar.bz2 size ;-) ... [ ok ]
* font-arial-iso-8859-1.tar.bz2 MD5 ;-) ... [ ok ]
* font-arial-iso-8859-1.tar.bz2 RMD160 ;-) ... [ ok ]
* font-arial-iso-8859-1.tar.bz2 SHA1 ;-) ... [ ok ]
* font-arial-iso-8859-1.tar.bz2 SHA256 ;-) ... [ ok ]
* font-arial-iso-8859-1.tar.bz2 size ;-) ... [ ok ]
* font-arial-cp1250.tar.bz2 MD5 ;-) ... [ ok ]
* font-arial-cp1250.tar.bz2 RMD160 ;-) ... [ ok ]
* font-arial-cp1250.tar.bz2 SHA1 ;-) ... [ ok ]
* font-arial-cp1250.tar.bz2 SHA256 ;-) ... [ ok ]
* font-arial-cp1250.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking font-arial-iso-8859-1.tar.bz2 ;-) ... [ ok ]
* checking font-arial-iso-8859-2.tar.bz2 ;-) ... [ ok ]
* checking font-arial-cp1250.tar.bz2 ;-) ... [ ok ]
* checking Blue-1.5.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...

!!! ERROR: media-video/mplayer-9999-r6 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_unpack
ebuild.sh, line 707: Called src_unpack
mplayer-9999-r6.ebuild, line 145: Called subversion_src_unpack
subversion.eclass, line 272: Called subversion_fetch
subversion.eclass, line 185: Called die

!!! subversion.eclass: ESVN_REPO_URI and working copy's URL are not matched.
!!! If you need support, post the topmost build error, and the call stack if relevant.

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

etc.
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Tue Sep 05, 2006 10:49 am    Post subject: This also happens Reply with quote

This also happens for ebuilds not from overlay
Back to top
View user's profile Send private message
Slammer
Bodhisattva
Bodhisattva


Joined: 28 Mar 2003
Posts: 270
Location: Greece

PostPosted: Tue Sep 05, 2006 11:35 am    Post subject: Reply with quote

Happens in both x86 and ~x86 machines... :cry:

Create a bug report in bugzilla, something is broken.....
_________________
Keep Slamming...
Back to top
View user's profile Send private message
ikujam
n00b
n00b


Joined: 03 Aug 2005
Posts: 37
Location: Toulouse, France

PostPosted: Tue Sep 05, 2006 4:57 pm    Post subject: Reply with quote

Had the same error here, seemed to be an access violation. I tried to delete the svn-src directory inside /usr/portage/distfiles, even made that dir world writeable, but portage would still not create directories inside.

After scratching my head a little, I figured out that the problem was related to sandboxing, and thus a simple workaround is to disable it :

in /etc/make.conf , look for FEATURES and add -sandbox or add the following line at the end of the file:

FEATURES="-sandbox"

good luck ;)
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Tue Sep 05, 2006 5:07 pm    Post subject: I have created Bug #146418 Reply with quote

I have created Bug #146418.

About FEATURES=-sandbox:

I have thought about it too. But I'm not sure it is safe. I mean, it's there for a reason.

Specifically for the initng-9999 and initng-ifiles-9999 ebuilds, is it safe?
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Tue Sep 05, 2006 6:54 pm    Post subject: Turns out that Reply with quote

Turns out that the bug was a duplicate of bug 143480, and the real problem is in subversion.eclass. I hope there is a fix soon.
Back to top
View user's profile Send private message
ksleher
n00b
n00b


Joined: 30 Jun 2004
Posts: 18

PostPosted: Fri Sep 08, 2006 5:20 pm    Post subject: Reply with quote

Is there a fix for this yet? if so how do i update it?
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Fri Sep 08, 2006 6:15 pm    Post subject: Reply with quote

Looks like there is a fix. Check out the bug and try what they suggest. I'm giving it a shot now, as all of my personal ebuilds are failing to complete.

** Update **
Basically, the bug site brought me to this page. I checked out the file and saw that the first change had been added, but the second had not. Even after adding the second, though, it still didn't work. :(
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Sat Sep 09, 2006 12:14 am    Post subject: A fix Reply with quote

In bug #143480, they offer an alternative eclass that you can put in an overlay. I did that. Problem solved.

However, Portage have since then been upgraded and this alternative eclass is not needed anymore.

I'm using portage-2.1.1_rc1-r7, which is ~x86.

I don't know if there is already a fix for the latest x86 portage. Anyway, if you perform and emerge --sync && emerge -auv portage and the problem persists, you can put ~sys-apps/portage-2.1.1_rc1 in /etc/package.keywords to fetch the latest ~x86 portage, which does not have the problem.. It is stable for me.
Back to top
View user's profile Send private message
mxc
Guru
Guru


Joined: 05 Mar 2003
Posts: 442
Location: South Africa

PostPosted: Tue Sep 12, 2006 8:24 pm    Post subject: Reply with quote

I am also experiencing this problem. I have portage-2.1.1. Should this have fixed the problem?
Trying ACCEPT_KEYWORDS="~x86" emerge portage just wants to re-install portage-2.1.1

thanks
_________________
http://www.CyberDesigns.co.za
http://www.Jumpingbean.co.za
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue Sep 12, 2006 11:20 pm    Post subject: Reply with quote

Code:

emerge --sync


Then try it.
Back to top
View user's profile Send private message
jorgepeixoto
Apprentice
Apprentice


Joined: 27 Apr 2006
Posts: 218
Location: São José dos Campos, São Paulo, Brasil

PostPosted: Wed Sep 13, 2006 4:31 am    Post subject: I have Portage-2.1.1 and I have no problem Reply with quote

I have Portage-2.1.1 (since my last post, 2.1.1 have come to the tree) and I have no problem. I am emerging initng-ifiles-999 right now (it wasn't possible when I was affected by the problem).
Back to top
View user's profile Send private message
didibe
n00b
n00b


Joined: 13 Sep 2006
Posts: 1

PostPosted: Wed Sep 13, 2006 7:50 am    Post subject: Reply with quote

Try
FEATURE=-sandbox emerge sandbox

Afterwards emerge your staff. That helped in my case.

wbr
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