#1133573 nethogs: ftbfs with GCC-16

Package:
src:nethogs
Source:
src:nethogs
Submitter:
Emanuele Rocca
Date:
2026-04-22 02:43:02 UTC
Severity:
normal
Tags:
#1133573#5
Date:
2026-04-13 13:08:11 UTC
From:
To:
Hi,

nethogs fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/nethogs_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


Installed libnethogs.so.0.8.8 to /build/reproducible-path/nethogs-0.8.8/debian/libnethogs0/usr/lib
ldconfig || true
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: Leaving directory '/build/reproducible-path/nethogs-0.8.8/src'
make[2]: Leaving directory '/build/reproducible-path/nethogs-0.8.8'
ln -sf libnethogs.so.0.8.8 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs0/usr/lib/libnethogs.so.0
mkdir -p /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev
make install_dev DESTDIR=/build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev
make[2]: Entering directory '/build/reproducible-path/nethogs-0.8.8'
make -C src -f MakeLib.mk install_dev
make[3]: Entering directory '/build/reproducible-path/nethogs-0.8.8/src'
install -d -m 755 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib
install -m 755 libnethogs.so.0.8.8 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib
Installed libnethogs.so.0.8.8 to /build/reproducible-path/nethogs-0.8.8/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 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib
Installed libnethogs.a to /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib
install -d -m 755 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/include
install -m 755 libnethogs.h /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/include
Installed libnethogs.h to /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/include
ldconfig || true
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: Leaving directory '/build/reproducible-path/nethogs-0.8.8/src'
make[2]: Leaving directory '/build/reproducible-path/nethogs-0.8.8'
rm -f /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib/libnethogs.so*
ln -sf libnethogs.so.0.8.8 /build/reproducible-path/nethogs-0.8.8/debian/libnethogs-dev/usr/lib/libnethogs.so
make[1]: Leaving directory '/build/reproducible-path/nethogs-0.8.8'
   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_arm64)
+++ dpkg-gensymbolsi6zFjM	2026-03-19 12:53:51.711189520 +0000
@@ -31,6 +31,16 @@
  (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__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@Base 0.8.8-4
+ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_@Base 0.8.8-4
+ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm@Base 0.8.8-4
+ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev@Base 0.8.8-4
+ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev@Base 0.8.8-4
+ _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 +152,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

#1133573#10
Date:
2026-04-22 01:37:25 UTC
From:
To:
user debian-release@lists.debian.org
usertag 1133573 + bsp-2026-04-br-campinas
thank you

#1133573#15
Date:
2026-04-22 02:41:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nethogs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133573@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matheus Polkorny <mpolkorny@gmail.com> (supplier of updated nethogs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 21 Apr 2026 19:17:10 -0300
Source: nethogs
Architecture: source
Version: 0.8.8-5
Distribution: experimental
Urgency: medium
Maintainer: Paulo Roberto Alves de Oliveira (aka kretcheu) <kretcheu@gmail.com>
Changed-By: Matheus Polkorny <mpolkorny@gmail.com>
Closes: 1133573
Changes:
 nethogs (0.8.8-5) experimental; urgency=medium
 .
   * d/control:
     - Bump Standards Version to 4.7.4 (no changes)
     - Remove redundant Priority field
     - Remove redundant Rules-Requires-Root field
   * d/libnethogs0.symbols: Update symbols to gcc-16 (Closes: #1133573)
   * d/watch: Bump to Version 5
Checksums-Sha1:
 13b34063449f653339919dd66ac7cd7a215081de 2115 nethogs_0.8.8-5.dsc
 92b05c12e3c8a786c594d3472d1a2acec0f23643 8048 nethogs_0.8.8-5.debian.tar.xz
 43457664159c5a6b08061923b1f0608fd8e69816 8594 nethogs_0.8.8-5_source.buildinfo
Checksums-Sha256:
 d8fa83f0490e0554507b6d0f9f9b84007044ad91e2957987d6c4f39451adfd35 2115 nethogs_0.8.8-5.dsc
 00d3d35eb3c4bfce8fc4f38f5aba52366f2abccc78985788adef1656bbff98da 8048 nethogs_0.8.8-5.debian.tar.xz
 b36408b13b642aa4bc45296660e2642f96af5951f06243bfa4c4f028893cc091 8594 nethogs_0.8.8-5_source.buildinfo
Files:
 20f1dee3a385c4b855050a9be7fb166b 2115 net optional nethogs_0.8.8-5.dsc
 3cabe89061b384dedb27e9259d727f76 8048 net optional nethogs_0.8.8-5.debian.tar.xz
 f10cfa2bffe49b0bf3849daf425d511a 8594 net optional nethogs_0.8.8-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEcRD/fHLtdypUR2KKShyoWjj77loFAmnoKZgUHG1wb2xrb3Ju
eUBnbWFpbC5jb20ACgkQShyoWjj77lqNEQ/9FFM6FdhscO/1FFLMzaOxE+ST79w4
9dm7Vaj+oIbl0MtPyXrqd0FmY55vak33eEw85c3HE8hf5xBvVxcJT1WE3o7YJpDz
ycoiROxms24ZiAwKFt/B3kAE3PoBqOvBlJsR8vq4SEwAT26+l1smYp+iuljk4oQU
HSLkJ9fudW+Z8ToEMY4I9lZQpg5ev7pMaz5tYPJZ/TiGkeiZIJdc7MlGrn02OhYj
4bm28Erfsabn0SdpxI3gGpRAHfQNSfnr22sDfgVLoAiAgXchy1k0dztQQTPEorBx
jri8dUrimlDGC5LOq/c+R3DTFXfLzTZgxcUv9qb314NmJdFlMjYt38quMtCOb7BD
OQY1DMJXlMsTwJLh1FjuHOsn6+UZqL/F5ivnPQRlhDL0QYNbbj3HnZXTFfzkwdNq
P0xF7rAC/5gdj4KKsexSblqoWzOFA6I09hme59/VUxXRIcml++mv3M/6itUxwiwy
DB46saiiL3FwaexB7+/wG1uvhvQErdseiOEjYGHwMXHopFlRamXQfETZV2WYqi15
WyXli3J7Cz49AMmbMMFNnitAX6HSUNt2A6Ttkejkc7ABw8kxch1CzTMyb4pbH0Rl
RiTHdOhHqFFoLoB4e0dEeAqrzC8KO1czAZ/KwYY4pgj0FxHYZSwHVZNsNHX+bsCM
wSejZxnUTOpi+LM=
=+59m
-----END PGP SIGNATURE-----