[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906457: csh: FTBFS in buster/sid (NetBSD added incompatible strnvis() and strnunvis())



Package: src:csh
Version: 20110502-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --buildsystem=bmake
   dh_update_autotools_config -a -O--buildsystem=bmake
   dh_autoreconf -a -O--buildsystem=bmake
   dh_auto_configure -a -O--buildsystem=bmake
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
	bmake
bmake[2]: Entering directory `/<<PKGBUILDDIR>>'
egrep 'ERR_' /<<PKGBUILDDIR>>/error.c | egrep '^#define' >> error.h
cc -E -g -O2 -Wno-error=unused-result -Wno-error -I/<<PKGBUILDDIR>> -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -D_GNU_SOURCE  -Werror  /<<PKGBUILDDIR>>/const.c | egrep 'Char STR' |  sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1[];/' |  sort >> const.h
cc -g -O2 -Wno-error=unused-result -Wno-error -I/<<PKGBUILDDIR>> -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -D_GNU_SOURCE  -Werror  -Wdate-time -D_FORTIFY_SOURCE=2 -c alloc.c
cc -g -O2 -Wno-error=unused-result -Wno-error -I/<<PKGBUILDDIR>> -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -D_GNU_SOURCE  -Werror  -Wdate-time -D_FORTIFY_SOURCE=2 -c char.c
cc -g -O2 -Wno-error=unused-result -Wno-error -I/<<PKGBUILDDIR>> -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -D_GNU_SOURCE  -Werror  -Wdate-time -D_FORTIFY_SOURCE=2 -c const.c
cc -g -O2 -Wno-error=unused-result -Wno-error -I/<<PKGBUILDDIR>> -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -D_GNU_SOURCE  -Werror  -Wdate-time -D_FORTIFY_SOURCE=2 -c csh.c
In file included from csh.c:45:
/usr/include/bsd/vis.h:104:2: error: #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." [-Werror=cpp]
 #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils."
  ^~~~~~~
cc1: all warnings being treated as errors
*** Error code 1

Stop.
bmake[2]: stopped in /<<PKGBUILDDIR>>
dh_auto_build: bmake returned exit code 1
make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/csh.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.


Reply to: