>>> libretro-daphne: Building testing/libretro-daphne 0_git20210108-r1 (using abuild 3.13.0-r5) started Tue, 01 Oct 2024 05:23:41 +0000 >>> libretro-daphne: Checking sanity of /home/buildozer/aports/testing/libretro-daphne/APKBUILD... >>> libretro-daphne: Analyzing dependencies... >>> libretro-daphne: Installing for build: build-base libogg-dev libvorbis-dev zlib-dev (1/6) Installing libogg (1.3.5-r5) (2/6) Installing libogg-dev (1.3.5-r5) (3/6) Installing libvorbis (1.3.7-r2) (4/6) Installing libvorbis-dev (1.3.7-r2) (5/6) Installing zlib-dev (1.3.1-r2) (6/6) Installing .makedepends-libretro-daphne (20241001.052356) OK: 252 MiB in 109 packages >>> libretro-daphne: Cleaning up srcdir >>> libretro-daphne: Cleaning up pkgdir >>> libretro-daphne: Cleaning up tmpdir >>> libretro-daphne: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-daphne-0a7e6f0fda1348144369ce0a889876df60263e8f.tar.gz >>> libretro-daphne: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libretro-daphne-0a7e6f0fda1348144369ce0a889876df60263e8f.tar.gz >>> libretro-daphne: Checking sha512sums... libretro-daphne-0a7e6f0fda1348144369ce0a889876df60263e8f.tar.gz: OK patch-unbundle.patch: OK >>> libretro-daphne: Unpacking /var/cache/distfiles/libretro-daphne-0a7e6f0fda1348144369ce0a889876df60263e8f.tar.gz... >>> libretro-daphne: patch-unbundle.patch patching file Makefile patching file Makefile.common fatal: not a git repository (or any of the parent directories): .git gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/alloc.o daphne/daphne-1.0-src/vldp2/libmpeg2/alloc.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/cpu_accel.o daphne/daphne-1.0-src/vldp2/libmpeg2/cpu_accel.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/cpu_state.o daphne/daphne-1.0-src/vldp2/libmpeg2/cpu_state.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/decode.o daphne/daphne-1.0-src/vldp2/libmpeg2/decode.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/header.o daphne/daphne-1.0-src/vldp2/libmpeg2/header.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/idct.o daphne/daphne-1.0-src/vldp2/libmpeg2/idct.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/motion_comp.o daphne/daphne-1.0-src/vldp2/libmpeg2/motion_comp.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/libmpeg2/slice.o daphne/daphne-1.0-src/vldp2/libmpeg2/slice.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/vldp/mpegscan.o daphne/daphne-1.0-src/vldp2/vldp/mpegscan.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/vldp/vldp.o daphne/daphne-1.0-src/vldp2/vldp/vldp.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.o daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/atomic/SDL_atomic.o daphne/src/atomic/SDL_atomic.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/atomic/SDL_spinlock.o daphne/src/atomic/SDL_spinlock.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/audio/SDL_audiocvt.o daphne/src/audio/SDL_audiocvt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/audio/SDL_audiotypecvt.o daphne/src/audio/SDL_audiotypecvt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/audio/SDL_wave.o daphne/src/audio/SDL_wave.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/cpuinfo/SDL_cpuinfo.o daphne/src/cpuinfo/SDL_cpuinfo.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/file/SDL_rwops.o daphne/src/file/SDL_rwops.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/render/SDL_yuv_sw.o daphne/src/render/SDL_yuv_sw.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/SDL_error.o daphne/src/SDL_error.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/stdlib/SDL_iconv.o daphne/src/stdlib/SDL_iconv.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/stdlib/SDL_string.o daphne/src/stdlib/SDL_string.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/pthread/SDL_syscond.o daphne/src/thread/pthread/SDL_syscond.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/pthread/SDL_sysmutex.o daphne/src/thread/pthread/SDL_sysmutex.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/pthread/SDL_syssem.o daphne/src/thread/pthread/SDL_syssem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/pthread/SDL_systhread.o daphne/src/thread/pthread/SDL_systhread.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/pthread/SDL_systls.o daphne/src/thread/pthread/SDL_systls.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/thread/SDL_thread.o daphne/src/thread/SDL_thread.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/timer/libretro/SDL_systimer.o daphne/src/timer/libretro/SDL_systimer.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit.o daphne/src/video/SDL_blit.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit_0.o daphne/src/video/SDL_blit_0.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit_1.o daphne/src/video/SDL_blit_1.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit_A.o daphne/src/video/SDL_blit_A.c daphne/src/audio/SDL_audiocvt.c: In function 'SDL_BuildAudioResampleCVT': daphne/src/audio/SDL_audiocvt.c:955:36: error: implicit declaration of function 'ceil' [-Wimplicit-function-declaration] 955 | cvt->len_mult *= (int) ceil(mult); | ^~~~ daphne/src/audio/SDL_audiocvt.c:30:1: note: include '' or provide a declaration of 'ceil' 29 | #include "assert.h" +++ |+#include 30 | daphne/src/audio/SDL_audiocvt.c:955:36: warning: incompatible implicit declaration of built-in function 'ceil' [-Wbuiltin-declaration-mismatch] 955 | cvt->len_mult *= (int) ceil(mult); | ^~~~ daphne/src/audio/SDL_audiocvt.c:955:36: note: include '' or provide a declaration of 'ceil' gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit_auto.o daphne/src/video/SDL_blit_auto.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -O2 -DNDEBUG -std=c99 -Wall -pedantic -fPIC -I. -I./daphne/include -I./daphne/daphne-1.0-src/vldp2/include -I./daphne/libretro -D__LIBRETRO__ -fPIC -c -o daphne/src/video/SDL_blit_copy.o daphne/src/video/SDL_blit_copy.c daphne/src/cpuinfo/SDL_cpuinfo.c:222:1: warning: 'CPU_haveAltiVec' defined but not used [-Wunused-function] 222 | CPU_haveAltiVec(void) | ^~~~~~~~~~~~~~~ daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:87: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 87 | #pragma warning (push) daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:88: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 88 | #pragma warning (disable:4018) daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c: In function 'vo_null_draw': daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:129:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 129 | if (g_in_info->prepare_frame(&g_yuv_buf[(int) id])) | ^ daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:177:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 177 | g_in_info->display_frame(&g_yuv_buf[(int) id]); | ^ daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c: At top level: daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:269: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 269 | #pragma warning (pop) daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c: In function 'vo_null_setup_fbuf': daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:274:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 274 | *id = (int*) buffer_index; | ^ daphne/src/stdlib/SDL_iconv.c: In function 'SDL_iconv_string': daphne/src/stdlib/SDL_iconv.c:895:43: warning: pointer 'oldstring' may be used after 'realloc' [-Wuse-after-free] 895 | outbuf = string + (outbuf - oldstring); | ~~~~~~~~^~~~~~~~~~~~ daphne/src/stdlib/SDL_iconv.c:890:26: note: call to 'realloc' here 890 | string = realloc(string, stringsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:265: daphne/src/audio/SDL_audiocvt.o] Error 1 make: *** Waiting for unfinished jobs.... daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c: In function 'idle_handler_precache': daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.c:852:31: error: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 852 | fstat(fileno(F), &filestats); // get stats for file to get file length | ^~~~~~ make: *** [Makefile:265: daphne/daphne-1.0-src/vldp2/vldp/vldp_internal.o] Error 1 daphne/src/thread/pthread/SDL_systhread.c: In function 'SDL_SYS_CreateThread': daphne/src/thread/pthread/SDL_systhread.c:83:31: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 83 | ppthread_setname_np = (int(*)(pthread_t, const char*)) fn; | ^ daphne/src/thread/pthread/SDL_systhread.c:101:24: error: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] 101 | if (pthread_create(&thread->handle, &type, RunThread, args) != 0) { | ^~~~~~~~~~~~~~~ | | | SYS_ThreadHandle * {aka int *} In file included from daphne/src/thread/pthread/SDL_systhread.c:24: /usr/include/pthread.h:80:20: note: expected 'struct __pthread ** restrict' but argument is of type 'SYS_ThreadHandle *' {aka 'int *'} 80 | int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void *__restrict); | ^ daphne/src/thread/pthread/SDL_systhread.c: In function 'SDL_SYS_SetThreadPriority': daphne/src/thread/pthread/SDL_systhread.c:172:35: error: implicit declaration of function 'syscall' [-Wimplicit-function-declaration] 172 | if (setpriority(PRIO_PROCESS, syscall(SYS_gettid), value) < 0) { | ^~~~~~~ daphne/src/thread/pthread/SDL_systhread.c: In function 'SDL_SYS_WaitThread': daphne/src/thread/pthread/SDL_systhread.c:210:24: error: passing argument 1 of 'pthread_join' makes pointer from integer without a cast [-Wint-conversion] 210 | pthread_join(thread->handle, 0); | ~~~~~~^~~~~~~~ | | | SYS_ThreadHandle {aka int} /usr/include/pthread.h:83:18: note: expected 'pthread_t' {aka 'struct __pthread *'} but argument is of type 'SYS_ThreadHandle' {aka 'int'} 83 | int pthread_join(pthread_t, void **); | ^~~~~~~~~ daphne/src/thread/pthread/SDL_systhread.c: In function 'SDL_SYS_DetachThread': daphne/src/thread/pthread/SDL_systhread.c:216:26: error: passing argument 1 of 'pthread_detach' makes pointer from integer without a cast [-Wint-conversion] 216 | pthread_detach(thread->handle); | ~~~~~~^~~~~~~~ | | | SYS_ThreadHandle {aka int} /usr/include/pthread.h:81:20: note: expected 'pthread_t' {aka 'struct __pthread *'} but argument is of type 'SYS_ThreadHandle' {aka 'int'} 81 | int pthread_detach(pthread_t); | ^~~~~~~~~ make: *** [Makefile:265: daphne/src/thread/pthread/SDL_systhread.o] Error 1 daphne/src/video/SDL_blit.c: In function 'SDL_SoftBlit': daphne/src/video/SDL_blit.c:85:19: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 85 | RunBlit = (SDL_BlitFunc) src->map->data; | ^ daphne/src/video/SDL_blit.c: In function 'SDL_CalculateBlit': daphne/src/video/SDL_blit.c:228:15: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 228 | map->data = blit; | ^ >>> ERROR: libretro-daphne: build failed >>> libretro-daphne: Uninstalling dependencies... (1/6) Purging .makedepends-libretro-daphne (20241001.052356) (2/6) Purging libvorbis-dev (1.3.7-r2) (3/6) Purging libvorbis (1.3.7-r2) (4/6) Purging zlib-dev (1.3.1-r2) (5/6) Purging libogg-dev (1.3.5-r5) (6/6) Purging libogg (1.3.5-r5) OK: 251 MiB in 103 packages