==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_c0f52bbb-b565-4eec-b06e-abfa9194c5ca]...done
==> Making package: libsonic 0.2.0-2.1 (Thu Apr 30 03:40:19 2026)
==> 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
  0      0   0      0   0      0      0      0                              0100  5.09M   0  5.09M   0      0  3.93M      0           00:01              0100  5.09M   0  5.09M   0      0  3.93M      0           00:01              0100  5.09M   0  5.09M   0      0  3.93M      0           00:01              0
  -> 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 (Thu Apr 30 01:40:22 2026)
==> 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-v2 -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-v2 -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-v2 -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-v2 -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_c0f52bbb-b565-4eec-b06e-abfa9194c5ca/build
