Bug#834640: ncl: FTBFS (sed: -e expression #5, char 39: unknown option to `s')

Bas Couwenberg sebastic at xs4all.nl
Wed Aug 17 18:50:32 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncl-rules.patch
Type: text/x-diff
Size: 714 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160817/5ba43f80/attachment.patch>


More information about the Pkg-grass-devel mailing list