tag 731064 + patch thanks On Sun, Dec 01, 2013 at 03:53:50PM +0100, Julien Cristau wrote: > Source: libpwiz > Version: 3.0.4624-4 > Severity: serious > Justification: fails to build from source > > Hi, > > your package fails to build on some architectures, see the build logs at > https://buildd.debian.org/status/logs.php?pkg=libpwiz&ver=3.0.4624-4&suite=sid
The problem is that libpwiz sources contains boost_aux, which have been partly integrated into recent version of boost. In the build failure case here, the atomic version in boost is slightly different, so mixing the two versions causes failure depending on how the atomics are implemented on the architecture. The patch below remove the atomic part of boost_aux, so that the one from boost is used instead. This way of doing also means we libpwiz will benefit from improvement from boost, especially the ones from boost 1.55 which implement atomics for all architectures, using the new gcc atomic builtins. With this patch libpwiz builds fine on at least amd64, s390x and mips. diff -Nru libpwiz-3.0.4624/debian/rules libpwiz-3.0.4624/debian/rules --- libpwiz-3.0.4624/debian/rules 2013-12-09 10:27:44.000000000 +0000 +++ libpwiz-3.0.4624/debian/rules 2013-12-29 19:24:46.000000000 +0000 @@ -82,6 +82,10 @@ # software in a separate build directory. cp -rpf autotools libraries pwiz pwiz_tools $(BUILD_DIR) + # Remove parts of boost_aux now integrated in boost + rm $(BUILD_DIR)/libraries/boost_aux/boost/atomic.hpp + rm -r $(BUILD_DIR)/libraries/boost_aux/boost/atomic + cd $(BUILD_DIR) && autotools/configure --prefix=/usr && \ VERBOSE=1 $(MAKE) && \ VERBOSE=1 DESTDIR=$(INSTALL_DIR) $(MAKE) install -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org