Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 374557

Summary: emerged codeblocks-9999 failed
Product: Gentoo Linux Reporter: Yang Yang <geraint0923>
Component: Current packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yang Yang 2011-07-09 16:11:15 UTC
cant't not svn source code from svn.
details:
http://forums.gentoo.org/viewtopic-t-885298.html

after I have add 
src_unpack() {
   subversion_src_unpack
} 
before src_prepare() in /usr/portage/dev-util/codeblocks/codeblocks-9999.ebuild,
 I can emerge codeblocks-9999 successfully.

Reproducible: Always

Steps to Reproduce:
1.ACCEPT_KEYWORDS="amd64"
2.echo "dev-util/codeblocks **">>/etc/portage/package.keywords
3.emerge =codeblocks-9999

Actual Results:  
didn't svn source code from svn.

Expected Results:  
emerge successfully
Comment 1 Pacho Ramos gentoo-dev 2011-07-10 17:11:47 UTC
Please provide build.log and "emerge --info" output
Comment 2 Mike Gilbert gentoo-dev 2011-07-11 01:11:16 UTC
wxwidgets.eclass was recently updated to inherit base.eclass.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/wxwidgets.eclass?r1=1.29&r2=1.30

base.eclass exports src_unpack. This overrides the src_unpack function from subversion.eclass.

This could be fixed by inheriting subversion after wxwidgets:

inherit autotools flag-o-matic wxwidgets subversion
Comment 3 Yang Yang 2011-07-11 15:54:49 UTC
(In reply to comment #2)
> wxwidgets.eclass was recently updated to inherit base.eclass.
> 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/wxwidgets.eclass?r1=1.29&r2=1.30
> 
> base.eclass exports src_unpack. This overrides the src_unpack function from
> subversion.eclass.
> 
> This could be fixed by inheriting subversion after wxwidgets:
> 
> inherit autotools flag-o-matic wxwidgets subversion


I did as you told me to do and I fixed the bug.

And could you please modify the ebuild in official portage so that people don't need to modify the ebuild by themselves?

Thank you very much for your help!