Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52063 - app-emulation/mol incompatible w/ MAKEOPTS='-j2' (or higher)
Summary: app-emulation/mol incompatible w/ MAKEOPTS='-j2' (or higher)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 20:40 UTC by Wes Morgan
Modified: 2004-08-19 12:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wes Morgan 2004-05-25 20:40:31 UTC
app-emulation/mol produces non-determinant errors when compiling with MAKEOPTS='-j2' (or higher, I would assume). Overriding with an empty MAKEOPTS variable fixes the problem.

Reproducible: Always
Steps to Reproduce:
1. MAKEOPTS='-j2' emerge app-emulation/mol
Actual Results:  
Compilation will usually error out, though at different places, often 
complaining that it couldn't create a temporary directory because it already 
exists. It seems to be assuming that each make step completes before another 
one begins, meaning it is incompatible with anything higher than -j1. 

Expected Results:  
Not every Makefile is parallel make compatible, so the error is not 
unexpected. However, the -j switch to make should probably be overridden in 
the ebuild for mol.
Comment 1 Lars Weiler (RETIRED) gentoo-dev 2004-05-26 06:43:29 UTC
I had never problems with -j2 (only the output looks a little bit "damaged") on my iBook 600.  Which kind of CPU do you have?
Comment 2 Wes Morgan 2004-05-26 09:08:53 UTC
Sorry, I should have mentioned that w/ the initial report. I have a PPC 7410 (500 MHz G4) in a first-generation TiBook.
Comment 3 Jerry Talkington 2004-06-27 08:36:32 UTC
I encountered the same problem on a dual 1.25GHZ system.  Mol had compiled several times before, but wouldn't work over the past few days, with the following error:

ok
ok
+ Entering drivers
    Compiling driver_mgr.o        : mkdir: cannot create directory `.objs-ppc': File exists
make[2]: *** [.objs-ppc/.dummy] Error 1
make[2]: *** Waiting for unfinished jobs....
+ Entering disk
make[2]: *** Waiting for unfinished jobs....
    Compiling blkdev.o            :     Compiling disk_open.o         : make[2]: *** Waiting for un
ok
    Compiling ablk.o              : ok
    Compiling pseudofs.o          : ok
    Compiling scsi.o              : ok
    Compiling scsidev.o           : ok
    Compiling ablk-cd.o           : ok
ok
ok
make[1]: *** [sub-drivers-all] Error 2
make: *** [sub-src-all] Error 2

!!! ERROR: app-emulation/mol-0.9.70 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! Build mol with: FEATURES="-userpriv -strict" emerge mol

Running
FEATURES="-userpriv -strict" MAKEOPTS="" emerge mol
fixed me right up.
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-08-19 12:48:34 UTC
fixed in cvs