Source: ncl
Version: 6.3.0-8
Severity: important
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@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/ncl-6.3.0'
sed -e 's,@LIBDIR@,/usr/lib/x86_64-linux-gnu,' \
    -e 's/@PREFIX@/\/usr/' \
    -e 's/@VERSION@/6.3.0/' \
< debian/ncarg.pc.in > ncarg.pc
sed -e 's/@CC@/cc/' \
    -e 's/@FC@/gfortran/' \
    -e 's/@LD@/cc/' \
    -e 's:@CFLAGS@:-g -O2 -fdebug-prefix-map=/build/ncl-6.3.0=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-I/usr/include/hdf5/serial:' \
    -e 's/@FFLAGS@/-g -O2 -fdebug-prefix-map=/build/ncl-6.3.0=. 
-fstack-protector-strong/' \
    -e 's/@CPPFLAGS@/-Wdate-time -D_FORTIFY_SOURCE=2/' \
    -e 's/@LDFLAGS@//' \
    -e 's%@DESTDIR@%/build/ncl-6.3.0/debian/tmp/%' \
< debian/Site.local.shared.in > config/Site.local.shared
sed: -e expression #5, char 39: unknown option to `s'
debian/rules:47: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/build/ncl-6.3.0'
debian/rules:7: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2




Please note that the intention is to enable this build flag RSN
https://lists.debian.org/msgid-search/20160718085659.gi7...@chase.mapreri.org


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 it's done with @CFLAGS@.

-- 
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  `-

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to