==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done ==> Making package: nethogs 0.8.8-2 (Sat Mar 1 08:24:43 2025) ==> Retrieving sources... -> Found nethogs-0.8.8.tgz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... nethogs-0.8.8.tgz ... Passed ==> Making package: nethogs 0.8.8-2 (Sat Mar 1 08:25:02 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (2) libnl-3.11.0-1 libpcap-1.10.5-2 Total Download Size: 0.59 MiB Total Installed Size: 2.21 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... libnl-3.11.0-1-armv7h downloading... libpcap-1.10.5-2-armv7h downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnl... installing libpcap... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> 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 '/build/nethogs/src/nethogs-0.8.8/src' g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now conninode_test.cpp -o conninode_test make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/src' cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -c decpcap.c make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/src' g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c packet.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c connection.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c process.cpp cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -c decpcap.c g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c cui.cpp -DVERSION=\"0.8.8\" g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c inode2prog.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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c conninode.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now decpcap_test.cpp decpcap.o -o decpcap_test -lpcap -lm g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -c -o devices.o devices.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] inode2prog.cpp: In function 'void get_info_for_pid(const char*)': inode2prog.cpp:212:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 11 and 40 [-Wformat-truncation=] In file included from /usr/include/stdio.h:970, from /usr/include/c++/14.2.1/cstdio:42, 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=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -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\" 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’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;] 174 | fgets(buffer, sizeof(buffer), procinfo); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ for test in conninode_test; do echo $test ; ./$test ; done conninode_test make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/src' make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/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’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;] 76 | write(self_pipe.second, "x", 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/src' ./determineVersion.sh: line 2: [: ==: unary operator expected make -C src -f MakeLib.mk all make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/src' g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/libnethogs.o -c libnethogs.cpp -DVERSION=\"0.8.8\" g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/packet.o -c packet.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/connection.o -c connection.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/process.o -c process.cpp cc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -o obj/lib/release/decpcap.o -c decpcap.c g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/inode2prog.o -c inode2prog.cpp g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/conninode.o -c conninode.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:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;] 199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -o obj/lib/release/devices.o -c devices.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] 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] inode2prog.cpp: In function 'void get_info_for_pid(const char*)': inode2prog.cpp:212:33: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 11 and 40 [-Wformat-truncation=] In file included from /usr/include/stdio.h:970, from /usr/include/c++/14.2.1/cstdio:42, 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=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -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 make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/src' ==> Entering fakeroot environment... ==> Starting package()... ./determineVersion.sh: line 2: [: ==: unary operator expected make -C src -f MakeApp.mk install make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/src' install -d -m 755 /build/nethogs/pkg/nethogs/usr/bin install -m 755 nethogs /build/nethogs/pkg/nethogs/usr/bin Installed nethogs to /build/nethogs/pkg/nethogs/usr/bin You might have to add this directory to your PATH and/or refresh your shells' path cache with a command like 'hash -r'. make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/src' make -C doc install make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/doc' install -d -m 755 /build/nethogs/pkg/nethogs/usr/share/man/man8 install -m 644 nethogs.8 /build/nethogs/pkg/nethogs/usr/share/man/man8 make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/doc' ./determineVersion.sh: line 2: [: ==: unary operator expected make -C src -f MakeLib.mk install make[1]: Entering directory '/build/nethogs/src/nethogs-0.8.8/src' install -d -m 755 /build/nethogs/pkg/nethogs/usr/lib install -m 755 libnethogs.so.0.8.8 /build/nethogs/pkg/nethogs/usr/lib Installed libnethogs.so.0.8.8 to /build/nethogs/pkg/nethogs/usr/lib ldconfig || true ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied make[1]: Leaving directory '/build/nethogs/src/nethogs-0.8.8/src' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "nethogs"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: nethogs 0.8.8-2 (Sat Mar 1 08:25:16 2025) ==> Cleaning up...