[Reproducible-builds] Bug#807393: libupnp: FTBFS: UpnpString.c:47:15: error: expected identifier or '(' before '__extension__'
Chris Lamb
lamby at debian.org
Tue Dec 8 12:15:14 UTC 2015
Source: libupnp
Version: 1:1.6.19+git20141001-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,
libupnp fails to build from source in unstable/amd64:
[..]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/genlib/net/http/webserver.c -fPIE
-o src/genlib/net/http/libupnp_la-webserver.o >/dev/null 2>&1
In file included from /usr/include/string.h:634:0,
from src/api/UpnpString.c:23:
src/api/UpnpString.c:47:15: error: expected identifier or '(' before
'__extension__'
extern char *strndup(__const char *__string, size_t __n);
^
Makefile:1266: recipe for target 'src/api/libupnp_la-UpnpString.lo'
failed
make[5]: *** [src/api/libupnp_la-UpnpString.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/genlib/net/http/httpreadwrite.c
-fPIE -o src/genlib/net/http/libupnp_la-httpreadwrite.o >/dev/null
2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/genlib/net/uri/uri.c -fPIE -o
src/genlib/net/uri/libupnp_la-uri.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/gena/gena_callback2.c -fPIE -o
src/gena/libupnp_la-gena_callback2.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/gena/gena_device.c -fPIE -o
src/gena/libupnp_la-gena_device.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc -I../ixml/inc -I./src/inc -D_FORTIFY_SOURCE=2
-pthread -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall -c src/gena/gena_ctrlpt.c -fPIE -o
src/gena/libupnp_la-gena_ctrlpt.o >/dev/null 2>&1
make[5]: Leaving directory
'/home/lamby/temp/cdt.20151208135019.7ibfei3i5o/libupnp-1.6.19+git20141001/upnp'
Makefile:1393: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
'/home/lamby/temp/cdt.20151208135019.7ibfei3i5o/libupnp-1.6.19+git20141001/upnp'
Makefile:523: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/home/lamby/temp/cdt.20151208135019.7ibfei3i5o/libupnp-1.6.19+git20141001'
Makefile:424: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/lamby/temp/cdt.20151208135019.7ibfei3i5o/libupnp-1.6.19+git20141001'
dh_auto_build: make -j8 returned exit code 2
debian/rules:20: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
'/home/lamby/temp/cdt.20151208135019.7ibfei3i5o/libupnp-1.6.19+git20141001'
debian/rules:14: recipe for target 'binary' failed
make: *** [binary] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libupnp.1:1.6.19+git20141001-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5821 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151208/b840ad05/attachment.obj>
More information about the Reproducible-builds
mailing list