Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]emerged codeblocks-9999 failed
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
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Mon Jul 04, 2011 8:29 am    Post subject: [SOLVED]emerged codeblocks-9999 failed Reply with quote

Today when tried to emerge codeblocks-9999 ,it told me "Failed Running aclocal"

Code:

localhost gy # emerge -av codeblocks

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

Calculating dependencies... done!
[ebuild  N    *] dev-util/codeblocks-9999  USE="contrib -debug -pch -static-libs" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/codeblocks-9999
 * Package:    dev-util/codeblocks-9999
 * Repository: gentoo
 * Maintainer: wxwidgets@gentoo.org
 * USE:        amd64 contrib elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/dev-util/codeblocks-9999/work
>>> Preparing source in /var/tmp/portage/dev-util/codeblocks-9999/work ...
svn: '.' is not a working copy
 * Running eautoreconf in '/var/tmp/portage/dev-util/codeblocks-9999/work' ...
 * Running aclocal ...                                                   [ !! ]

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-util/codeblocks-9999/temp/aclocal.out

 * ERROR: dev-util/codeblocks-9999 failed (prepare phase):
 *   Failed Running aclocal !
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 3298:  Called eautoreconf
 *   environment, line 1053:  Called eaclocal
 *   environment, line  986:  Called autotools_run_tool 'aclocal'
 *   environment, line  550:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of 'emerge --info =dev-util/codeblocks-9999',
 * the complete build log and the output of 'emerge -pqv =dev-util/codeblocks-9999'.
 * The complete build log is located at '/var/tmp/portage/dev-util/codeblocks-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/codeblocks-9999/temp/environment'.
 * S: '/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999'

>>> Failed to emerge dev-util/codeblocks-9999, Log file:

>>>  '/var/tmp/portage/dev-util/codeblocks-9999/temp/build.log'

 * Messages for package dev-util/codeblocks-9999:

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-util/codeblocks-9999/temp/aclocal.out
 * ERROR: dev-util/codeblocks-9999 failed (prepare phase):
 *   Failed Running aclocal !
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 3298:  Called eautoreconf
 *   environment, line 1053:  Called eaclocal
 *   environment, line  986:  Called autotools_run_tool 'aclocal'
 *   environment, line  550:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of 'emerge --info =dev-util/codeblocks-9999',
 * the complete build log and the output of 'emerge -pqv =dev-util/codeblocks-9999'.
 * The complete build log is located at '/var/tmp/portage/dev-util/codeblocks-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/codeblocks-9999/temp/environment'.
 * S: '/var/tmp/portage/dev-util/codeblocks-9999/work/codeblocks-9999'


