Source: presage
Version: 0.9-1
Severity: important
Tags: sid stretch
Usertags: ftbfs

Dear Maintainer,

The package fails to build if you add extra CPPFLAGS using DEB_CPPFLAGS_APPEND:

$ DEB_CPPFLAGS_APPEND='-D__BROKEN__=1' dpkg-buildpackage
Making all in python
make[4]: Entering directory '/home/faux/presage-0.9/bindings/python'
/usr/bin/swig2.0 -c++ -python -I../../src/lib -o presage_wrap.cpp -outdir . 
make  all-am
make[5]: Entering directory '/home/faux/presage-0.9/bindings/python'
/bin/bash: line 5: -D__BROKEN__=1: command not found
Makefile:592: recipe for target 'all-local' failed
make[5]: *** [all-local] Error 127

This could be a quoting issue; "$(dpkg-buildflags --cppflags)" may be needed 

Example full build log (the reproducible builder adds extra cppflags):

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-21-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reproducible-builds mailing list

Reply via email to