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

Bug 78939

Summary: Unable to emerge openmotif-2.1.30-r6 on SMP system, but can on non-SMP identical one..
Product: Gentoo Linux Reporter: Alvin Moore <alvin>
Component: New packagesAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: bugs, x11
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://bugs.gentoo.org/show_bug.cgi?id=46756
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Error log

Description Alvin Moore 2005-01-21 05:13:53 UTC
I beleive that this problem is the reoccurrence of bug: 46756 http://bugs.gentoo.org/show_bug.cgi?id=46756

The bug was marked closed until

I've encountered this problem also while trying to emerge openmotif-2.1.30-r6 on a dual processor machine running kernel 2.6.10 and experienced no problem building on my single processor machine.  After researching the problem a bit, I believe that this is due to the structure of the makefile dependency of xmakefile which (it seems) is used as the primary build argument in order to build the makefile used to complete the following arguments.  In a multiprocessor environment where multiple dependencies are truly built at the same time, this causes a problem because the rule for the second argument requires the xmakefile to exist.  Consequently, the error: "xmakefile: No such file or directory" occurs. I believe there is probably a simple solution to this, but I don't know make rule well enough (at this time) to suggest it.

Reproducible: Always
Steps to Reproduce:
1. Attempted to build openmotif using emerge openmotif
2. synced and updated system emerge
3. Attempted to build openmotif using emerge openmotif

Actual Results:  
Build failed with error: "xmakefile: No such file or directory"

Expected Results:  
It should have installed openmotif
Comment 1 Kelly Price 2005-01-29 08:06:30 UTC
I get this bug too on a non-SMP (but pre-emptive) system.  Do you have "-j3" or "-jSomeNumberHere" in your /etc/make.conf?  I have a feeling the ebuild doesn't filter for that and openMotif doesn't like it.
Comment 2 Kelly Price 2005-01-29 08:15:16 UTC
Created attachment 49838 [details]
Error log

Negative on the -jX idea.  Here's an error log.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-01 11:02:23 UTC
try openmotif-2.2.3