Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting way too many failed builds SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bascom49
n00b
n00b


Joined: 19 Apr 2008
Posts: 18

PostPosted: Sun Apr 20, 2008 6:14 pm    Post subject: Getting way too many failed builds SOLVED Reply with quote

I'm getting a high number of failed builds under emerge.
At the moment I'm in chroot, setting my system up. I have successfully configured
my kernel. emerge dhcpcd, emerge alocate, emerge vixie-cron were unsuccsessful.
A portion of the packages compiled correctly but not all. The error message is:
This program built for powerpc-linux-gnu
Report bugs to <bug-make@gny.org>

!!!ERROR: net-misc/dhpcd-3.2.3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: called qa_call 'src_compile'
environment, line 1807: Called src_compile
dhpcd-3.2.3.3.build, line 50: called die



Anyone have any ideas or comments ?


Last edited by bascom49 on Sun Apr 20, 2008 7:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Apr 20, 2008 6:28 pm    Post subject: Reply with quote

suggestion: post more information. :wink:
A failed build will exit with a message that says where you can find the build log and what you should look for, i.e. the topmost error message. Post that and the output of emerge --info.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
bascom49
n00b
n00b


Joined: 19 Apr 2008
Posts: 18

PostPosted: Sun Apr 20, 2008 7:31 pm    Post subject: Solved Reply with quote

I had a bad entry in my makd.conf file
MAKEOPTS="-J2" should have been MAKEOPTS="-j2" with a lower case j
This threw the compiler off
Back to top
View user's profile Send private message
user118696
Apprentice
Apprentice


Joined: 16 Sep 2005
Posts: 276

PostPosted: Sun Apr 20, 2008 7:45 pm    Post subject: Reply with quote

Where is the option associated with MAKEOPTS applied?
I don't think it's a gcc option??
I'm asking this out of curiosity juste to know what was the difference between -j2 and -J2.
Back to top
View user's profile Send private message
bascom49
n00b
n00b


Joined: 19 Apr 2008
Posts: 18

PostPosted: Sun Apr 20, 2008 7:56 pm    Post subject: it is .. Reply with quote

MAKEOPTS defines how many parallel compilations occur when portage installs a package.
The handbook suggest the number of cpus in your system plus one.
Back to top
View user's profile Send private message
user118696
Apprentice
Apprentice


Joined: 16 Sep 2005
Posts: 276

PostPosted: Mon Apr 21, 2008 3:15 am    Post subject: Reply with quote

I know what MAKEOPTS does.
I'm only curious to know 'how' it's applied?
It's certainly an option added after a certain command and 'j' or 'J' might not do the same thing, otherwise the argument for MAKEOPTS would have been simply a number without anything in front (-j). Right?
Back to top
View user's profile Send private message
x22
Apprentice
Apprentice


Joined: 24 Apr 2006
Posts: 208

PostPosted: Mon Apr 21, 2008 9:23 am    Post subject: Reply with quote

-j is optional parameter for make.

MAKEOPTS defines additional parameters for make command.
Back to top
View user's profile Send private message
user118696
Apprentice
Apprentice


Joined: 16 Sep 2005
Posts: 276

PostPosted: Mon Apr 21, 2008 8:23 pm    Post subject: Reply with quote

Thanks :)

And again out of curiosity :

But then, what about the original post?
I've looked at the man page for make and there is no '-J' (capital J) option.
Shouldn't ALL the builds have failed with an error not recognizing this command line argument.
Why only SOME of them failed to build?
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Tue Apr 22, 2008 4:15 pm    Post subject: Reply with quote

muaddib wrote:
I've looked at the man page for make and there is no '-J' (capital J) option.
Shouldn't ALL the builds have failed with an error not recognizing this command line argument.
Why only SOME of them failed to build?

This is a stab in the dark by an amature but would there be a default -j if no value was given?
_________________
Greg
Back to top
View user's profile Send private message
user118696
Apprentice
Apprentice


Joined: 16 Sep 2005
Posts: 276

PostPosted: Tue Apr 22, 2008 8:06 pm    Post subject: Reply with quote

From the make info page :

Normally, `make' will execute only one command at a time, waiting for it to finish before executing the next.

Equivalent to the "-j1" option.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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