==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_db02271a-25ee-4c0f-8b87-220c174b34e3]...done
==> Making package: nethogs 0.8.8-2.1 (Thu Apr 30 04:59:37 2026)
==> Retrieving sources...
  -> Downloading nethogs-0.8.8.tgz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0100 266.3k 100 266.3k   0      0 693.2k      0                              0100 266.3k 100 266.3k   0      0 693.1k      0                              0100 266.3k 100 266.3k   0      0 693.0k      0                              0
==> Validating source files with sha256sums...
    nethogs-0.8.8.tgz ... Passed
==> Making package: nethogs 0.8.8-2.1 (Thu Apr 30 02:59:40 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (2)   New Version  Net Change

core/libnl    3.12.0-1       2.12 MiB
core/libpcap  1.10.6-1       0.65 MiB

Total Installed Size:  2.77 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libnl...
installing libpcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nethogs-0.8.8.tgz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting nethogs-0.8.8.tgz with bsdtar
==> Starting prepare()...
==> Starting build()...
./determineVersion.sh: line 2: [: ==: unary operator expected
make -C src -f MakeApp.mk decpcap_test
make -C src -f MakeApp.mk test
make -C src -f MakeApp.mk nethogs
make[1]: Entering directory '/startdir/src/nethogs-0.8.8/src'
cc  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c decpcap.c
make[1]: Entering directory '/startdir/src/nethogs-0.8.8/src'
g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs  conninode_test.cpp   -o conninode_test
make[1]: Entering directory '/startdir/src/nethogs-0.8.8/src'
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c packet.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c connection.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c process.cpp
cc  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c decpcap.c
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c cui.cpp -DVERSION=\"0.8.8\"
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c inode2prog.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -c conninode.cpp
g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs   -c -o devices.o devices.cpp
In file included from /usr/include/sys/types.h:25,
                 from /usr/include/net/ethernet.h:24,
                 from packet.h:27,
                 from packet.cpp:23:
/usr/include/features.h:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm
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);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/startdir/src/nethogs-0.8.8/src'
for test in conninode_test; do echo $test ; ./$test ; done
conninode_test
make[1]: Leaving directory '/startdir/src/nethogs-0.8.8/src'
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:974,
                 from /usr/include/c++/15.2.1/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/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++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs 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\"
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[1]: Leaving directory '/startdir/src/nethogs-0.8.8/src'
./determineVersion.sh: line 2: [: ==: unary operator expected
make -C src -f MakeLib.mk all
make[1]: Entering directory '/startdir/src/nethogs-0.8.8/src'
g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/libnethogs.o -c libnethogs.cpp -DVERSION=\"0.8.8\"
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/connection.o -c connection.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/packet.o -c packet.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/process.o -c process.cpp
cc  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/decpcap.o -c decpcap.c
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/inode2prog.o -c inode2prog.cpp
g++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/conninode.o -c conninode.cpp
g++ -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -o obj/lib/release/devices.o -c devices.cpp
In file included from /usr/include/sys/types.h:25,
                 from /usr/include/net/ethernet.h:24,
                 from packet.h:27,
                 from packet.cpp:23:
/usr/include/features.h:205:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  205 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
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:974,
                 from /usr/include/c++/15.2.1/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/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++  -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/nethogs -shared -Wl,-soname,libnethogs.so.0.8.8 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
/usr/bin/ld: obj/lib/release/decpcap.o: warning: relocation against `stdout@@GLIBC_2.2.5' in read-only section `.text'
/usr/bin/ld: obj/lib/release/libnethogs.o: relocation R_X86_64_PC32 against symbol `curtime' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[1]: *** [MakeLib.mk:67: libnethogs.so.0.8.8] Error 1
make[1]: Leaving directory '/startdir/src/nethogs-0.8.8/src'
make: *** [Makefile:43: libnethogs] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_db02271a-25ee-4c0f-8b87-220c174b34e3/build
