[blfs-support] JSON-C fails to build

Dan McGhee beesnees at grm.net
Sat Dec 21 13:36:48 PST 2013

On 12/21/2013 02:55 PM, Bruce Dubbs wrote:
> Pierre Labastie wrote:
>> Le 21/12/2013 16:54, Dan McGhee a écrit :
>>> On 12/21/2013 01:40 AM, Chris Staub wrote:
>>>> I don't normally use json-c, but as I use package users myself I thought
>>>> I'd try it. I got exactly the same build failure when I used "-j4" with
>>>> make, and BLFS does say that this package does not support parallel
>>>> builds. It worked fine once I removed the -j. If it worked as root it's
>>>> probably just because you don't have MAKEFLAGS or something defined as root.
>>> This happened again for me with cdparanoia, which also, as the book
>>> says, does not support a parallel build. I'm not sure how to set, change
>>> or remove these flags.
>>> Dan
>> The -j flag for make is either set on the command line (takes precedence) or
>> Try "echo $MAKEFLAGS", to see what is in there. If it is empty, well, this
>> is something else. Do you use some kinf of cache (say config.site or so)?
>> MAKEFLAGS is maybe defined there.
>> OTOH, it is always possible to replace "make" with "make -j1", whether in
>> scripts or on the command line.
> Or 'MAKEFLAGS="" make'
>     -- Bruce
I found something interesting in my system.  I had this problem with 
JSON-C, S-LANG and cdparanoia.  All these packages have the "don't 
support parallel builds" note.  This has never been a problem for me in 
the past or until just recently.

After Ken's and Chris's posts, I looked.  For both root and me, 
$MAKEFLAGS="".  But for the package users, $MAKEFLAGS=-j8.  How that 
happened is beyond me.  I changed my build.conf to compensate for this 
and all the packages, with which I had problems, built without a hitch.


More information about the blfs-support mailing list