On 06-06-2015 04:53, Pierre Labastie wrote:
> Le 06/06/2015 04:16, Bruce Dubbs a écrit :
>> I just ran into a minor problem with cogl.   I had copied my script from
>> another system and it had -j8.  On the new box, it failed.  When I fell back
>> to -j1, it built without problem.
>>
>> Is this worth mentioning?  We do have a note in LFS that addresses this where
>> we say: "If you run into a problem with a build step, revert back to a single
>> processor build to properly analyze the error messages."
>>
>> This is in the context of debugging and SBUs, but it does not explicitly
>> discuss faulty Makefiles and race conditions.
>>
>> The question is whether we need to add something to specifically address race
>> conditions in Makefiles.  If so, where should it go?
>>
>>   -- Bruce
>>

I have just tested and it builds with -j8, here, with and without
"--enable-cogl-gst".

> 
> Because I use automation, I'd like to have "make -j1" in the instructions for
> all packages which do not support parallel builds.
> 
> Now, if we want to explain something general about this problem, I would say
> it goes into BLFS's "note on building software".
> 
> Pierre
> 

Without having created any, believe I've used both. However, as in the
cogl case, a note just before make would be preferred. If it cannot be
demonstrated other than -j1 can be use, then, -j1 would be probably
preferable than a note.

I any case, adding a discussion in "note on building software" as
suggested by Pierre would be good.

-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to