[pkg-boost-devel] Bug#545535: boost1.39: Parallel build fails
Andreas Ferber
af+debian-bugregports at chaos-agency.de
Mon Sep 7 20:52:30 UTC 2009
Package: boost1.39
Version: 1.39.0-4
Severity: normal
Hi,
when doing a parallel build (make -j6 in my case), it failed during the
install stage because it tried to install some libraries into /lib,
which since I'm building with fakeroot, it didn't have the permissions
to do so.
The problem is caused by a missing make dependency in debian/rules, the
"$(bjam)" target should depend on "$(QUILT_STAMPFN)", just as the
build-stamp target does. This missing dependency leads to a race
condition, where "./bootstrap.sh" might be called before the patch in
debian/patches/bootstrap.patch is applied.
Since the patch fixes the problem that bootstrap.sh uses the wrong
variable to set LIBDIR, it leads to a wrong libdir setting in
project-config.jam, which in turn leads to the failure on "install".
Adding the dependency fixed the problem for me.
Andreas
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (650, 'stable'), (150, 'testing'), (120, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
More information about the pkg-boost-devel
mailing list