>>> ircservices: Building community/ircservices 5.1.24-r6 (using abuild 3.11.0_rc13-r0) started Sat, 22 Apr 2023 04:27:30 +0000 >>> ircservices: Checking sanity of /home/buildozer/aports/community/ircservices/APKBUILD... >>> ircservices: Analyzing dependencies... >>> ircservices: Installing for build: build-base perl (1/6) Installing libbz2 (1.0.8-r5) (2/6) Installing perl (5.36.0-r3) (3/6) Installing .makedepends-ircservices (20230422.042738) (4/6) Installing perl-error (0.17029-r1) (5/6) Installing perl-git (2.40.0-r1) (6/6) Installing git-perl (2.40.0-r1) Executing busybox-1.36.0-r7.trigger OK: 448 MiB in 104 packages >>> ircservices: Cleaning up srcdir >>> ircservices: Cleaning up pkgdir >>> ircservices: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/ircservices-5.1.24.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 >>> ircservices: Fetching http://achurch.org/services/tarballs/ircservices-5.1.24.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 1481k 0 14205 0 0 11011 0 0:02:17 0:00:01 0:02:16 11011 13 1481k 13 192k 0 0 91174 0 0:00:16 0:00:02 0:00:14 91143 100 1481k 100 1481k 0 0 525k 0 0:00:02 0:00:02 --:--:-- 525k >>> ircservices: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/ircservices-5.1.24.tar.gz >>> ircservices: Checking sha512sums... ircservices-5.1.24.tar.gz: OK ircservices.initd: OK gcc-10.patch: OK >>> ircservices: Unpacking /var/cache/distfiles/v3.18/ircservices-5.1.24.tar.gz... >>> ircservices: gcc-10.patch patching file modules/httpd/dbaccess.c patching file modules/httpd/redirect.c patching file modules/protocol/sjoin.c Beginning IRC Services configuration. Executable (program) files will be installed in /usr/bin Data files will be installed in /var/lib/ircservices Checking sanity of /bin/sh... high. Searching for a suitable compiler... (supplied) using gcc. Compiler flags supplied: -Os -Wformat -Werror=format-security Let's see what libraries we need... Checking whether we can use dynamic modules... no. Checking whether ranlib exists... yes. Checking for presence of include files (it's okay if some aren't there): stdint.h... present strings.h... present sys/select.h... present sys/sysproto.h... not present Looking for an 8-bit integer type... int8_t Looking for a 16-bit integer type... int16_t Looking for a 32-bit integer type... int32_t Looking for a 64-bit integer type... int64_t Checking the size of int... 32 bits Checking the size of long... 64 bits Checking the size of pointers... 64 bits Checking the size of time_t... 64 bits (nifty!) Checking the size of gid_t... 32 bits Checking for socklen_t... present. Seeing if your system defines int16/int32... not found (this is good). How to complain when something goes wrong... ah, strerror() is here. Looking for other functions we want that you don't have... Checking how to install files... looks like "install" will work. Seeing if "install" will create directories... OK. Checking how to copy directories... /bin/cp -dpr Creating config.h... done. Creating Makefile.inc... done. Saving configuration results in config.cache... done. All done! Now edit defs.h as needed, and run "make" (or possibly "gmake") to compile Services. See the README and FAQ if you have any problems. make -C lang langstrs.h make[1]: Entering directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/lang' make[1]: 'langstrs.h' is up to date. make[1]: Leaving directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/lang' cp -p lang/langstrs.h . touch services.h make -C lang langstrs.h make[1]: Entering directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/lang' make[1]: 'langstrs.h' is up to date. make[1]: Leaving directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/lang' cp -p lang/langstrs.h . gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c channels.c -o channels.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c compat.c -o compat.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c conffile.c -o conffile.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c databases.c -o databases.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c encrypt.c -o encrypt.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c ignore.c -o ignore.o make[1]: Entering directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/modules' gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c log.c -o log.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c main.c -o main.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c memory.c -o memory.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c misc.c -o misc.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c modes.c -o modes.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c modules.c -o modules.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c process.c -o process.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c servers.c -o servers.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c signals.c -o signals.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c sockets.c -o sockets.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c timeout.c -o timeout.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c users.c -o users.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c actions.c -o actions.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c commands.c -o commands.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c init.c -o init.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c language.c -o language.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c messages.c -o messages.o gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -c send.c -o send.o make[2]: Entering directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/modules/chanserv' cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_main -DMODULE_MAIN_FILE -D_this_module_ptr=_this_module_ptr_chanserv_main -Dmodule_version=module_version_chanserv_main -Dmodule_config=module_config_chanserv_main -Dinit_module=init_module_chanserv_main -Dexit_module=exit_module_chanserv_main -I. -c modules/chanserv/main.c -o modules/chanserv/main_static.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_access_xop -DMODULE_MAIN_FILE -D_this_module_ptr=_this_module_ptr_chanserv_access_xop -Dmodule_version=module_version_chanserv_access_xop -Dmodule_config=module_config_chanserv_access_xop -Dinit_module=init_module_chanserv_access_xop -Dexit_module=exit_module_chanserv_access_xop -I. -c modules/chanserv/access-xop.c -o modules/chanserv/access-xop_static.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_access_levels -DMODULE_MAIN_FILE -D_this_module_ptr=_this_module_ptr_chanserv_access_levels -Dmodule_version=module_version_chanserv_access_levels -Dmodule_config=module_config_chanserv_access_levels -Dinit_module=init_module_chanserv_access_levels -Dexit_module=exit_module_chanserv_access_levels -I. -c modules/chanserv/access-levels.c -o modules/chanserv/access-levels_static.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_main -I. -c modules/chanserv/access.c -o modules/chanserv/access.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_main -I. -c modules/chanserv/check.c -o modules/chanserv/check.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_main -I. -c modules/chanserv/set.c -o modules/chanserv/set.o cd ../.. && gcc -DSTATIC_MODULES -Os -Wformat -Werror=format-security -g -Wall -Wmissing-prototypes -DMODULE -DMODULE_ID=chanserv_main -I. -c modules/chanserv/util.c -o modules/chanserv/util.o send.c: In function 'notice_list': send.c:248:13: error: format not a string literal and no format arguments [-Werror=format-security] 248 | notice(source, dest, *text); | ^~~~~~ messages.c: In function 'm_privmsg': messages.c:277:32: error: format not a string literal and no format arguments [-Werror=format-security] 277 | getstring(NULL, SERVICES_IS_BUSY)); | ^~~~~~~~~ sockets.c: In function 'check_sockets': sockets.c:135:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 135 | #define DISCONN_LOCAL_RESUME (void *)((int)DISCONN_LOCAL|DISCONN_RESUME_FLAG) | ^ sockets.c:811:31: note: in expansion of macro 'DISCONN_LOCAL_RESUME' 811 | do_disconn(s, DISCONN_LOCAL_RESUME); | ^~~~~~~~~~~~~~~~~~~~ language.c: In function 'load_ext_lang': language.c:374:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 374 | newtexts[curlang][curstr+1] = (char *)newsizes[curlang] + 1; | ^ language.c:418:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 418 | int ofs = (int)newtexts[curlang][i+1] - 1; | ^ init.c: In function 'init': init.c:903:29: warning: variable 'openlog_errno' set but not used [-Wunused-but-set-variable] 903 | int openlog_failed = 0, openlog_errno = 0; | ^~~~~~~~~~~~~ init.c:903:9: warning: variable 'openlog_failed' set but not used [-Wunused-but-set-variable] 903 | int openlog_failed = 0, openlog_errno = 0; | ^~~~~~~~~~~~~~ sockets.c: In function 'do_callback': sockets.c:136:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 136 | #define DISCONN_REMOTE_RESUME (void *)((int)DISCONN_REMOTE|DISCONN_RESUME_FLAG) | ^ sockets.c:1489:31: note: in expansion of macro 'DISCONN_REMOTE_RESUME' 1489 | do_disconn(s, DISCONN_REMOTE_RESUME); | ^~~~~~~~~~~~~~~~~~~~~ sockets.c: In function 'flush_write_buffer': sockets.c:135:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 135 | #define DISCONN_LOCAL_RESUME (void *)((int)DISCONN_LOCAL|DISCONN_RESUME_FLAG) | ^ sockets.c:1751:27: note: in expansion of macro 'DISCONN_LOCAL_RESUME' 1751 | do_disconn(s, DISCONN_LOCAL_RESUME); | ^~~~~~~~~~~~~~~~~~~~ sockets.c: In function 'do_disconn': sockets.c:2092:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2092 | if ((s->flags & SF_DISCONNECTING) && !((int)code & DISCONN_RESUME_FLAG)) | ^ sockets.c:2127:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2127 | s->cb_disconn(s, (void *)((int)code & ~DISCONN_RESUME_FLAG)); | ^ modules/chanserv/access-levels.c: In function 'do_access_listlevel': modules/chanserv/access-levels.c:321:20: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 321 | int low, high, dir; | ^~~ sockets.c:2127:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2127 | s->cb_disconn(s, (void *)((int)code & ~DISCONN_RESUME_FLAG)); | ^ modules/chanserv/main.c: In function 'chanserv': modules/chanserv/main.c:609:9: error: format not a string literal and no format arguments [-Werror=format-security] 609 | notice(s_ChanServ, source, getstring(NULL, INTERNAL_ERROR)); | ^~~~~~ modules/chanserv/main.c: In function 'do_stats_all': modules/chanserv/main.c:890:13: warning: the comparison will always evaluate as 'true' for the address of 'levels' will never be NULL [-Waddress] 890 | if (ci->levels) | ^~ In file included from modules/chanserv/main.c:20: modules/chanserv/chanserv.h:141:11: note: 'levels' declared here 141 | int16 levels[CA_SIZE]; /* Access levels for commands */ | ^~~~~~ language.c: In function 'load_lang': language.c:162:5: warning: 'free' called on pointer 'data' with nonzero offset 4 [-Wfree-nonheap-object] 162 | free(data); | ^~~~~~~~~~ language.c:136:34: note: returned from 'smalloc' 136 | origtexts[index][0] = data = smalloc(size+4); | ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:50: send.o] Error 1 make: *** Waiting for unfinished jobs.... touch .stamp cc1: some warnings being treated as errors make: *** [Makefile:50: messages.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [../Makerules:185: .compiled-main_static.o] Error 1 make[3]: *** [../Makerules:156: main_static.o] Error 2 make[2]: *** [../Makerules:101: main.a] Error 2 make[2]: Leaving directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/modules/chanserv' make[1]: *** [Makefile:35: all-static] Error 2 make[1]: Leaving directory '/home/buildozer/aports/community/ircservices/src/ircservices-5.1.24/modules' make: *** [Makefile:119: modules] Error 2 >>> ERROR: ircservices: build failed >>> ircservices: Uninstalling dependencies... (1/6) Purging .makedepends-ircservices (20230422.042738) (2/6) Purging git-perl (2.40.0-r1) (3/6) Purging perl-git (2.40.0-r1) (4/6) Purging perl-error (0.17029-r1) (5/6) Purging perl (5.36.0-r3) (6/6) Purging libbz2 (1.0.8-r5) Executing busybox-1.36.0-r7.trigger OK: 408 MiB in 98 packages