>>> retawq: Building community/retawq 0.2.6c-r8 (using abuild 3.10.0_rc1-r2) started Fri, 14 Oct 2022 13:58:59 +0000 >>> retawq: Checking sanity of /home/buildozer/aports/community/retawq/APKBUILD... >>> retawq: Analyzing dependencies... >>> retawq: Installing for build: build-base ncurses-dev openssl-dev>3 (1/3) Installing ncurses-dev (6.3_p20221008-r0) (2/3) Installing openssl-dev (3.0.5-r3) (3/3) Installing .makedepends-retawq (20221014.135900) Executing busybox-1.35.0-r27.trigger OK: 395 MiB in 101 packages >>> retawq: Cleaning up srcdir >>> retawq: Cleaning up pkgdir >>> retawq: Fetching https://distfiles.alpinelinux.org/distfiles/edge/retawq-0.2.6c.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 100 384k 100 384k 0 0 2360k 0 --:--:-- --:--:-- --:--:-- 2371k >>> retawq: Fetching https://distfiles.alpinelinux.org/distfiles/edge/retawq-0.2.6c.tar.gz >>> retawq: Checking sha512sums... retawq-0.2.6c.tar.gz: OK libressl.patch: OK >>> retawq: Unpacking /var/cache/distfiles/edge/retawq-0.2.6c.tar.gz... >>> retawq: libressl.patch File resource.c is read-only; trying to patch anyway patching file resource.c Checking how to run the C pre-processor... gcc -E Checking for ANSI-compliant C header files... yes Checking whether the C header file inttypes.h exists... yes Checking whether the C header file memory.h exists... yes Checking whether the C header file stdint.h exists... yes Checking whether the C header file stdlib.h exists... yes Checking whether the C header file string.h exists... yes Checking whether the C header file strings.h exists... yes Checking whether the C header file sys/param.h exists... yes Checking whether the C header file sys/stat.h exists... yes Checking whether the C header file sys/types.h exists... yes Checking whether the C header file unistd.h exists... yes Checking whether the C header file arpa/inet.h exists... yes Checking whether the C header file dirent.h exists... yes Checking whether the C header file errno.h exists... yes Checking whether the C header file fcntl.h exists... yes Checking whether the C header file libintl.h exists... no Checking whether the C header file limits.h exists... yes Checking whether the C header file memory.h exists... yes Checking whether the C header file ndir.h exists... no Checking whether the C header file netdb.h exists... yes Checking whether the C header file netinet/in.h exists... yes Checking whether the C header file stdarg.h exists... yes Checking whether the C header file stdlib.h exists... yes Checking whether the C header file string.h exists... yes Checking whether the C header file strings.h exists... yes Checking whether the C header file sys/dir.h exists... yes Checking whether the C header file sys/ioctl.h exists... yes Checking whether the C header file sys/ndir.h exists... no Checking whether the C header file sys/poll.h exists... yes Checking whether the C header file sys/select.h exists... yes Checking whether the C header file sys/socket.h exists... yes Checking whether the C header file sys/stat.h exists... yes Checking whether the C header file sys/time.h exists... yes Checking whether the C header file sys/types.h exists... yes Checking whether the C header file sys/wait.h exists... yes Checking whether the C header file termios.h exists... yes Checking whether the C header file unistd.h exists... yes Checking whether the C header file varargs.h exists... no Checking whether the C const modifier works... yes Checking whether the C inline modifier works... inline Checking whether the C type gid_t exists... yes Checking whether the C type mode_t exists... yes Checking whether the C type off_t exists... yes Checking whether the C type pid_t exists... yes Checking whether the C type size_t exists... yes Checking whether mmap() works... yes Checking whether the C function bcopy() exists... yes Checking whether the C function bzero() exists... yes Checking whether the C function dup2() exists... yes Checking whether the C function getcwd() exists... yes Checking whether the C function gettimeofday() exists... yes Checking whether the C function memcpy() exists... yes Checking whether the C function memset() exists... yes Checking whether the C function putenv() exists... yes Checking whether the C function setenv() exists... yes Checking whether the C function sigaction() exists... yes Checking whether the C function sigdelset() exists... yes Checking whether the C function sigfillset() exists... yes Checking whether the C function sigprocmask() exists... yes Checking whether the C function strcasecmp() exists... yes Checking whether the C function strchr() exists... yes Checking whether the C function strerror() exists... yes Checking whether the C function strncasecmp() exists... yes Checking whether the C function strrchr() exists... yes Checking whether the C function strstr() exists... yes Checking whether the C function uname() exists... yes Checking whether the C function wait3() exists... yes Checking whether the C function waitpid() exists... yes Checking whether/where pthread_create() exists... yes (libc) Checking whether/where getaddrinfo() exists... yes (libc) Checking whether/where getnameinfo() exists... yes (libc) Checking whether/where connect() exists... yes (libc) Checking whether/where endservent() exists... yes (libc) Checking whether/where freeaddrinfo() exists... yes (libc) Checking whether/where gai_strerror() exists... yes (libc) Checking whether/where getprotobyname() exists... yes (libc) Checking whether/where getsockopt() exists... yes (libc) Checking whether/where htonl() exists... yes (libc) Checking whether/where htons() exists... yes (libc) Checking whether/where ntohs() exists... yes (libc) Checking whether/where setservent() exists... yes (libc) Checking whether/where setsockopt() exists... yes (libc) Checking whether/where socket() exists... yes (libc) Checking whether/where getipnodebyname() exists... no Checking whether/where inet_addr() exists... yes (libc) Checking whether/where inet_ntop() exists... yes (libc) Checking whether/where inet_pton() exists... yes (libc) Checking whether/where endhostent() exists... yes (libc) Checking whether/where freehostent() exists... no Checking whether/where gethostbyname() exists... yes (libc) Checking whether/where gethostent() exists... yes (libc) Checking whether/where sethostent() exists... yes (libc) gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -c init.c -o init.o gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -c main.c -o main.o gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -c parser.c -o parser.o gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -c resource.c -o resource.o gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -c stuff.c -o stuff.o stuff.c:333:200: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs] 333 | { static const char charmap[] = "?????????\t\n??\r?????????????????? !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~??????????????????????????????????!????|????\"?-?-????'??????\"????AAAAAA?CEEEEIIIIDNOOOOO*OUUUUYPsaaaaaa?ceeeeiiiidnooooo/ouuuuypy"; | stuff.c:333:220: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs] In file included from init.c:9: init.c: In function 'warn_section': stuff.h:497:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 497 | #define _(str) (str) | ^~~~~ init.c:747:30: note: in expansion of macro '_' 747 | my_spf(buf, 1024, &spfbuf, _("configuration section %s (line %d): %s"), | ^ In file included from main.c:9: main.c: In function 'calculate_reqresmsg': stuff.h:497:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 497 | #define _(str) (str) | ^~~~~ main.c:1973:32: note: in expansion of macro '_' 1973 | { sprint_safe(strbuf3, _("of %d "), localized_size(nominal)); | ^ stuff.h:497:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 497 | #define _(str) (str) | ^~~~~ main.c:1977:30: note: in expansion of macro '_' 1977 | sprint_safe(strbuf2, _("Received %d %sbytes"), localized_size(count), | ^ main.c: In function 'cm_handle_command_code': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:3300:52: note: in expansion of macro 'MY_POINTER_TO_INT' 3300 | { (void) handle_command_code((tProgramCommandCode) MY_POINTER_TO_INT(data)); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cm_handle_select_tag': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:3324:47: note: in expansion of macro 'MY_POINTER_TO_INT' 3324 | { tHtmlOptionNumber num = (tHtmlOptionNumber) MY_POINTER_TO_INT(data); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cm_setup_select_tag': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:3353:25: note: in expansion of macro 'MY_INT_TO_POINTER' 3353 | (tCmCallbackData) MY_INT_TO_POINTER(num)); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cm_handle_uri_history': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:3370:39: note: in expansion of macro 'MY_POINTER_TO_INT' 3370 | unsigned short i = (unsigned short) MY_POINTER_TO_INT(data); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cm_setup_uri_history': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:3384:25: note: in expansion of macro 'MY_INT_TO_POINTER' 3384 | (tCmCallbackData) MY_INT_TO_POINTER(i)); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cc_start_rch': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:5709:27: note: in expansion of macro 'MY_INT_TO_POINTER' 5709 | { cc_do_start(context, 1, MY_INT_TO_POINTER(rch)); | ^~~~~~~~~~~~~~~~~ main.c: In function 'cc_start_auth': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:5715:27: note: in expansion of macro 'MY_INT_TO_POINTER' 5715 | { cc_do_start(context, 2, MY_INT_TO_POINTER(ftm)); | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_task_create': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:6158:23: note: in expansion of macro 'MY_INT_TO_POINTER' 6158 | context->data = MY_INT_TO_POINTER(idx); goto out; | ^~~~~~~~~~~~~~~~~ main.c: In function 'rwd_cb_ctr': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6235:48: note: in expansion of macro 'MY_POINTER_TO_INT' 6235 | { tConsoleTaskNum task_idx = (tConsoleTaskNum) MY_POINTER_TO_INT(rw->data1); | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_schedule_task_removal': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ main.c:6244:15: note: in expansion of macro 'MY_INT_TO_POINTER' 6244 | rw->data1 = MY_INT_TO_POINTER(task_idx); | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_download_request_callback': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6251:54: note: in expansion of macro 'MY_POINTER_TO_INT' 6251 | { const tConsoleTaskNum task_idx = (tConsoleTaskNum) MY_POINTER_TO_INT(_idx); | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_download': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ stuff.h:1041:52: note: in definition of macro 'dhm_notification_setup' 1041 | { const tDhmNotificationSetup _dns = { callback, cbdata, flags, mode }; \ | ^~~~~~ main.c:6364:5: note: in expansion of macro 'MY_INT_TO_POINTER' 6364 | MY_INT_TO_POINTER(task_idx), dhmnfDataChange | dhmnfMetadataChange | | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_request_callback': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6589:43: note: in expansion of macro 'MY_POINTER_TO_INT' 6589 | { tConsoleTaskNum idx = (tConsoleTaskNum) MY_POINTER_TO_INT(_idx); | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_do_open': stuff.h:897:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 897 | #define MY_INT_TO_POINTER(x) ( (void*) ((int) (x)) ) | ^ stuff.h:1041:52: note: in definition of macro 'dhm_notification_setup' 1041 | { const tDhmNotificationSetup _dns = { callback, cbdata, flags, mode }; \ | ^~~~~~ main.c:6633:5: note: in expansion of macro 'MY_INT_TO_POINTER' 6633 | MY_INT_TO_POINTER(idx), dhmnfDataChange | dhmnfMetadataChange | | ^~~~~~~~~~~~~~~~~ main.c: In function 'console_do_start': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6051:45: note: in expansion of macro 'MY_POINTER_TO_INT' 6051 | #define console_ctxidx ( (tConsoleTaskNum) (MY_POINTER_TO_INT(context->data)) ) | ^~~~~~~~~~~~~~~~~ main.c:6640:39: note: in expansion of macro 'console_ctxidx' 6640 | { tConsoleTask* task = &(console_task[console_ctxidx]); | ^~~~~~~~~~~~~~ main.c: In function 'console_do_prepare_sequencer': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6051:45: note: in expansion of macro 'MY_POINTER_TO_INT' 6051 | #define console_ctxidx ( (tConsoleTaskNum) (MY_POINTER_TO_INT(context->data)) ) | ^~~~~~~~~~~~~~~~~ main.c:6653:39: note: in expansion of macro 'console_ctxidx' 6653 | { tConsoleTask* task = &(console_task[console_ctxidx]); | ^~~~~~~~~~~~~~ main.c: In function 'console_setup_retr': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6051:45: note: in expansion of macro 'MY_POINTER_TO_INT' 6051 | #define console_ctxidx ( (tConsoleTaskNum) (MY_POINTER_TO_INT(context->data)) ) | ^~~~~~~~~~~~~~~~~ main.c:6689:25: note: in expansion of macro 'console_ctxidx' 6689 | task = &(console_task[console_ctxidx]); request = task->request; | ^~~~~~~~~~~~~~ main.c: In function 'console_handle_res': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ main.c:6798:5: note: in expansion of macro 'MY_POINTER_TO_INT' 6798 | MY_POINTER_TO_INT(resource->custconn_handle); | ^~~~~~~~~~~~~~~~~ In file included from main.c:7059: wk.c: In function 'wk_browser_build_document_info': wk.c:375:49: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 375 | my_spf(strbuf, STRBUF_SIZE, &spfbuf, "
%s%d %s
\n", _("Size: "), | ~^ | | | int | %ld resource.c: In function 'tls_initialize': resource.c:2307:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2307 | m = SSLv23_client_method(); | ^ resource.c: In function 'fetch_about': resource.c:3681:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 3681 | { sprint_safe(bytecountbuf, "%s%d %s", strSpacedDash, bytecount, | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld resource.c: In function 'start_local_cgi': resource.c:4408:67: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 4408 | "Status: 500\r\nContent-Type: text/plain\r\nContent-Length: %d\r\n\r\n%s", | ~^ | | | int | %ld 4409 | strlen(spfbuf), spfbuf); | ~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} resource.c: In function 'http_setup_reqstr': resource.c:5052:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 5052 | { sprint_safe(strbuf2, "Content-Type: %s\r\nContent-Length: %d\r\n", | ~^ | | | int | %ld 5053 | strAxwfu, strlen(post)); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} In file included from resource.c:9: resource.c: In function 'resource_custom_conn_start': stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ resource.c:7377:41: note: in expansion of macro 'MY_POINTER_TO_INT' 7377 | resource->handshake = handshake = MY_POINTER_TO_INT(whatever); | ^~~~~~~~~~~~~~~~~ stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 898 | #define MY_POINTER_TO_INT(x) ((int) (x)) | ^ resource.c:7385:13: note: in expansion of macro 'MY_POINTER_TO_INT' 7385 | ftm = MY_POINTER_TO_INT(whatever); | ^~~~~~~~~~~~~~~~~ gcc -O2 -Os -fomit-frame-pointer -D_REENTRANT -D_THREAD_SAFE -Os -fomit-frame-pointer -Wl,--as-needed,-O1,--sort-common init.o main.o parser.o resource.o stuff.o -lncurses -lssl -lcrypto -o retawq >>> WARNING: retawq: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> retawq: Entering fakeroot... tool/instdocu: line 52: can't create /home/buildozer/aports/community/retawq/pkg/retawq/usr/share/doc/retawq/index.html: Permission denied tool/instdocu: line 53: can't create /home/buildozer/aports/community/retawq/pkg/retawq/usr/share/doc/retawq/ctconfig.html: Permission denied tool/instdocu: line 54: can't create /home/buildozer/aports/community/retawq/pkg/retawq/usr/share/doc/retawq/user_guide.html: Permission denied >>> retawq-doc*: Running split function doc... >>> retawq-doc*: Preparing subpackage retawq-doc... >>> retawq-doc*: Running postcheck for retawq-doc >>> retawq*: Running postcheck for retawq >>> retawq*: Preparing package retawq... >>> retawq*: Stripping binaries >>> retawq-doc*: Scanning shared objects >>> retawq*: Scanning shared objects >>> retawq-doc*: Tracing dependencies... >>> retawq-doc*: Package size: 280.0 KB >>> retawq-doc*: Compressing data... >>> retawq-doc*: Create checksum... >>> retawq-doc*: Create retawq-doc-0.2.6c-r8.apk >>> retawq*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libncursesw.so.6 so:libssl.so.3 >>> retawq*: Package size: 220.0 KB >>> retawq*: Compressing data... >>> retawq*: Create checksum... >>> retawq*: Create retawq-0.2.6c-r8.apk >>> retawq: Build complete at Fri, 14 Oct 2022 13:59:10 +0000 elapsed time 0h 0m 11s >>> retawq: Cleaning up srcdir >>> retawq: Cleaning up pkgdir >>> retawq: Uninstalling dependencies... (1/3) Purging .makedepends-retawq (20221014.135900) (2/3) Purging ncurses-dev (6.3_p20221008-r0) (3/3) Purging openssl-dev (3.0.5-r3) Executing busybox-1.35.0-r27.trigger OK: 393 MiB in 98 packages >>> retawq: Updating the community/x86_64 repository index... >>> retawq: Signing the index...