severity 525144 important
retitle 525144  libfakeroot segfaults  when building kernels in parallel
reassign 525144 fakeroot
thanks

Hi,

        This is true for kernel-package version 12.009. I am putting in
 a work around in kenrel-package 12.010.

        Either when DEB_BUILD_OPTIONS=parallel=3, or wehn
 CONCURRENCY_LEVEL=3 is set in /etc/kernel-pkg.conf, calling
  make-kpkg --rootcmd=fakeroot buildpackage
 fails with a seg fault.

|               | serial build | parallel build |
|---------------+--------------+----------------|
| fakeroot      | Success      | *Failure*      |
| sudo          | Success      | Success        |
| build as root | Success      | Success        |
|---------------+--------------+----------------|

        It seems pretty clear that there is some interaction with
 fakeroot and the buildpackage target.

 kernel_image, kernel_headers, and most non-buildpackage targets have
 this calling pattern:

  make-kpkg -> ./debian/rules <target> -> fakeroot make <some target>

        This works no matter what, serial or parallel.

 With buildpackage, things get a little more complex.

 make-kpkg --> ./debian/rules buildpackage -> dpkg-buildpackage -->
     fakeroot ./debian/rules <some target>

        This works when we are not building in parallel, fails when we
 are. 

        Now, sudo works just fin in either case, so it is not a make
 fault or a kernel-package fault that I can see, though I can just
 disable parallel builds when buildpackage is the target.

        manoj
-- 
The cart has no place where a fifth wheel could be used. Herbert von
Fritzlar
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