[Reproducible-builds] Bug#808675: liwc: FTBFS: strutil.h:67:7: error: expected identifier or '(' before '__extension__' char *strndup(const char *, size_t)

Chris Lamb lamby at debian.org
Mon Dec 21 18:39:09 UTC 2015

Source: liwc
Version: 1.21-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

liwc fails to build from source in unstable/amd64:


  dh_auto_build -- \
  	CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" \
  	make -j1 CPPFLAGS=-D_FORTIFY_SOURCE=2 "CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" LDFLAGS=-Wl,-z,relro
  make[2]: Entering directory '/home/lamby/temp/cdt.20151221183809.aJRPcooGBx/liwc-1.21'
  gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ccmtcnvt ccmtcnvt.c -lpub
  In file included from /usr/include/string.h:634:0,
                   from ccmtcnvt.c:82:
  /usr/include/publib/strutil.h:67:7: error: expected identifier or '(' before '__extension__'
   char *strndup(const char *, size_t);
  Makefile:40: recipe for target 'ccmtcnvt' failed
  make[2]: *** [ccmtcnvt] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20151221183809.aJRPcooGBx/liwc-1.21'
  dh_auto_build: make -j1 CPPFLAGS=-D_FORTIFY_SOURCE=2 CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security LDFLAGS=-Wl,-z,relro returned exit code 2
  debian/rules:7: recipe for target 'override_dh_auto_build' failed
  make[1]: *** [override_dh_auto_build] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20151221183809.aJRPcooGBx/liwc-1.21'
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2


The full build log is attached.


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liwc.1.21-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 790 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151221/8ebf73bb/attachment.obj>

More information about the Reproducible-builds mailing list