>>> pg_top: Building testing/pg_top 4.0.0-r1 (using abuild 3.11.21-r0) started Tue, 03 Oct 2023 23:34:51 +0000 >>> pg_top: Checking sanity of /home/buildozer/aports/testing/pg_top/APKBUILD... >>> pg_top: Analyzing dependencies... >>> pg_top: Installing for build: build-base cmake libbsd-dev linux-headers ncurses-dev postgresql-dev samurai (1/38) Installing libarchive (3.7.2-r0) (2/38) Installing rhash-libs (1.4.4-r0) (3/38) Installing libuv (1.46.0-r0) (4/38) Installing cmake (3.27.6-r0) (5/38) Installing bsd-compat-headers (0.7.2-r5) (6/38) Installing linux-headers (6.5-r0) (7/38) Installing libmd (1.1.0-r0) (8/38) Installing libmd-dev (1.1.0-r0) (9/38) Installing libbsd (0.11.7-r3) (10/38) Installing libbsd-dev (0.11.7-r3) (11/38) Installing libformw (6.4_p20230918-r0) (12/38) Installing libmenuw (6.4_p20230918-r0) (13/38) Installing libpanelw (6.4_p20230918-r0) (14/38) Installing libncurses++ (6.4_p20230918-r0) (15/38) Installing ncurses-dev (6.4_p20230918-r0) (16/38) Installing libpq (16.0-r1) (17/38) Installing openssl-dev (3.1.3-r0) (18/38) Installing libpq-dev (16.0-r1) (19/38) Installing libecpg (16.0-r1) (20/38) Installing libecpg-dev (16.0-r1) (21/38) Installing clang15-headers (15.0.7-r18) (22/38) Installing libffi (3.4.4-r3) (23/38) Installing libxml2 (2.11.5-r0) (24/38) Installing llvm15-libs (15.0.7-r12) (25/38) Installing clang15-libs (15.0.7-r18) (26/38) Installing clang15-libclang (15.0.7-r18) (27/38) Installing clang15 (15.0.7-r18) (28/38) Installing icu-data-en (73.2-r2) Executing icu-data-en-73.2-r2.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (29/38) Installing icu-libs (73.2-r2) (30/38) Installing icu (73.2-r2) (31/38) Installing icu-dev (73.2-r2) (32/38) Installing llvm15 (15.0.7-r12) (33/38) Installing lz4-dev (1.9.4-r5) (34/38) Installing zstd (1.5.5-r7) (35/38) Installing zstd-dev (1.5.5-r7) (36/38) Installing postgresql16-dev (16.0-r1) (37/38) Installing samurai (1.2-r5) (38/38) Installing .makedepends-pg_top (20231003.233452) Executing busybox-1.36.1-r9.trigger OK: 787 MiB in 148 packages >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Cleaning up tmpdir >>> pg_top: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pg_top-v4.0.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147k 100 147k 0 0 1336k 0 --:--:-- --:--:-- --:--:-- 1342k >>> pg_top: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pg_top-v4.0.0.tar.gz >>> pg_top: Checking sha512sums... pg_top-v4.0.0.tar.gz: OK >>> pg_top: Unpacking /var/cache/distfiles/edge/pg_top-v4.0.0.tar.gz... -- The C compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- machine - linux -- arch - x86_64 -- pg_config --includedir - /usr/include/postgresql -- pg_config --libdir - /usr/lib -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include files sys/time.h, time.h -- Looking for include files sys/time.h, time.h - found -- Looking for include file sys/time.h -- Looking for include file sys/time.h - found -- Looking for include file sys/resource.h -- Looking for include file sys/resource.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for getopt -- Looking for getopt - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for setpriority -- Looking for setpriority - found -- Looking for sigaction -- Looking for sigaction - found -- Looking for sighold -- Looking for sighold - found -- Looking for sigprocmask -- Looking for sigprocmask - found -- Looking for sigrelse -- Looking for sigrelse - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for strchr -- Looking for strchr - found -- Looking for strerror -- Looking for strerror - found -- Performing Test SIGNAL_RETURN -- Performing Test SIGNAL_RETURN - Failed -- Performing Test TIME_T_DEFINED -- Performing Test TIME_T_DEFINED - Success -- Configuring done (4.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build Change Dir: '/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build' Run Build Command(s): /usr/bin/ninja -v [1/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/machine/m_linux.c.o -MF CMakeFiles/pg_top.dir/machine/m_linux.c.o.d -o CMakeFiles/pg_top.dir/machine/m_linux.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c [2/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/machine/m_common.c.o -MF CMakeFiles/pg_top.dir/machine/m_common.c.o.d -o CMakeFiles/pg_top.dir/machine/m_common.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_common.c [3/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/machine/m_remote.c.o -MF CMakeFiles/pg_top.dir/machine/m_remote.c.o.d -o CMakeFiles/pg_top.dir/machine/m_remote.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_remote.c [4/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -DPACKAGE_VERSION=\"4.0.0\" -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/version.c.o -MF CMakeFiles/pg_top.dir/version.c.o.d -o CMakeFiles/pg_top.dir/version.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/version.c [5/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/utils.c.o -MF CMakeFiles/pg_top.dir/utils.c.o.d -o CMakeFiles/pg_top.dir/utils.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/utils.c [6/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/pg_top.c.o -MF CMakeFiles/pg_top.dir/pg_top.c.o.d -o CMakeFiles/pg_top.dir/pg_top.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c [7/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/pg.c.o -MF CMakeFiles/pg_top.dir/pg.c.o.d -o CMakeFiles/pg_top.dir/pg.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg.c [8/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/sprompt.c.o -MF CMakeFiles/pg_top.dir/sprompt.c.o.d -o CMakeFiles/pg_top.dir/sprompt.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/sprompt.c [9/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/screen.c.o -MF CMakeFiles/pg_top.dir/screen.c.o.d -o CMakeFiles/pg_top.dir/screen.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/screen.c [10/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -MD -MT CMakeFiles/pg_top.dir/getopt.c.o -MF CMakeFiles/pg_top.dir/getopt.c.o.d -o CMakeFiles/pg_top.dir/getopt.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/getopt.c [11/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/display.c.o -MF CMakeFiles/pg_top.dir/display.c.o.d -o CMakeFiles/pg_top.dir/display.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/display.c [12/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/commands.c.o -MF CMakeFiles/pg_top.dir/commands.c.o.d -o CMakeFiles/pg_top.dir/commands.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/commands.c [13/14] /usr/bin/gcc -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/usr/include/postgresql -MD -MT CMakeFiles/pg_top.dir/color.c.o -MF CMakeFiles/pg_top.dir/color.c.o.d -o CMakeFiles/pg_top.dir/color.c.o -c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/color.c /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c: In function 'main': /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c:757:17: warning: 'av' may be used uninitialized [-Wmaybe-uninitialized] 757 | process_arguments(&pgtctx, ac, av); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c:657:21: note: 'av' was declared here 657 | char **av; | ^~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c:757:17: warning: 'ac' may be used uninitialized [-Wmaybe-uninitialized] 757 | process_arguments(&pgtctx, ac, av); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/pg_top.c:658:33: note: 'ac' was declared here 658 | int ac; | ^~ In file included from /usr/include/bsd/sys/cdefs.h:51, from /usr/include/bsd/libutil.h:45, from /usr/include/bsd/stdlib.h:39, from /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_remote.c:14: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ In file included from /usr/include/bsd/sys/cdefs.h:51, from /usr/include/bsd/libutil.h:45, from /usr/include/bsd/stdlib.h:39, from /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c:30: /usr/include/sys/cdefs.h:4:2: warning: #warning usage of non-standard #include is deprecated [-Wcpp] 4 | #warning usage of non-standard #include is deprecated | ^~~~~~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c: In function 'get_system_info': /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c:451:36: warning: array subscript -1 is outside array bounds of 'char[4097]' [-Warray-bounds=] 451 | p = buffer - 1; | ~~~~~~~^~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c:387:25: note: at offset -1 into object 'buffer' of size 4097 387 | char buffer[4096 + 1]; | ^~~~~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c:549:36: warning: array subscript -1 is outside array bounds of 'char[4097]' [-Warray-bounds=] 549 | p = buffer - 1; | ~~~~~~~^~~ /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/machine/m_linux.c:387:25: note: at offset -1 into object 'buffer' of size 4097 387 | char buffer[4096 + 1]; | ^~~~~~ [14/14] : && /usr/bin/gcc -Wall -Os -DNDEBUG -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -rdynamic CMakeFiles/pg_top.dir/color.c.o CMakeFiles/pg_top.dir/commands.c.o CMakeFiles/pg_top.dir/display.c.o CMakeFiles/pg_top.dir/getopt.c.o CMakeFiles/pg_top.dir/screen.c.o CMakeFiles/pg_top.dir/sprompt.c.o CMakeFiles/pg_top.dir/pg.c.o CMakeFiles/pg_top.dir/pg_top.c.o CMakeFiles/pg_top.dir/utils.c.o CMakeFiles/pg_top.dir/version.c.o CMakeFiles/pg_top.dir/machine/m_remote.c.o CMakeFiles/pg_top.dir/machine/m_common.c.o CMakeFiles/pg_top.dir/machine/m_linux.c.o -o pg_top -lpq -Wl,-Bstatic -lm -ldl -Wl,-Bdynamic -lcurses -lbsd && : /usr/lib/gcc/x86_64-alpine-linux-musl/13.1.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-alpine-linux-musl/13.1.1/../../../../lib/libc.so: warning: The fgetln() function cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008. >>> pg_top: Entering fakeroot... -- Install configuration: "MinSizeRel" -- Installing: /home/buildozer/aports/testing/pg_top/pkg/pg_top/usr/bin/pg_top -- Installing: /home/buildozer/aports/testing/pg_top/pkg/pg_top/usr/share/man/man1/pg_top.1 >>> pg_top-doc*: Running split function doc... >>> pg_top-doc*: Preparing subpackage pg_top-doc... >>> pg_top-doc*: Running postcheck for pg_top-doc >>> pg_top*: Running postcheck for pg_top >>> pg_top*: Preparing package pg_top... >>> pg_top*: Stripping binaries >>> pg_top-doc*: Scanning shared objects >>> pg_top*: Scanning shared objects >>> pg_top-doc*: Tracing dependencies... >>> pg_top-doc*: Package size: 24.0 KB >>> pg_top-doc*: Compressing data... >>> pg_top-doc*: Create checksum... >>> pg_top-doc*: Create pg_top-doc-4.0.0-r1.apk >>> pg_top*: Tracing dependencies... so:libbsd.so.0 so:libc.musl-x86_64.so.1 so:libncursesw.so.6 so:libpq.so.5 >>> pg_top*: Package size: 104.0 KB >>> pg_top*: Compressing data... >>> pg_top*: Create checksum... >>> pg_top*: Create pg_top-4.0.0-r1.apk >>> pg_top: Build complete at Tue, 03 Oct 2023 23:35:03 +0000 elapsed time 0h 0m 12s >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Uninstalling dependencies... (1/38) Purging .makedepends-pg_top (20231003.233452) (2/38) Purging cmake (3.27.6-r0) (3/38) Purging libbsd-dev (0.11.7-r3) (4/38) Purging bsd-compat-headers (0.7.2-r5) (5/38) Purging libmd-dev (1.1.0-r0) (6/38) Purging libbsd (0.11.7-r3) (7/38) Purging linux-headers (6.5-r0) (8/38) Purging ncurses-dev (6.4_p20230918-r0) (9/38) Purging libncurses++ (6.4_p20230918-r0) (10/38) Purging libpanelw (6.4_p20230918-r0) (11/38) Purging samurai (1.2-r5) (12/38) Purging libarchive (3.7.2-r0) (13/38) Purging libformw (6.4_p20230918-r0) (14/38) Purging libmd (1.1.0-r0) (15/38) Purging libmenuw (6.4_p20230918-r0) (16/38) Purging libuv (1.46.0-r0) (17/38) Purging postgresql16-dev (16.0-r1) (18/38) Purging libecpg-dev (16.0-r1) (19/38) Purging libecpg (16.0-r1) (20/38) Purging clang15 (15.0.7-r18) (21/38) Purging icu-dev (73.2-r2) (22/38) Purging llvm15 (15.0.7-r12) (23/38) Purging lz4-dev (1.9.4-r5) (24/38) Purging zstd-dev (1.5.5-r7) (25/38) Purging zstd (1.5.5-r7) (26/38) Purging rhash-libs (1.4.4-r0) (27/38) Purging clang15-libclang (15.0.7-r18) (28/38) Purging clang15-headers (15.0.7-r18) (29/38) Purging clang15-libs (15.0.7-r18) (30/38) Purging icu (73.2-r2) (31/38) Purging icu-libs (73.2-r2) (32/38) Purging icu-data-en (73.2-r2) (33/38) Purging llvm15-libs (15.0.7-r12) (34/38) Purging libffi (3.4.4-r3) (35/38) Purging libpq-dev (16.0-r1) (36/38) Purging libpq (16.0-r1) (37/38) Purging libxml2 (2.11.5-r0) (38/38) Purging openssl-dev (3.1.3-r0) Executing busybox-1.36.1-r9.trigger OK: 379 MiB in 110 packages >>> pg_top: Updating the testing/x86_64 repository index... >>> pg_top: Signing the index...