>>> pg_top: Building community/pg_top 4.0.0-r1 (using abuild 3.13.0-r3) started Sun, 05 May 2024 08:32:46 +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/35) Installing libarchive (3.7.3-r0) (2/35) Installing rhash-libs (1.4.4-r0) (3/35) Installing libuv (1.48.0-r0) (4/35) Installing cmake (3.29.2-r1) (5/35) Installing bsd-compat-headers (0.7.2-r6) (6/35) Installing libmd (1.1.0-r0) (7/35) Installing libmd-dev (1.1.0-r0) (8/35) Installing libbsd (0.12.2-r0) (9/35) Installing libbsd-dev (0.12.2-r0) (10/35) Installing libformw (6.4_p20240330-r0) (11/35) Installing libmenuw (6.4_p20240330-r0) (12/35) Installing libpanelw (6.4_p20240330-r0) (13/35) Installing libncurses++ (6.4_p20240330-r0) (14/35) Installing ncurses-dev (6.4_p20240330-r0) (15/35) Installing libpq (16.2-r4) (16/35) Installing openssl-dev (3.3.0-r1) (17/35) Installing libpq-dev (16.2-r4) (18/35) Installing libecpg (16.2-r4) (19/35) Installing libecpg-dev (16.2-r4) (20/35) Installing clang16-headers (16.0.6-r5) (21/35) Installing llvm16-libs (16.0.6-r8) (22/35) Installing clang16-libs (16.0.6-r5) (23/35) Installing llvm16-linker-tools (16.0.6-r8) (24/35) Installing clang16 (16.0.6-r5) (25/35) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (26/35) Installing icu-libs (74.2-r0) (27/35) Installing icu (74.2-r0) (28/35) Installing icu-dev (74.2-r0) (29/35) Installing llvm16 (16.0.6-r8) (30/35) Installing lz4-dev (1.9.4-r5) (31/35) Installing zstd (1.5.6-r0) (32/35) Installing zstd-dev (1.5.6-r0) (33/35) Installing postgresql16-dev (16.2-r4) (34/35) Installing samurai (1.2-r5) (35/35) Installing .makedepends-pg_top (20240505.083257) Executing busybox-1.36.1-r26.trigger OK: 2121 MiB in 158 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.20/pg_top-v4.0.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.20/pg_top-v4.0.0.tar.gz.part' pg_top-v4.0.0.tar.gz 100% |********************************| 147k 0:00:00 ETA '/var/cache/distfiles/v3.20/pg_top-v4.0.0.tar.gz.part' saved >>> pg_top: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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/v3.20/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 - 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 (2.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:54, 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:54, 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 -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.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/gcc/x86_64-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-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 Sun, 05 May 2024 08:33:05 +0000 elapsed time 0h 0m 19s >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Uninstalling dependencies... (1/35) Purging .makedepends-pg_top (20240505.083257) (2/35) Purging cmake (3.29.2-r1) (3/35) Purging libbsd-dev (0.12.2-r0) (4/35) Purging bsd-compat-headers (0.7.2-r6) (5/35) Purging libmd-dev (1.1.0-r0) (6/35) Purging libbsd (0.12.2-r0) (7/35) Purging ncurses-dev (6.4_p20240330-r0) (8/35) Purging libncurses++ (6.4_p20240330-r0) (9/35) Purging libpanelw (6.4_p20240330-r0) (10/35) Purging samurai (1.2-r5) (11/35) Purging libarchive (3.7.3-r0) (12/35) Purging libformw (6.4_p20240330-r0) (13/35) Purging libmd (1.1.0-r0) (14/35) Purging libmenuw (6.4_p20240330-r0) (15/35) Purging libuv (1.48.0-r0) (16/35) Purging postgresql16-dev (16.2-r4) (17/35) Purging libecpg-dev (16.2-r4) (18/35) Purging libecpg (16.2-r4) (19/35) Purging clang16 (16.0.6-r5) (20/35) Purging clang16-headers (16.0.6-r5) (21/35) Purging icu-dev (74.2-r0) (22/35) Purging llvm16 (16.0.6-r8) (23/35) Purging llvm16-linker-tools (16.0.6-r8) (24/35) Purging lz4-dev (1.9.4-r5) (25/35) Purging zstd-dev (1.5.6-r0) (26/35) Purging zstd (1.5.6-r0) (27/35) Purging rhash-libs (1.4.4-r0) (28/35) Purging clang16-libs (16.0.6-r5) (29/35) Purging icu (74.2-r0) (30/35) Purging icu-libs (74.2-r0) (31/35) Purging icu-data-en (74.2-r0) (32/35) Purging libpq-dev (16.2-r4) (33/35) Purging libpq (16.2-r4) (34/35) Purging llvm16-libs (16.0.6-r8) (35/35) Purging openssl-dev (3.3.0-r1) Executing busybox-1.36.1-r26.trigger OK: 1693 MiB in 123 packages >>> pg_top: Updating the community/x86_64 repository index... >>> pg_top: Signing the index...