>>> pg_top: Building testing/pg_top 4.0.0-r0 (using abuild 3.11.1-r0) started Fri, 26 May 2023 06:35:04 +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/39) Installing libbz2 (1.0.8-r6) (2/39) Installing xz-libs (5.4.3-r1) (3/39) Installing libarchive (3.6.2-r3) (4/39) Installing libformw (6.4_p20230520-r0) (5/39) Installing rhash-libs (1.4.3-r2) (6/39) Installing libuv (1.45.0-r0) (7/39) Installing cmake (3.26.4-r0) (8/39) Installing bsd-compat-headers (0.7.2-r5) (9/39) Installing linux-headers (6.3-r0) (10/39) Installing libmd (1.0.4-r2) (11/39) Installing libmd-dev (1.0.4-r2) (12/39) Installing libbsd (0.11.7-r2) (13/39) Installing libbsd-dev (0.11.7-r2) (14/39) Installing libmenuw (6.4_p20230520-r0) (15/39) Installing libpanelw (6.4_p20230520-r0) (16/39) Installing libncurses++ (6.4_p20230520-r0) (17/39) Installing ncurses-dev (6.4_p20230520-r0) (18/39) Installing libpq (15.3-r0) (19/39) Installing openssl-dev (3.1.0-r5) (20/39) Installing libpq-dev (15.3-r0) (21/39) Installing libecpg (15.3-r0) (22/39) Installing libecpg-dev (15.3-r0) (23/39) Installing libffi (3.4.4-r3) (24/39) Installing libxml2 (2.11.4-r0) (25/39) Installing llvm14-libs (14.0.6-r15) (26/39) Installing clang14-libs (14.0.6-r7) (27/39) Installing clang14-libclang (14.0.6-r7) (28/39) Installing clang14 (14.0.6-r7) (29/39) Installing icu-data-en (73.1-r2) Executing icu-data-en-73.1-r2.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (30/39) Installing icu-libs (73.1-r2) (31/39) Installing icu (73.1-r2) (32/39) Installing icu-dev (73.1-r2) (33/39) Installing llvm14 (14.0.6-r15) (34/39) Installing lz4-dev (1.9.4-r5) (35/39) Installing zstd (1.5.5-r5) (36/39) Installing zstd-dev (1.5.5-r5) (37/39) Installing postgresql15-dev (15.3-r0) (38/39) Installing samurai (1.2-r3) (39/39) Installing .makedepends-pg_top (20230526.063506) Executing busybox-1.36.1-r0.trigger OK: 731 MiB in 142 packages >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> 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 0 147k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147k 100 147k 0 0 1306k 0 --:--:-- --:--:-- --:--:-- 1306k >>> 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 (2.2s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/testing/pg_top/src/pg_top-v4.0.0/build [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-r0.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-r0.apk >>> pg_top: Build complete at Fri, 26 May 2023 06:35:13 +0000 elapsed time 0h 0m 9s >>> pg_top: Cleaning up srcdir >>> pg_top: Cleaning up pkgdir >>> pg_top: Uninstalling dependencies... (1/39) Purging .makedepends-pg_top (20230526.063506) (2/39) Purging cmake (3.26.4-r0) (3/39) Purging libbsd-dev (0.11.7-r2) (4/39) Purging bsd-compat-headers (0.7.2-r5) (5/39) Purging libmd-dev (1.0.4-r2) (6/39) Purging libbsd (0.11.7-r2) (7/39) Purging linux-headers (6.3-r0) (8/39) Purging ncurses-dev (6.4_p20230520-r0) (9/39) Purging libncurses++ (6.4_p20230520-r0) (10/39) Purging libpanelw (6.4_p20230520-r0) (11/39) Purging samurai (1.2-r3) (12/39) Purging libarchive (3.6.2-r3) (13/39) Purging libbz2 (1.0.8-r6) (14/39) Purging libformw (6.4_p20230520-r0) (15/39) Purging libmd (1.0.4-r2) (16/39) Purging libmenuw (6.4_p20230520-r0) (17/39) Purging libuv (1.45.0-r0) (18/39) Purging postgresql15-dev (15.3-r0) (19/39) Purging libecpg-dev (15.3-r0) (20/39) Purging libecpg (15.3-r0) (21/39) Purging clang14 (14.0.6-r7) (22/39) Purging clang14-libclang (14.0.6-r7) (23/39) Purging icu-dev (73.1-r2) (24/39) Purging llvm14 (14.0.6-r15) (25/39) Purging lz4-dev (1.9.4-r5) (26/39) Purging zstd-dev (1.5.5-r5) (27/39) Purging zstd (1.5.5-r5) (28/39) Purging rhash-libs (1.4.3-r2) (29/39) Purging clang14-libs (14.0.6-r7) (30/39) Purging icu (73.1-r2) (31/39) Purging icu-libs (73.1-r2) (32/39) Purging icu-data-en (73.1-r2) (33/39) Purging llvm14-libs (14.0.6-r15) (34/39) Purging libffi (3.4.4-r3) (35/39) Purging libpq-dev (15.3-r0) (36/39) Purging libpq (15.3-r0) (37/39) Purging libxml2 (2.11.4-r0) (38/39) Purging openssl-dev (3.1.0-r5) (39/39) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.1-r0.trigger OK: 374 MiB in 103 packages >>> pg_top: Updating the testing/x86_64 repository index... >>> pg_top: Signing the index...