#1143341 net-tools: FTBFS: rose.c:41:10: fatal error: linux/rose.h: No such file or directory #1143341
- Package:
- src:net-tools
- Source:
- src:net-tools
- Submitter:
- Santiago Vila
- Date:
- 2026-10-18 10:51:01 UTC
- Severity:
- normal
- Tags:
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:net-tools, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' [ ! -f Makefile ] || /usr/bin/make clobber make[2]: Entering directory '/<<PKGBUILDDIR>>' rm -f -- *.o DEADJOE config.new *~ *.orig lib/*.o rm -f -- ifconfig netstat route nameif make[3]: Entering directory '/<<PKGBUILDDIR>>/man' rm -f -- DEADJOE *~ *.orig rm -f -- */DEADJOE */*~ */*.orig make[3]: Leaving directory '/<<PKGBUILDDIR>>/man' make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[3]: Entering directory '/<<PKGBUILDDIR>>/po' rm -f -- *mo make[3]: Leaving directory '/<<PKGBUILDDIR>>/po' rm -f -- ifconfig netstat route nameif config.h version.h config.status config.make make[3]: Entering directory '/<<PKGBUILDDIR>>/man' rm -f -- DEADJOE *~ *.orig rm -f -- */DEADJOE */*~ */*.orig make[3]: Leaving directory '/<<PKGBUILDDIR>>/man' make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[2]: Leaving directory '/<<PKGBUILDDIR>>' [ ! -f debian/config.h.bk ] || \ mv debian/config.h.bk config.h [ ! -f debian/config.make.bk ] || \ mv debian/config.make.bk config.make dh_auto_clean make -j2 clean make[2]: Entering directory '/<<PKGBUILDDIR>>' rm -f -- *.o DEADJOE config.new *~ *.orig lib/*.o rm -f -- ifconfig netstat route nameif make[3]: Entering directory '/<<PKGBUILDDIR>>/man' rm -f -- DEADJOE *~ *.orig rm -f -- */DEADJOE */*~ */*.orig make[3]: Leaving directory '/<<PKGBUILDDIR>>/man' make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[3]: Entering directory '/<<PKGBUILDDIR>>/po' rm -f -- *mo make[3]: Leaving directory '/<<PKGBUILDDIR>>/po' make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' [ ! -f config.make ] || mv config.make debian/config.make.bk cp -f debian/config.make config.make [ ! -f config.h ] || mv config.h debian/config.h.bk cp -f debian/config.h config.h make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' /usr/bin/make CC="x86_64-linux-gnu-gcc" COPTS="-D_GNU_SOURCE -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" LOPTS="-Wl,-z,relro" PROGS="ifconfig arp netstat route rarp slattach plipconfig nameif iptunnel ipmaddr mii-tool" make[2]: Entering directory '/<<PKGBUILDDIR>>' make[2]: pkg-config: No such file or directory /bin/sh: 1: pkg-config: not found make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o activate.o activate.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o af.o af.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o arcnet.o arcnet.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ash.o ash.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ax25.o ax25.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ax25_gr.o ax25_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ddp.o ddp.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ddp_gr.o ddp_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ec_hw.o ec_hw.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o econet.o econet.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ether.o ether.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o eui64.o eui64.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o fddi.o fddi.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o frame.o frame.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o getargs.o getargs.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o getroute.o getroute.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o hdlclapb.o hdlclapb.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o hippi.o hippi.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o hw.o hw.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ib.o ib.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet.o inet.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet6.o inet6.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet6_gr.o inet6_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet6_sr.o inet6_sr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet_gr.o inet_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o inet_sr.o inet_sr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o interface.o interface.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ipx.o ipx.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ipx_gr.o ipx_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ipx_sr.o ipx_sr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o irda.o irda.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o loopback.o loopback.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o masq_info.o masq_info.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o netrom.o netrom.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o netrom_gr.o netrom_gr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o netrom_sr.o netrom_sr.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o nstrcmp.o nstrcmp.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ppp.o ppp.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o ppp_ac.o ppp_ac.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o proc.o proc.c x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fno-strict-aliasing -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/<<PKGBUILDDIR>>/include -Ilib -c -o rose.o rose.c rose.c:41:10: fatal error: linux/rose.h: No such file or directory 41 | #include <linux/rose.h> | ^~~~~~~~~~~~~~ compilation terminated. make[3]: *** [<builtin>: rose.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[2]: *** [Makefile:161: libdir] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:39: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:30: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Hello, The merge request on Salsa (debian/net-tools !6) fixes this FTBFS by building net-tools without ROSE. May I suggest a fix that keeps ROSE support instead? ROSE is still in use on amateur radio packet nodes, mine among them. After its removal from Linux 7.1 the code lives on out of tree (linux-netdev/mod-orphan) with the same user-space interface, and Debian stable and older releases still ship kernels that include it. With ROSE compiled out, "netstat --rose" and "route -A rose" disappear and rose0 shows up as an unknown hardware type in ifconfig. Only lib/rose.c depends on <linux/rose.h>. glibc ships its own <netrose/rose.h> (and <netax25/ax25.h>), which does not depend on the kernel headers and defines everything rose.c needs; ax25.c and netrom.c already use <netax25/ax25.h> this way. The attached patch makes rose.c include the glibc header when __has_include() finds it, and fall back to <linux/rose.h> otherwise, so builds with another C library behave as before. It applies to 2.10-2 (offset 2 lines) and needs no change in debian/config.h or debian/config.make. Tested on amd64 with GCC and glibc 2.43, on the 2.10 tree with the Debian configuration: - with an include tree from which linux/rose.h and linux/netrom.h were removed (as in linux-libc-dev 7.3): before the patch, rose.c:41 "fatal error: linux/rose.h"; after, the whole build succeeds; - with the normal headers: unchanged; - on a live ROSE node (kernel 7.0): ifconfig rose0, netstat --rose and route -A rose give the expected output; - with musl-gcc, rose.c behaves as before the patch. The same change has been proposed upstream as ecki/net-tools pull request 72. Upstream disabled ROSE in its default https://www.google.com/url?q=http://config.in&source=gmail&ust=1792171441590000&sa=E in July (#70); the patch does not change that default, it only lets distributions that enable ROSE, as Debian does, keep building it. Thanks, Bernard Pidoux, F6BVP
Hello, A short follow-up to my message of 15 October. The fix I proposed is now merged upstream, in the master branch of ecki/net-tools on GitHub (pull request #72, merged on 15 October by Bernd Eckenfels): f1cdcde rose: use the C library's <netrose/rose.h> when available 45bf997 netrom: do not return a pointer to a local buffer in NETROM_sprint() With f1cdcde, net-tools builds with ROSE enabled whether or not linux-libc-dev still ships linux/rose.h. It takes <netrose/rose.h> from glibc when it is there, and falls back to the kernel header otherwise. I tested it with glibc, with and without linux/rose.h, and with musl. Upstream still builds without ROSE by default. The patch attached to my previous message is the same change as f1cdcde, so it can be taken as is, or picked from upstream at the next import. 73, Bernard Pidoux, F6BVP Le jeu. 15 oct. 2026 à 19:30, Bernard Pidoux <bernard.f6bvp@gmail.com> a écrit :