>>> pg_top: Building community/pg_top 4.0.0-r1 (using abuild 3.13.0-r3) started Sun, 28 Apr 2024 10:53:13 +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.6.1-r3) (3/40) Installing libarchive (3.7.3-r0) (4/40) Installing rhash-libs (1.4.4-r0) (5/40) Installing libuv (1.48.0-r0) (6/40) Installing cmake (3.29.2-r1) (7/40) Installing bsd-compat-headers (0.7.2-r6) (8/40) Installing linux-headers (6.6-r0) (9/40) Installing libmd (1.1.0-r0) (10/40) Installing libmd-dev (1.1.0-r0) (11/40) Installing libbsd (0.12.2-r0) (12/40) Installing libbsd-dev (0.12.2-r0) (13/40) Installing libformw (6.4_p20240330-r0) (14/40) Installing libmenuw (6.4_p20240330-r0) (15/40) Installing libpanelw (6.4_p20240330-r0) (16/40) Installing libncurses++ (6.4_p20240330-r0) (17/40) Installing ncurses-dev (6.4_p20240330-r0) (18/40) Installing libpq (16.2-r4) (19/40) Installing openssl-dev (3.3.0-r1) (20/40) Installing libpq-dev (16.2-r4) (21/40) Installing libecpg (16.2-r4) (22/40) Installing libecpg-dev (16.2-r4) (23/40) Installing clang16-headers (16.0.6-r5) (24/40) Installing libffi (3.4.6-r0) (25/40) Installing libxml2 (2.12.6-r2) (26/40) Installing llvm16-libs (16.0.6-r8) (27/40) Installing clang16-libs (16.0.6-r5) (28/40) Installing llvm16-linker-tools (16.0.6-r8) (29/40) Installing clang16 (16.0.6-r5) (30/40) 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. * (31/40) Installing icu-libs (74.2-r0) (32/40) Installing icu (74.2-r0) (33/40) Installing icu-dev (74.2-r0) (34/40) Installing llvm16 (16.0.6-r8) (35/40) Installing lz4-dev (1.9.4-r5) (36/40) Installing zstd (1.5.6-r0) (37/40) Installing zstd-dev (1.5.6-r0) (38/40) Installing postgresql16-dev (16.2-r4) (39/40) Installing samurai (1.2-r5) (40/40) Installing .makedepends-pg_top (20240428.105330) Executing busybox-1.36.1-r26.trigger OK: 838 MiB in 142 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) wget: server returned error: HTTP/1.1 404 Not Found >>> pg_top: Fetching https://gitlab.com/pg_top/pg_top/-/archive/v4.0.0/pg_top-v4.0.0.tar.gz Connecting to gitlab.com (172.65.251.78: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 - i686 -- 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.5s) -- 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/i586-alpine-linux-musl/13.2.1/../../../../i586-alpine-linux-musl/bin/ld: /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/../../../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.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, 28 Apr 2024 10:53:44 +0000 elapsed time 0h 0m 31s >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Uninstalling dependencies... (1/40) Purging .makedepends-pg_top (20240428.105330) (2/40) Purging cmake (3.29.2-r1) (3/40) Purging libbsd-dev (0.12.2-r0) (4/40) Purging bsd-compat-headers (0.7.2-r6) (5/40) Purging libmd-dev (1.1.0-r0) (6/40) Purging libbsd (0.12.2-r0) (7/40) Purging linux-headers (6.6-r0) (8/40) Purging ncurses-dev (6.4_p20240330-r0) (9/40) Purging libncurses++ (6.4_p20240330-r0) (10/40) Purging libpanelw (6.4_p20240330-r0) (11/40) Purging samurai (1.2-r5) (12/40) Purging libarchive (3.7.3-r0) (13/40) Purging libbz2 (1.0.8-r6) (14/40) Purging libformw (6.4_p20240330-r0) (15/40) Purging libmd (1.1.0-r0) (16/40) Purging libmenuw (6.4_p20240330-r0) (17/40) Purging libuv (1.48.0-r0) (18/40) Purging postgresql16-dev (16.2-r4) (19/40) Purging libecpg-dev (16.2-r4) (20/40) Purging libecpg (16.2-r4) (21/40) Purging clang16 (16.0.6-r5) (22/40) Purging clang16-headers (16.0.6-r5) (23/40) Purging icu-dev (74.2-r0) (24/40) Purging llvm16 (16.0.6-r8) (25/40) Purging llvm16-linker-tools (16.0.6-r8) (26/40) Purging lz4-dev (1.9.4-r5) (27/40) Purging zstd-dev (1.5.6-r0) (28/40) Purging zstd (1.5.6-r0) (29/40) Purging rhash-libs (1.4.4-r0) (30/40) Purging clang16-libs (16.0.6-r5) (31/40) Purging icu (74.2-r0) (32/40) Purging icu-libs (74.2-r0) (33/40) Purging icu-data-en (74.2-r0) (34/40) Purging llvm16-libs (16.0.6-r8) (35/40) Purging libffi (3.4.6-r0) (36/40) Purging libpq-dev (16.2-r4) (37/40) Purging libpq (16.2-r4) (38/40) Purging libxml2 (2.12.6-r2) (39/40) Purging openssl-dev (3.3.0-r1) (40/40) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r26.trigger OK: 376 MiB in 102 packages >>> pg_top: Updating the community/x86 repository index... >>> pg_top: Signing the index...