==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_d162ce9c-7034-43f0-9e20-568225fb28b5]...done ==> Making package: libsonic 0.2.0-2.1 (Sat Jul 13 20:42:59 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 100 2698k 0 2698k 0 0 5799k 0 --:--:-- --:--:-- --:--:-- 5799k 100 5215k 0 5215k 0 0 8932k 0 --:--:-- --:--:-- --:--:-- 20.8M -> 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 (Sat Jul 13 20:43:02 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-v3 -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-v3 -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-v3 -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-v3 -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_d162ce9c-7034-43f0-9e20-568225fb28b5/build