==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_3b5cbcc5-f2c6-4f11-85db-e054f14469e0]...done ==> Making package: libsonic 0.2.0-2.1 (Sun Dec 15 12:10:35 2024) ==> Retrieving sources... -> Downloading libsonic-0.2.0.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 5215k 0 5215k 0 0 6892k 0 --:--:-- --:--:-- --:--:-- 10.5M -> Found ldflags.patch ==> Validating source files with sha512sums... libsonic-0.2.0.tar.gz ... Passed ldflags.patch ... Passed ==> Validating source files with b2sums... libsonic-0.2.0.tar.gz ... Passed ldflags.patch ... Passed ==> Making package: libsonic 0.2.0-2.1 (Sun Dec 15 11:10:38 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found libsonic-0.2.0.tar.gz -> Found ldflags.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting libsonic-0.2.0.tar.gz with bsdtar ==> Starting prepare()... patching file Makefile ==> Starting build()... gcc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libsonic -ansi -pthread -c wave.c gcc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libsonic -ansi -pthread -c main.c gcc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libsonic -ansi -pthread -c sonic.c gcc -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libsonic -ansi -pthread -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs,-soname,libsonic.so.0 sonic.o -o libsonic.so.0.2.0 ar cqs libsonic.a sonic.o /usr/bin/ld: sonic.o: warning: relocation against `stderr@@GLIBC_2.2.5' in read-only section `.text' /usr/bin/ld: sonic.o: relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make: *** [Makefile:35: libsonic.so.0.2.0] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_3b5cbcc5-f2c6-4f11-85db-e054f14469e0/build