Source: ncl
Version: 6.3.0-9
Severity: serious
Tags: patch
Justification: makes the package in question unusable or mostly so

Dear Maintainer,

In preparation of the upcoming transition to PROJ.4 4.9.3 ncl has been
rebuilt, but unfortunately it FTBFS due to changes in FFLAGS:

 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

The attached patch fixes the issue by using the colon in the sed
expression like CFLAGS.

Kind Regards,

Bas
--- a/debian/rules
+++ b/debian/rules
@@ -52,7 +52,7 @@
            -e 's/@FC@/${FC}/' \
            -e 's/@LD@/${CC}/' \
            -e 's:@CFLAGS@:${CFLAGS}:' \
-           -e 's/@FFLAGS@/${FFLAGS}/' \
+           -e 's:@FFLAGS@:${FFLAGS}:' \
            -e 's/@CPPFLAGS@/${CPPFLAGS}/' \
            -e 's/@LDFLAGS@/${LDFLAGS}/' \
            -e 's%@DESTDIR@%${DESTDIR}%' \
@@ -61,7 +61,7 @@
            -e 's/@FC@/${FC}/' \
            -e 's/@LD@/${CC}/' \
            -e 's:@CFLAGS@:${CFLAGS}:' \
-           -e 's/@FFLAGS@/${FFLAGS}/' \
+           -e 's:@FFLAGS@:${FFLAGS}:' \
            -e 's/@CPPFLAGS@/${CPPFLAGS}/' \
            -e 's/@LDFLAGS@/${LDFLAGS}/' \
            -e 's%@DESTDIR@%${DESTDIR}%' \

Reply via email to