Source: ncl
Version: 6.3.0-8
Severity: important
Usertags: ftbfs

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

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@.

                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:                             : :'  :
Launchpad user:                  `. `'`
Debian QA page:  `-

Attachment: signature.asc
Description: PGP signature

Reproducible-builds mailing list

Reply via email to