>>> libucontext0: Building main/libucontext0 0.13.1-r1 (using abuild 3.10.0-r2) started Thu, 13 Apr 2023 07:19:46 +0000 >>> libucontext0: Checking sanity of /home/buildozer/aports/main/libucontext0/APKBUILD... >>> libucontext0: Analyzing dependencies... >>> libucontext0: Installing for build: build-base (1/1) Installing .makedepends-libucontext0 (20230413.071948) OK: 1000 MiB in 104 packages >>> libucontext0: Cleaning up srcdir >>> libucontext0: Cleaning up pkgdir >>> libucontext0: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libucontext-0.13.1.tar.xz >>> libucontext0: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libucontext-0.13.1.tar.xz >>> libucontext0: Checking sha512sums... libucontext-0.13.1.tar.xz: OK >>> libucontext0: Unpacking /var/cache/distfiles/libucontext-0.13.1.tar.xz... cp arch/common/bits.h include/libucontext/bits.h gcc -std=c99 -D_BSD_SOURCE -fPIC -DPIC -ggdb3 -O2 -Wall -DEXPORT_UNPREFIXED -Iinclude -Iarch/riscv64 -Iarch/common -c -o arch/riscv64/makecontext.o arch/riscv64/makecontext.c gcc -fPIC -DPIC -DLIBUCONTEXT_ASSEMBLY -ggdb3 -O2 -Wall -DEXPORT_UNPREFIXED -Iinclude -Iarch/riscv64 -Iarch/common -c -o arch/riscv64/getcontext.o arch/riscv64/getcontext.S gcc -fPIC -DPIC -DLIBUCONTEXT_ASSEMBLY -ggdb3 -O2 -Wall -DEXPORT_UNPREFIXED -Iinclude -Iarch/riscv64 -Iarch/common -c -o arch/riscv64/setcontext.o arch/riscv64/setcontext.S gcc -fPIC -DPIC -DLIBUCONTEXT_ASSEMBLY -ggdb3 -O2 -Wall -DEXPORT_UNPREFIXED -Iinclude -Iarch/riscv64 -Iarch/common -c -o arch/riscv64/startcontext.o arch/riscv64/startcontext.S gcc -fPIC -DPIC -DLIBUCONTEXT_ASSEMBLY -ggdb3 -O2 -Wall -DEXPORT_UNPREFIXED -Iinclude -Iarch/riscv64 -Iarch/common -c -o arch/riscv64/swapcontext.o arch/riscv64/swapcontext.S sed -e s:@LIBUCONTEXT_VERSION@:0.13.1:g \ -e s:@LIBUCONTEXT_LIBDIR@:/lib:g \ -e s:@LIBUCONTEXT_INCLUDEDIR@:/usr/include:g libucontext.pc.in > libucontext.pc gcc -fPIC -o libucontext.so -Wl,-soname,libucontext.so.0 \ -shared arch/riscv64/makecontext.o arch/riscv64/getcontext.o arch/riscv64/setcontext.o arch/riscv64/startcontext.o arch/riscv64/swapcontext.o -Wl,--as-needed,-O1,--sort-common ar rcs libucontext.a arch/riscv64/makecontext.o arch/riscv64/getcontext.o arch/riscv64/setcontext.o arch/riscv64/startcontext.o arch/riscv64/swapcontext.o /usr/lib/gcc/riscv64-alpine-linux-musl/12.2.1/../../../../riscv64-alpine-linux-musl/bin/ld: relocation R_RISCV_JAL against `libucontext_setcontext' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status make: *** [Makefile:49: libucontext.so] Error 1 >>> ERROR: libucontext0: build failed >>> libucontext0: Uninstalling dependencies... (1/1) Purging .makedepends-libucontext0 (20230413.071948) OK: 1000 MiB in 103 packages