>>> libdsme: Building community/libdsme 0.66.7-r0 (using abuild 3.10.0_rc1-r2) started Wed, 26 Oct 2022 14:27:05 +0000 >>> libdsme: Checking sanity of /home/buildozer/aports/community/libdsme/APKBUILD... >>> libdsme: Analyzing dependencies... >>> libdsme: Installing for build: build-base check-dev glib-dev coreutils (1/45) Installing check (0.15.2-r1) (2/45) Installing check-dev (0.15.2-r1) (3/45) Installing libbz2 (1.0.8-r3) (4/45) Installing bzip2-dev (1.0.8-r3) (5/45) Installing xz-libs (5.2.7-r0) (6/45) Installing libxml2 (2.10.3-r0) (7/45) Installing libxml2-utils (2.10.3-r0) (8/45) Installing docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-install (9/45) Installing libgpg-error (1.46-r1) (10/45) Installing libgcrypt (1.10.1-r0) (11/45) Installing libxslt (1.1.37-r0) (12/45) Installing docbook-xsl (1.79.2-r6) Executing docbook-xsl-1.79.2-r6.post-install (13/45) Installing gettext-asprintf (0.21.1-r1) (14/45) Installing libintl (0.21.1-r1) (15/45) Installing libunistring (1.1-r0) (16/45) Installing gettext-libs (0.21.1-r1) (17/45) Installing gettext (0.21.1-r1) (18/45) Installing gettext-dev (0.21.1-r1) (19/45) Installing libffi (3.4.3-r0) (20/45) Installing gdbm (1.23-r0) (21/45) Installing mpdecimal (2.5.1-r1) (22/45) Installing readline (8.2.0-r0) (23/45) Installing sqlite-libs (3.39.4-r0) (24/45) Installing python3 (3.10.8-r1) (25/45) Installing libblkid (2.38.1-r0) (26/45) Installing libmount (2.38.1-r0) (27/45) Installing glib (2.74.1-r0) (28/45) Installing linux-headers (5.19.5-r0) (29/45) Installing libffi-dev (3.4.3-r0) (30/45) Installing bsd-compat-headers (0.7.2-r3) (31/45) Installing ncurses-dev (6.3_p20221008-r0) (32/45) Installing libedit-dev (20221009.3.1-r0) (33/45) Installing zlib-dev (1.2.13-r0) (34/45) Installing libpcre2-16 (10.40-r0) (35/45) Installing libpcre2-32 (10.40-r0) (36/45) Installing pcre2-dev (10.40-r0) (37/45) Installing libuuid (2.38.1-r0) (38/45) Installing libfdisk (2.38.1-r0) (39/45) Installing libsmartcols (2.38.1-r0) (40/45) Installing util-linux-dev (2.38.1-r0) (41/45) Installing glib-dev (2.74.1-r0) (42/45) Installing skalibs (2.12.0.1-r0) (43/45) Installing utmps-libs (0.1.2.0-r1) (44/45) Installing coreutils (9.1-r0) (45/45) Installing .makedepends-libdsme (20221026.142713) Executing busybox-1.35.0-r27.trigger Executing glib-2.74.1-r0.trigger No schema files found: doing nothing. OK: 398 MiB in 137 packages >>> libdsme: Cleaning up srcdir >>> libdsme: Cleaning up pkgdir >>> libdsme: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/libdsme-0.66.7.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 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libdsme: Fetching https://github.com/sailfishos/libdsme//archive/0.66.7/libdsme-0.66.7.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 39846 0 39846 0 0 48623 0 --:--:-- --:--:-- --:--:-- 48623 >>> libdsme: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/libdsme-0.66.7.tar.gz >>> libdsme: Checking sha512sums... libdsme-0.66.7.tar.gz: OK >>> libdsme: Unpacking /var/cache/distfiles/v3.17/libdsme-0.66.7.tar.gz... gcc -o protocol.o -c protocol.c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o message.o -c message.c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o alarm_limit.o -c alarm_limit.c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o protocol.pic.o -c protocol.c -fPIC -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o message.pic.o -c message.c -fPIC -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o alarm_limit.pic.o -c alarm_limit.c -fPIC -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0) gcc -o modules/dsme_dbus_if.pic.o -c modules/dsme_dbus_if.c -fPIC -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g gcc -o modules/thermalmanager_dbus_if.pic.o -c modules/thermalmanager_dbus_if.c -fPIC -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g gcc -o tests/ut_libdsme.o -c tests/ut_libdsme.c -Os -fomit-frame-pointer -Os -fomit-frame-pointer -std=c99 -O2 -Wall -Wwrite-strings -Wmissing-prototypes -Werror -g $(pkg-config --cflags glib-2.0 check) gcc -o libthermalmanager_dbus_if.so.0.3.0 -shared -Wl,-soname,libthermalmanager_dbus_if.so.0 modules/thermalmanager_dbus_if.pic.o -Wl,--as-needed,-O1,--sort-common -g -Wl,--as-needed gcc -o libdsme_dbus_if.so.0.3.0 -shared -Wl,-soname,libdsme_dbus_if.so.0 modules/dsme_dbus_if.pic.o -Wl,--as-needed,-O1,--sort-common -g -Wl,--as-needed protocol.c: In function 'dsmesock_receive': protocol.c:171:34: error: pointer 'msg' may be used after 'realloc' [-Werror=use-after-free] 171 | conn->bufsize = msg->line_size_; | ~~~^~~~~~~~~~~~ protocol.c:167:55: note: call to 'realloc' here 167 | unsigned char* newbuf = (unsigned char*)realloc(conn->buf, | ^~~~~~~~~~~~~~~~~~ 168 | msg->line_size_); | ~~~~~~~~~~~~~~~~ protocol.c: In function 'dsmesock_receive': protocol.c:171:34: error: pointer 'msg' may be used after 'realloc' [-Werror=use-after-free] 171 | conn->bufsize = msg->line_size_; | ~~~^~~~~~~~~~~~ protocol.c:167:55: note: call to 'realloc' here 167 | unsigned char* newbuf = (unsigned char*)realloc(conn->buf, | ^~~~~~~~~~~~~~~~~~ 168 | msg->line_size_); | ~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:96: protocol.pic.o] Error 1 make: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make: *** [Makefile:97: protocol.o] Error 1 >>> ERROR: libdsme: build failed >>> libdsme: Uninstalling dependencies... (1/45) Purging .makedepends-libdsme (20221026.142713) (2/45) Purging check-dev (0.15.2-r1) (3/45) Purging check (0.15.2-r1) (4/45) Purging glib-dev (2.74.1-r0) (5/45) Purging bzip2-dev (1.0.8-r3) (6/45) Purging docbook-xsl (1.79.2-r6) Executing docbook-xsl-1.79.2-r6.post-deinstall (7/45) Purging docbook-xml (4.5-r8) Executing docbook-xml-4.5-r8.post-deinstall (8/45) Purging gettext-dev (0.21.1-r1) (9/45) Purging gettext-asprintf (0.21.1-r1) (10/45) Purging gettext (0.21.1-r1) (11/45) Purging libxml2-utils (2.10.3-r0) (12/45) Purging libxslt (1.1.37-r0) (13/45) Purging python3 (3.10.8-r1) (14/45) Purging coreutils (9.1-r0) Executing coreutils-9.1-r0.post-deinstall (15/45) Purging libbz2 (1.0.8-r3) (16/45) Purging libxml2 (2.10.3-r0) (17/45) Purging xz-libs (5.2.7-r0) (18/45) Purging libgcrypt (1.10.1-r0) (19/45) Purging libgpg-error (1.46-r1) (20/45) Purging gettext-libs (0.21.1-r1) (21/45) Purging glib (2.74.1-r0) (22/45) Purging libintl (0.21.1-r1) (23/45) Purging libunistring (1.1-r0) (24/45) Purging libffi-dev (3.4.3-r0) (25/45) Purging linux-headers (5.19.5-r0) (26/45) Purging libffi (3.4.3-r0) (27/45) Purging gdbm (1.23-r0) (28/45) Purging mpdecimal (2.5.1-r1) (29/45) Purging readline (8.2.0-r0) (30/45) Purging sqlite-libs (3.39.4-r0) (31/45) Purging util-linux-dev (2.38.1-r0) (32/45) Purging libfdisk (2.38.1-r0) (33/45) Purging libmount (2.38.1-r0) (34/45) Purging libsmartcols (2.38.1-r0) (35/45) Purging libuuid (2.38.1-r0) (36/45) Purging libblkid (2.38.1-r0) (37/45) Purging pcre2-dev (10.40-r0) (38/45) Purging zlib-dev (1.2.13-r0) (39/45) Purging libpcre2-16 (10.40-r0) (40/45) Purging libpcre2-32 (10.40-r0) (41/45) Purging libedit-dev (20221009.3.1-r0) (42/45) Purging ncurses-dev (6.3_p20221008-r0) (43/45) Purging bsd-compat-headers (0.7.2-r3) (44/45) Purging utmps-libs (0.1.2.0-r1) (45/45) Purging skalibs (2.12.0.1-r0) Executing busybox-1.35.0-r27.trigger OK: 288 MiB in 92 packages