>>> pg_top: Building community/pg_top 4.0.0-r1 (using abuild 3.12.0-r0) started Sun, 03 Dec 2023 16:58:56 +0000 >>> pg_top: Checking sanity of /home/buildozer/aports/community/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/40) Installing libbz2 (1.0.8-r6) (2/40) Installing xz-libs (5.4.5-r0) (3/40) Installing libarchive (3.7.2-r0) (4/40) Installing rhash-libs (1.4.4-r0) (5/40) Installing libuv (1.47.0-r0) (6/40) Installing cmake (3.27.8-r0) (7/40) Installing bsd-compat-headers (0.7.2-r5) (8/40) Installing linux-headers (6.5-r0) (9/40) Installing libmd (1.1.0-r0) (10/40) Installing libmd-dev (1.1.0-r0) (11/40) Installing libbsd (0.11.7-r3) (12/40) Installing libbsd-dev (0.11.7-r3) (13/40) Installing libformw (6.4_p20231125-r0) (14/40) Installing libmenuw (6.4_p20231125-r0) (15/40) Installing libpanelw (6.4_p20231125-r0) (16/40) Installing libncurses++ (6.4_p20231125-r0) (17/40) Installing ncurses-dev (6.4_p20231125-r0) (18/40) Installing libpq (16.1-r0) (19/40) Installing openssl-dev (3.1.4-r2) (20/40) Installing libpq-dev (16.1-r0) (21/40) Installing libecpg (16.1-r0) (22/40) Installing libecpg-dev (16.1-r0) (23/40) Installing clang15-headers (15.0.7-r18) (24/40) Installing libffi (3.4.4-r3) (25/40) Installing libxml2 (2.11.6-r0) (26/40) Installing llvm15-libs (15.0.7-r12) (27/40) Installing clang15-libs (15.0.7-r18) (28/40) Installing clang15-libclang (15.0.7-r18) (29/40) Installing clang15 (15.0.7-r18) (30/40) Installing icu-data-en (74.1-r0) Executing icu-data-en-74.1-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (31/40) Installing icu-libs (74.1-r0) (32/40) Installing icu (74.1-r0) (33/40) Installing icu-dev (74.1-r0) (34/40) Installing llvm15 (15.0.7-r12) (35/40) Installing lz4-dev (1.9.4-r5) (36/40) Installing zstd (1.5.5-r8) (37/40) Installing zstd-dev (1.5.5-r8) (38/40) Installing postgresql16-dev (16.1-r0) (39/40) Installing samurai (1.2-r5) (40/40) Installing .makedepends-pg_top (20231203.165856) Executing busybox-1.36.1-r15.trigger OK: 879 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/v3.19//pg_top-v4.0.0.tar.gz >>> pg_top: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19//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/pg_top-v4.0.0.tar.gz... -- The C compiler identification is GNU 13.2.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 - aarch64 -- 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 (1.0s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build Change Dir: '/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/machine/m_linux.c [2/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/machine/m_common.c [3/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0 -Wall -Os -DNDEBUG -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/machine/m_remote.c [4/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/version.c [5/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/utils.c [6/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/pg_top.c [7/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/pg.c [8/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/sprompt.c [9/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/screen.c [10/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/getopt.c [11/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/display.c [12/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/commands.c [13/14] /usr/bin/gcc -I/home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/build -I/home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/color.c /home/buildozer/aports/community/pg_top/src/pg_top-v4.0.0/pg_top.c: In function 'main': /home/buildozer/aports/community/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/community/pg_top/src/pg_top-v4.0.0/pg_top.c:657:21: note: 'av' was declared here 657 | char **av; | ^~ /home/buildozer/aports/community/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/community/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/community/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/community/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/community/pg_top/src/pg_top-v4.0.0/machine/m_linux.c: In function 'get_system_info': /home/buildozer/aports/community/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/community/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/community/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/community/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 -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/aarch64-alpine-linux-musl/13.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.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/community/pg_top/pkg/pg_top/usr/bin/pg_top -- Installing: /home/buildozer/aports/community/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-aarch64.so.1 so:libncursesw.so.6 so:libpq.so.5 >>> pg_top*: Package size: 148.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 Sun, 03 Dec 2023 16:59:01 +0000 elapsed time 0h 0m 5s >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Uninstalling dependencies... (1/40) Purging .makedepends-pg_top (20231203.165856) (2/40) Purging cmake (3.27.8-r0) (3/40) Purging libbsd-dev (0.11.7-r3) (4/40) Purging bsd-compat-headers (0.7.2-r5) (5/40) Purging libmd-dev (1.1.0-r0) (6/40) Purging libbsd (0.11.7-r3) (7/40) Purging linux-headers (6.5-r0) (8/40) Purging ncurses-dev (6.4_p20231125-r0) (9/40) Purging libncurses++ (6.4_p20231125-r0) (10/40) Purging libpanelw (6.4_p20231125-r0) (11/40) Purging samurai (1.2-r5) (12/40) Purging libarchive (3.7.2-r0) (13/40) Purging libbz2 (1.0.8-r6) (14/40) Purging libformw (6.4_p20231125-r0) (15/40) Purging libmd (1.1.0-r0) (16/40) Purging libmenuw (6.4_p20231125-r0) (17/40) Purging libuv (1.47.0-r0) (18/40) Purging postgresql16-dev (16.1-r0) (19/40) Purging libecpg-dev (16.1-r0) (20/40) Purging libecpg (16.1-r0) (21/40) Purging clang15 (15.0.7-r18) (22/40) Purging icu-dev (74.1-r0) (23/40) Purging llvm15 (15.0.7-r12) (24/40) Purging lz4-dev (1.9.4-r5) (25/40) Purging zstd-dev (1.5.5-r8) (26/40) Purging zstd (1.5.5-r8) (27/40) Purging rhash-libs (1.4.4-r0) (28/40) Purging clang15-libclang (15.0.7-r18) (29/40) Purging clang15-headers (15.0.7-r18) (30/40) Purging clang15-libs (15.0.7-r18) (31/40) Purging icu (74.1-r0) (32/40) Purging icu-libs (74.1-r0) (33/40) Purging icu-data-en (74.1-r0) (34/40) Purging llvm15-libs (15.0.7-r12) (35/40) Purging libffi (3.4.4-r3) (36/40) Purging libpq-dev (16.1-r0) (37/40) Purging libpq (16.1-r0) (38/40) Purging libxml2 (2.11.6-r0) (39/40) Purging openssl-dev (3.1.4-r2) (40/40) Purging xz-libs (5.4.5-r0) Executing busybox-1.36.1-r15.trigger OK: 474 MiB in 108 packages >>> pg_top: Updating the community/aarch64 repository index... >>> pg_top: Signing the index...