I have ever emerged codeblocks-9999 on another computer ,and it svn the source code from svn server and then compiled the source code. But this time, I was working on my new laptop, and failed. :(

I tried emerge codeblocks on another computer ,however ,it told me that:
Code:

localhost usbdisk # emerge codeblocks
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-util/codeblocks-9999
 * Package:    dev-util/codeblocks-9999
 * Repository: gentoo
 * Maintainer: wxwidgets@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib pch userland_GNU
 * FEATURES:   ccache sandbox
>>> Unpacking source...
 * subversion update start -->
 *      repository: svn://svn.berlios.de/codeblocks/trunk


And I have subversion installed on both two computers with the same USEs,and portage of two computers have the same version and USEs.
Is there any operation I can do to fix my portage?

Thanks in advance.

aclocal.out:
Code:

***** aclocal *****
***** PWD: /var/tmp/portage/dev-util/codeblocks-9999/work
***** aclocal

aclocal-1.11: `configure.ac' or `configure.in' is required



Last edited by geraint0923 on Fri Jul 08, 2011 11:52 am; edited 3 times in total
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Tue Jul 05, 2011 10:46 pm    Post subject: Reply with quote

Quote:
* Include in your bugreport the contents of:
*
* /var/tmp/portage/dev-util/codeblocks-9999/temp/aclocal.out

might want to post this too, off the top of my head though only thing i can think of is autotools being broken
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Wed Jul 06, 2011 11:12 am    Post subject: Reply with quote

Raptor85 wrote:
Quote:
* Include in your bugreport the contents of:
*
* /var/tmp/portage/dev-util/codeblocks-9999/temp/aclocal.out

might want to post this too, off the top of my head though only thing i can think of is autotools being broken


I post the aclocal.out above just now.
I think the problem may not be on aclocal, I can emerge other packages without any problem.
The portage should have checkout the source code from server before aclocal ,but it didn't.
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Wed Jul 06, 2011 8:29 pm    Post subject: Reply with quote

*facepalm* i guess i mentally skipped over that line

Check if there's an existing directory in /var/tmp/portage/ for the codeblocks source, delete it and remerge if there is, also check under the distfiles directory. You can also open the ebuild itself and test checking out the sources using the SVN path there.

Could be a problem with the SVN checkout command in the ebuild also, but i'd think it would be unlikely in a major package like codeblocks
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Wed Jul 06, 2011 9:14 pm    Post subject: Reply with quote

It seems to be a bug or a change in portage. If you put this before src_prepare(), it will work:

Code:

src_unpack() {
   subversion_src_unpack
}

_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Thu Jul 07, 2011 1:47 am    Post subject: Reply with quote

Raptor85 wrote:
*facepalm* i guess i mentally skipped over that line

Check if there's an existing directory in /var/tmp/portage/ for the codeblocks source, delete it and remerge if there is, also check under the distfiles directory. You can also open the ebuild itself and test checking out the sources using the SVN path there.

Could be a problem with the SVN checkout command in the ebuild also, but i'd think it would be unlikely in a major package like codeblocks


I tried to clean up /var/tmp/portage/* ,but it didn't seem to work.
And I can checkout svn://svn.berlios.de/codeblocks/trunk using "svn checkout svn://svn.berlios.de/codeblocks/trunk" and then make it. But I don't want to checkout the source code by myself every time when I emerge using svn.
Yesterday ,I installed gnome3 from gnome overlay and it seemed to be alright when portage working with git.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22088

PostPosted: Thu Jul 07, 2011 1:55 am    Post subject: Reply with quote

keenblade wrote:
It seems to be a bug or a change in portage. If you put this before src_prepare(), it will work:

Code:

src_unpack() {
   subversion_src_unpack
}
If the above definition works, that suggests that a different src_unpack (other than the one from subversion.eclass) is being used by default.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Jul 07, 2011 2:19 am    Post subject: Reply with quote

Hu wrote:
keenblade wrote:
It seems to be a bug or a change in portage. If you put this before src_prepare(), it will work:

Code:

src_unpack() {
   subversion_src_unpack
}
If the above definition works, that suggests that a different src_unpack (other than the one from subversion.eclass) is being used by default.

That definition works. That's why I think it is a portage bug. Without that definition, no sources are checked out and are unpacked, thus emerge fails.
This seems to affect only subversion vcs, but not all of them. For ex. mplayer-9999 from svn works.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Thu Jul 07, 2011 2:56 am    Post subject: Reply with quote

keenblade wrote:
It seems to be a bug or a change in portage. If you put this before src_prepare(), it will work:

Code:

src_unpack() {
   subversion_src_unpack
}


It works! I can emerge it after I add the definition.
Thank you very much!

But why can I emerge codeblocks without modifying the ebuild on another computer which has the same version and USEs portage as this computer?
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Jul 07, 2011 10:14 am    Post subject: Reply with quote

geraint0923 wrote:

It works! I can emerge it after I add the definition.
Thank you very much!

But why can I emerge codeblocks without modifying the ebuild on another computer which has the same version and USEs portage as this computer?

Nice, that worked for you, too.
Could you file a bug report at b.g.o .
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Fri Jul 08, 2011 12:01 pm    Post subject: Reply with quote

keenblade wrote:
geraint0923 wrote:

It works! I can emerge it after I add the definition.
Thank you very much!

But why can I emerge codeblocks without modifying the ebuild on another computer which has the same version and USEs portage as this computer?

Nice, that worked for you, too.
Could you file a bug report at b.g.o .


Absolutely I will.
Thanks again for your great help!
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