Trent W. Buck wrote:
>> This package doesn't build if I use debuild -j or debuild -j4.
>> These options are supposed to affect make's parallelization, but
>> from the typescript, it seems that the upstream build system is
>> doing something silly like referring to $(MAKEFLAGS) directly
>> instead of implicitly via $(MAKE).
On closer inspection, the problem appears to be an attempt to support
-j via DEB_BUILD_OPTIONS. In debian/rules:
# Support multiple makes at once
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NJOBS := -j $(patsubst parallel=%,%,$(filter
parallel=%,$(DEB_BUILD_OPTIONS)))
endif
And later, lines like
# system build
$(MAKE) -C $(CURDIR)/system-build $(NJOBS)
If I remove these references to NJOBS, debuild -j4 works fine.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]