On Thu, Apr 23 2009, Sven Hartge wrote:
> I am seeing this segfault as well and I am using 
> CONCURRENCY_LEVEL:=5
> in /etc/kernel-pkg.conf. But commenting this line and using the following 
> command
> DEB_BUILD_OPTIONS=parallel=5 fakeroot make-kpkg --revision=skuld.338 
> --append-to-version=-338 --arch=amd64 --cross-compile=- buildpackage
> also causes make to segfault.


        It is not make which is crashing -- it is libfakeroot. Try the
 same build command with --rootcmd=sudo, and the build works just
 fine. I even tested with setting CONCURRENCY_LEVEL in
 /etc/kernel-img.conf, in case sudo was stripping off the
 DEB_BUILD_OPTION


        So the problem is not in make or kernel-package, it is in fakeroot.


> If I don't use any parallel build options, the package(s) build fine 
> without error.

> So something inside kernel-packages makefiles triggers a make bug when 
> used in a parallel build situation.

        Here is the scenario:

On Wed, Apr 22 2009, Christoph Anton Mitterer wrote:

> I actually use CONCURRENCY_LEVEL and when removing it,... buildpackage
> works.

> Have you tried it with CONCURRENCY_LEVEL := 2 in ~/.kernel-pkg.conf?

        Yes. 

> btw: Perhaps I'm wrong, but I feel, that the
> non-kernel/modules-compilation part of make-kpkg takes ages longer than
> with the 11.x branch.
> Is this possible?

        Perhaps. 11.XXX kernel-package was very unfriendly to parallel
 compilation, with the current 12.XX all targets except buildpackage can
 be compiled in parallel. This has cause a little bit of a slowdown, as
 the build assures synchronization.

        manoj
-- 
Q: Why is it that Mexico isn't sending anyone to the '84 summer games?
A: Anyone in Mexico who can run, swim or jump is already in LA.
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to