Source: ladvd
Version: 1.1.2-1
Severity: serious
Tags: ftbfs

ladvd fails to build from source in unstable on amd64. A build ends as
follows:

| /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../../src   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security 
-fPIE -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd  -MT util.lo 
-MD -MP -MF $depbase.Tpo -c -o util.lo ../../src/util.c &&\
| mv -f $depbase.Tpo $depbase.Plo
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -Wdate-time 
-D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -DPIE -D_FORTIFY_SOURCE=2 
--param ssp-buffer-size=4 -fstack-protector -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -MT util.lo 
-MD -MP -MF .deps/util.Tpo -c ../../src/util.c  -fPIC -DPIC -o .libs/util.o
| In file included from ../../src/common.h:40,
|                  from ../../src/util.c:20:
| /usr/include/bsd/vis.h:107:2: warning: #warning "NetBSD added incompatible 
strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." [-Wcpp]
|   107 | #warning "NetBSD added incompatible strnvis() and strnunvis(), please 
see <bsd/vis.h> for more detils."
|       |  ^~~~~~~
| ../../src/util.c: In function ‘my_chroot’:
| ../../src/util.c:151:20: error: ‘MAXPATHLEN’ undeclared (first use in this 
function)
|   151 |     char component[MAXPATHLEN];
|       |                    ^~~~~~~~~~
| ../../src/util.c:151:20: note: each undeclared identifier is reported only 
once for each function it appears in
| ../../src/util.c:151:10: warning: unused variable ‘component’ 
[-Wunused-variable]
|   151 |     char component[MAXPATHLEN];
|       |          ^~~~~~~~~
| make[3]: *** [Makefile:598: util.lo] Error 1
| make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
| make[2]: *** [Makefile:394: all] Error 2
| make[2]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
| make[1]: *** [Makefile:422: all-recursive] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
| make: *** [debian/rules:45: build-stamp] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2

Helmut

Reply via email to