==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: libopenaptx 0.2.0-1 (Tue Dec 15 15:16:25 2020)
==> Retrieving sources...
  -> Cloning libopenaptx git repo...
Cloning into bare repository '/home/leming/work/libopenaptx/libopenaptx'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    libopenaptx ... Skipped
==> Making package: libopenaptx 0.2.0-1 (Tue 15 Dec 2020 03:16:32 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17029-2  perl-mailtools-2.21-4  perl-timedate-2.33-2
             git-2.29.2-1

Total Download Size:    5.51 MiB
Total Installed Size:  32.42 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading perl-error-0.17029-2-any.pkg.tar.xz...
downloading perl-timedate-2.33-2-any.pkg.tar.xz...
downloading perl-mailtools-2.21-4-any.pkg.tar.xz...
downloading git-2.29.2-1-aarch64.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-mime-tools: git send-email
    perl-net-smtp-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group git with gid 976.
Creating user git (git daemon user) with uid 976 and gid 976.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Warn about old perl modules
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of libopenaptx git repo...
Cloning into 'libopenaptx'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Starting build()...
c99 -march=armv8-a -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -I. -shared -fPIC -Wl,-soname,libopenaptx.so.0 -o libopenaptx.so.0.2.0 openaptx.c
c99 -march=armv8-a -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -c -o openaptx.o openaptx.c
c99 -march=armv8-a -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -c -o openaptxenc.o openaptxenc.c
c99 -march=armv8-a -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -I. -c -o openaptxdec.o openaptxdec.c
rm -f libopenaptx.a
ar -rcs libopenaptx.a openaptx.o
c99 -march=armv8-a -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -static -o openaptxenc.static openaptxenc.o libopenaptx.a
c99 -march=armv8-a -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -static -o openaptxdec.static openaptxdec.o libopenaptx.a
ln -sf libopenaptx.so.0.2.0 libopenaptx.so.0
ln -sf libopenaptx.so.0 libopenaptx.so
c99 -march=armv8-a -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o openaptxenc openaptxenc.o libopenaptx.so
c99 -march=armv8-a -O2 -pipe -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o openaptxdec openaptxdec.o libopenaptx.so
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/libopenaptx/pkg/libopenaptx/usr/lib
cp -a libopenaptx.so.0.2.0 libopenaptx.so.0 libopenaptx.so libopenaptx.a /build/libopenaptx/pkg/libopenaptx/usr/lib
mkdir -p /build/libopenaptx/pkg/libopenaptx/usr/bin
cp -a openaptxenc openaptxdec /build/libopenaptx/pkg/libopenaptx/usr/bin
mkdir -p /build/libopenaptx/pkg/libopenaptx/usr/include
cp -a openaptx.h /build/libopenaptx/pkg/libopenaptx/usr/include
mkdir -p /build/libopenaptx/pkg/libopenaptx/usr/lib/pkgconfig
printf 'prefix=%s\nexec_prefix=${prefix}\nlibdir=${exec_prefix}/%s\nincludedir=${prefix}/%s\n\n' /usr lib include > /build/libopenaptx/pkg/libopenaptx/usr/lib/pkgconfig/libopenaptx.pc
printf 'Name: lib%s\nDescription: Open Source aptX codec library\nVersion: %u.%u.%u\n' openaptx 0 2 0 >> /build/libopenaptx/pkg/libopenaptx/usr/lib/pkgconfig/libopenaptx.pc
printf 'Libs: -Wl,-rpath=${libdir} -L${libdir} -l%s\nCflags: -I${includedir}\n' openaptx >> /build/libopenaptx/pkg/libopenaptx/usr/lib/pkgconfig/libopenaptx.pc
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libopenaptx"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libopenaptx 0.2.0-1 (Tue 15 Dec 2020 03:16:39 PM UTC)
==> Cleaning up...