[Debian-med-packaging] Bug#832013: clustalx: FTBFS with -fdebug-prefix-map

Mattia Rizzolo mattia at debian.org
Thu Jul 21 10:42:01 UTC 2016


Source: clustalx
Version: 2.1+lgpl-4
Severity: important
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org


Dear maintainer, your package FTBFS when dpkg enables the build flag
-fdebug-prefix-map from the reproducible/fixdebugpath feature area:

 debian/rules build
dh build
   dh_testdir
   dh_update_autotools_config
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/build/clustalx-2.1+lgpl'
qmake-qt4
# did not found a better way to push hardening flags into Makefile
sed -i -e "s/CFLAGS *= .*/& -g -O2 -fdebug-prefix-map=/build/clustalx-2.1+lgpl=. -fstack-protector-strong -Wformat -Werror=format-security/" \
       -e "s/CXXFLAGS *= .*/& -g -O2 -fdebug-prefix-map=/build/clustalx-2.1+lgpl=. -fstack-protector-strong -Wformat -Werror=format-security/" \
       -e "s/LFLAGS *= .*/& -Wl,-z,relro/" Makefile
sed: -e expression #1, char 45: unknown option to `s'
debian/rules:6: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/clustalx-2.1+lgpl'
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


A quick workaround would be to disable the reproducible/fixdebugpath
buildflags with
    export DEB_BUILD_MAINT_OPTIONS=reproducible=-fixdebugpath

A possibly more proper fix would be to use a different separator than /,
like : or #.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160721/23b85cc4/attachment-0001.sig>


More information about the Debian-med-packaging mailing list