Unity build is not parallel safe (-j 4 fails)

Bug #843310 reported by Elliot Murphy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Trying to build unity trunk (r1497) with make -j4 some of the build fails due to misisng unity-core-4.0, which is built a few seconds later. Building in serial rather than parallel completes just fine.
Probably only reproducible on pristine builds.

Linking CXX executable test-minimize-handler
/usr/bin/ld: cannot find -lunity-core-4.0

Linking CXX executable test-input-remover
/usr/bin/ld: cannot find -lunity-core-4.0

Are the two specific targets that I saw error out, but others may be missing a dependency as well.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.12.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell]
Date: Tue Sep 6 17:49:39 2011
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (27 days ago)

Revision history for this message
Elliot Murphy (statik) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

failed for me with -j2 as well.

Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

-j4 works fine with latest unity.

Changed in unity:
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.