Bug#1143677: nethogs: FTBFS: dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below

Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:24:31 +0000
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <E1wrZjb-00Gxji-1o__9682.46377758391$1785929286$gmane$org@paradis.debian.org>
Package: src:nethogs
Version: 0.8.8-4
Severity: serious
Tags: ftbfs forky sid

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:nethogs, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeApp.mk clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f packet.o connection.o process.o decpcap.o cui.o inode2prog.o conninode.o devices.o
rm -f conninode_test
rm -f nethogs
rm -f test
rm -f decpcap_test
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make -C src -f MakeLib.mk clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f obj/lib/release/libnethogs.o obj/lib/release/packet.o obj/lib/release/connection.o obj/lib/release/process.o obj/lib/release/decpcap.o obj/lib/release/inode2prog.o obj/lib/release/conninode.o obj/lib/release/devices.o
rm -f libnethogs.so.0.8.8
rm -f libnethogs.a
mkdir -p obj/lib/release
rmdir -p --ignore-fail-on-non-empty obj/lib/release
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- libnethogs nethogs
	make -j2 INSTALL="install --strip-program=true" libnethogs nethogs
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeLib.mk all
make -C src -f MakeApp.mk nethogs
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c packet.cpp
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/net/ethernet.h:24,
                 from packet.h:27,
                 from packet.cpp:23:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/libnethogs.o -c libnethogs.cpp -DVERSION=\"0.8.8\"
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c connection.cpp
libnethogs.cpp: In function ‘void nethogsmonitor_breakloop()’:
libnethogs.cpp:340:8: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  340 |   write(self_pipe.second, "x", 1);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/packet.o -c packet.cpp
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from /usr/include/net/ethernet.h:24,
                 from packet.h:27,
                 from packet.cpp:23:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c process.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/connection.o -c connection.cpp
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c decpcap.c
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/process.o -c process.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c cui.cpp -DVERSION=\"0.8.8\"
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c inode2prog.cpp
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/decpcap.o -c decpcap.c
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/inode2prog.o -c inode2prog.cpp
inode2prog.cpp: In function ‘void get_info_for_pid(const char*)’:
inode2prog.cpp:212:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 11 and 40 [-Wformat-truncation=]
  212 |     snprintf(fromname, fromlen, "%s/%s", dirname, entry->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/16/cstdio:47,
                 from inode2prog.cpp:26:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void get_info_for_pid(const char*)’ at inode2prog.cpp:212:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 2 and 286 bytes into a destination of size 41
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -c conninode.cpp
inode2prog.cpp: In function ‘void get_info_for_pid(const char*)’:
inode2prog.cpp:212:37: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 11 and 40 [-Wformat-truncation=]
  212 |     snprintf(fromname, fromlen, "%s/%s", dirname, entry->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:970,
                 from /usr/include/c++/16/cstdio:47,
                 from inode2prog.cpp:26:
In function ‘int snprintf(char*, size_t, const char*, ...)’,
    inlined from ‘void get_info_for_pid(const char*)’ at inode2prog.cpp:212:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 2 and 286 bytes into a destination of size 41
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/conninode.o -c conninode.cpp
conninode.cpp: In function ‘int addprocinfo(const char*, std::map<std::__cxx11::basic_string<char>, long unsigned int>&)’:
conninode.cpp:174:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  174 |   fgets(buffer, sizeof(buffer), procinfo);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conninode.cpp: In function ‘int addprocinfo(const char*, std::map<std::__cxx11::basic_string<char>, long unsigned int>&)’:
conninode.cpp:174:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  174 |   fgets(buffer, sizeof(buffer), procinfo);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2  -c -o devices.o devices.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o obj/lib/release/devices.o -c devices.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wl,-z,relro -Wl,-z,now main.cpp packet.o connection.o process.o decpcap.o cui.o inode2prog.o conninode.o devices.o -o nethogs -lpcap -lm -lncurses -DVERSION=\"0.8.8\"
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -shared -Wl,-soname,libnethogs.so.0 -Wl,-z,now -Wl,-z,relro obj/lib/release/libnethogs.o obj/lib/release/packet.o obj/lib/release/connection.o obj/lib/release/process.o obj/lib/release/decpcap.o obj/lib/release/inode2prog.o obj/lib/release/conninode.o obj/lib/release/devices.o -o libnethogs.so.0.8.8 -lpcap
ar rcs libnethogs.a obj/lib/release/libnethogs.o obj/lib/release/packet.o obj/lib/release/connection.o obj/lib/release/process.o obj/lib/release/decpcap.o obj/lib/release/inode2prog.o obj/lib/release/conninode.o obj/lib/release/devices.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
main.cpp: In function ‘void quit_cb(int)’:
main.cpp:76:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   76 |     write(self_pipe.second, "x", 1);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
	make -j2 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeApp.mk test
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now  conninode_test.cpp   -o conninode_test
In file included from conninode_test.cpp:1:
conninode.cpp: In function ‘int addprocinfo(const char*, std::map<std::__cxx11::basic_string<char>, long unsigned int>&)’:
conninode.cpp:174:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  174 |   fgets(buffer, sizeof(buffer), procinfo);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
for test in conninode_test; do echo $test ; ./$test ; done
conninode_test
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make install DESTDIR=/<<PKGBUILDDIR>>/debian/nethogs
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeApp.mk install
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
install -d -m 755 /<<PKGBUILDDIR>>/debian/nethogs/usr/sbin
install -m 755 nethogs /<<PKGBUILDDIR>>/debian/nethogs/usr/sbin

Installed nethogs to /<<PKGBUILDDIR>>/debian/nethogs/usr/sbin

You might have to add this directory to your PATH and/or refresh your shells' path cache with a command like 'hash -r'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make -C doc install
make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
install -d -m 755 /<<PKGBUILDDIR>>/debian/nethogs/usr/share/man/man8
install -m 644 nethogs.8 /<<PKGBUILDDIR>>/debian/nethogs/usr/share/man/man8
make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/libnethogs0
make install_lib DESTDIR=/<<PKGBUILDDIR>>/debian/libnethogs0
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeLib.mk install
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
install -d -m 755 /<<PKGBUILDDIR>>/debian/libnethogs0/usr/lib
install -m 755 libnethogs.so.0.8.8 /<<PKGBUILDDIR>>/debian/libnethogs0/usr/lib
Installed libnethogs.so.0.8.8 to /<<PKGBUILDDIR>>/debian/libnethogs0/usr/lib
ldconfig || true
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
ln -sf libnethogs.so.0.8.8 /<<PKGBUILDDIR>>/debian/libnethogs0/usr/lib/libnethogs.so.0
mkdir -p /<<PKGBUILDDIR>>/debian/libnethogs-dev
make install_dev DESTDIR=/<<PKGBUILDDIR>>/debian/libnethogs-dev
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C src -f MakeLib.mk install_dev
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
install -d -m 755 /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib
install -m 755 libnethogs.so.0.8.8 /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib
Installed libnethogs.so.0.8.8 to /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib
ldconfig || true
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
install -m 755 libnethogs.a /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib
Installed libnethogs.a to /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib
install -d -m 755 /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/include
install -m 755 libnethogs.h /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/include
Installed libnethogs.h to /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/include
ldconfig || true
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib/libnethogs.so*
ln -sf libnethogs.so.0.8.8 /<<PKGBUILDDIR>>/debian/libnethogs-dev/usr/lib/libnethogs.so
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs
   dh_installchangelogs
   dh_installman
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libnethogs0/DEBIAN/symbols does not match completely debian/libnethogs0.symbols
--- debian/libnethogs0.symbols (libnethogs0_0.8.8-4_amd64)
+++ dpkg-gensymbolsv_gfqd	2026-08-03 17:10:48.002016946 +0000
@@ -31,6 +31,11 @@
  (c++)"Process::gettotalb(float*, float*)@Base" 0.8.8
  (c++)"Process::gettotalkb(float*, float*)@Base" 0.8.8
  (c++)"Process::gettotalmb(float*, float*)@Base" 0.8.8
+ _ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED0Ev@Base 0.8.8-4
+ _ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED1Ev@Base 0.8.8-4
+ _ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEED2Ev@Base 0.8.8-4
+ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_@Base 0.8.8-4
+ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_@Base 0.8.8-4
  (c++)"addprocinfo(char const*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned long> > >&)@Base" 0.8.8
  (c++)"addtoconninode(char*, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unsigned long> > >&)@Base" 0.8.8
  (c++)"already_seen(device*, char*)@Base" 0.8.8
@@ -142,4 +147,4 @@
  unknownudp@Base 0.8.8
  (c++)"up_running(int)@Base" 0.8.8
  viewMode@Base 0.8.8
- (c++|arch=!m68k)"void std::vector<int, std::allocator<int> >::_M_realloc_append<int const&>(int const&)@Base" 0.8.8
+#MISSING: 0.8.8-4# (c++|arch=!m68k)"void std::vector<int, std::allocator<int> >::_M_realloc_append<int const&>(int const&)@Base" 0.8.8
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------