==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: ossp 1.3.2+11+g9e94d67-4 (Sat Jul 13 08:10:32 2024)
==> Retrieving sources...
  -> Cloning osspd git repo...
Cloning into bare repository '/home/leming/work/ossp/osspd'...
  -> Found 0001-Log-the-right-slave-program-name.patch
  -> Found 0002-Hack-to-work-with-modern-PulseAudio.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    osspd ... Skipped
    0001-Log-the-right-slave-program-name.patch ... Passed
    0002-Hack-to-work-with-modern-PulseAudio.patch ... Passed
==> Making package: ossp 1.3.2+11+g9e94d67-4 (Sat Jul 13 08:10:40 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) fuse-common-3.16.2-1  fuse2-2.9.9-5

Total Download Size:   0.11 MiB
Total Installed Size:  0.70 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 fuse2-2.9.9-5-aarch64 downloading...
 fuse-common-3.16.2-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing fuse-common...
installing fuse2...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 2 providers available for dbus-units:
:: Repository core
   1) dbus-broker-units  2) dbus-daemon-units

Enter a number (default=1): 
looking for conflicting packages...

Packages (32) alsa-topology-conf-1.2.5.1-4  alsa-ucm-conf-1.2.12-1
              argon2-20190702-5  cryptsetup-2.7.3-1  dbus-1.14.10-2
              dbus-broker-36-2  dbus-broker-units-36-2  device-mapper-2.03.24-1
              flac-1.4.3-2  hwdata-0.384-1  kbd-2.6.4-1  kmod-32-1
              lame-3.100-5  libasyncns-1:0.8+r3+g68cd5af-3  libogg-1.3.5-2
              libseccomp-2.5.5-3  libsndfile-1.2.2-2  libvorbis-1.3.7-3
              libxau-1.0.11-3  libxcb-1.17.0-1  libxdmcp-1.1.5-1.1
              mpg123-1.32.6-1  opus-1.5.2-1  perl-error-0.17029-5
              perl-mailtools-2.21-7  perl-timedate-2.33-5  systemd-256.2-1
              xcb-proto-1.17.0-2  xorgproto-2024.1-2  alsa-lib-1.2.12-1
              git-2.45.2-1  libpulse-17.0-3

Total Download Size:     9.03 MiB
Total Installed Size:  124.76 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.45.2-1-aarch64 downloading...
 mpg123-1.32.6-1-aarch64 downloading...
 libpulse-17.0-3-aarch64 downloading...
 libsndfile-1.2.2-2-aarch64 downloading...
 flac-1.4.3-2-aarch64 downloading...
 lame-3.100-5-aarch64 downloading...
 perl-mailtools-2.21-7-any downloading...
 perl-error-0.17029-5-any downloading...
 libasyncns-1:0.8+r3+g68cd5af-3-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing dbus...
installing libasyncns...
installing libogg...
installing flac...
installing lame...
installing libvorbis...
installing alsa-topology-conf...
installing alsa-ucm-conf...
installing alsa-lib...
installing mpg123...
Optional dependencies for mpg123
    sdl2: for sdl audio support
    jack: for jack audio support
    libpulse: for pulse audio support [pending]
    perl: for conplay [installed]
installing opus...
installing libsndfile...
Optional dependencies for libsndfile
    alsa-lib: for sndfile-play [installed]
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing device-mapper...
installing argon2...
installing cryptsetup...
installing dbus-broker...
installing dbus-broker-units...
installing kbd...
installing kmod...
installing hwdata...
installing libseccomp...
installing systemd...
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'distcc' with GID 983.
Creating group 'groups' with GID 982.
Creating group 'systemd-journal' with GID 981.
Creating group 'rfkill' with GID 980.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating user 'distcc' (distcc user) with UID 983 and GID 983.
Creating group 'systemd-coredump' with GID 979.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 979 and GID 979.
Creating group 'systemd-network' with GID 978.
Creating user 'systemd-network' (systemd Network Management) with UID 978 and GID 978.
Creating group 'systemd-oom' with GID 977.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 977 and GID 977.
Creating group 'systemd-journal-remote' with GID 976.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 976 and GID 976.
Creating group 'systemd-resolve' with GID 975.
Creating user 'systemd-resolve' (systemd Resolver) with UID 975 and GID 975.
Creating group 'systemd-timesync' with GID 974.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 974 and GID 974.
Creating group 'tss' with GID 973.
Creating user 'tss' (tss user for tpm2) with UID 973 and GID 973.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink '/etc/systemd/system/getty.target.wants/getty@tty1.service' → '/usr/lib/systemd/system/getty@.service'.
Created symlink '/etc/systemd/system/multi-user.target.wants/remote-fs.target' → '/usr/lib/systemd/system/remote-fs.target'.
Created symlink '/etc/systemd/system/sockets.target.wants/systemd-userdbd.socket' → '/usr/lib/systemd/system/systemd-userdbd.socket'.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image
    polkit: allow administration as unprivileged user
    curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed]
    gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed]
    qrencode: show QR codes
    iptables: firewall features
    libbpf: support BPF programs
    libpwquality: check password quality
    libfido2: unlocking LUKS2 volumes with FIDO2 token
    libp11-kit: support PKCS#11 [installed]
    tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
installing libpulse...
Optional dependencies for libpulse
    glib2: mainloop integration [installed]
    pulse-native-provider: PulseAudio backend
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-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 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
( 1/11) Creating system user accounts...
Creating group 'git' with GID 972.
Creating user 'git' (git daemon user) with UID 972 and GID 972.
( 2/11) Updating journal message catalog...
( 3/11) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/11) Reloading user manager configuration...
  Skipped: Current root is not booted.
( 5/11) Updating udev hardware database...
( 6/11) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 7/11) Creating temporary files...
( 8/11) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 9/11) Arming ConditionNeedsUpdate...
(10/11) Reloading system bus configuration...
  Skipped: Current root is not booted.
(11/11) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found 0001-Log-the-right-slave-program-name.patch
  -> Found 0002-Hack-to-work-with-modern-PulseAudio.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of osspd git repo...
Cloning into 'osspd'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Applied patch to 'ossp-alsap.c' cleanly.
Applied patch to 'ossp-padsp.c' cleanly.
Applied patch to 'ossp-slave.c' cleanly.
Applied patch to 'ossp-slave.h' cleanly.
Applied patch to 'ossp-padsp.c' cleanly.
==> Starting pkgver()...
==> Starting build()...
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -c -o ossp.o ossp.c
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -c -o ossp-util.o ossp-util.c
ossp-util.c: In function 'get_proc_self_info':
ossp-util.c:368:9: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized]
ossp-util.c:319:9: note: 'rc' was declared here
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -c -o ossp-slave.o ossp-slave.c
ossp-slave.c: In function 'ossp_slave_init':
ossp-slave.c:101:49: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 127 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:980,
                 from ossp-slave.c:16:
In function 'snprintf',
    inlined from 'ossp_slave_init' at ossp-slave.c:101:2:
/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 5 or more bytes (assuming 132) into a destination of size 128
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~~       
ossp-slave.c: In function 'ossp_slave_init':
ossp-slave.c:97:6: warning: 'uid' may be used uninitialized [-Wmaybe-uninitialized]
ossp-slave.c:47:8: note: 'uid' was declared here
ossp-slave.c:123:6: warning: 'gid' may be used uninitialized [-Wmaybe-uninitialized]
ossp-slave.c:48:8: note: 'gid' was declared here
ar rc libossp.a ossp.o ossp-util.o ossp-slave.o
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -o osspd osspd.c -lfuse -pthread -L. -lossp -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -D_REENTRANT -o ossp-padsp ossp-padsp.c -lpulse -pthread -L. -lossp -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
gcc -Wall -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection  -lasound -o ossp-alsap ossp-alsap.c -lasound -L. -lossp -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
osspd.c:41:2: warning: #warning mmap support disabled for now []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wcpp-Wcpp]8;;]
   41 | #warning mmap support disabled for now
      |  ^~~~~~~
osspd.c: In function ‘notify_poller’:
osspd.c:1855:1: warning: no return statement in function returning non-void []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-return-type-Wreturn-type]8;;]
 1855 | }
      | ^
osspd.c: In function ‘ossp_daemonize’:
osspd.c:1936:17: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
 1936 |                 chdir("/");
      |                 ^~~~~~~~~~
ossp-alsap.c: In function ‘alsap_open’:
ossp-alsap.c:206:12: warning: ret’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
  206 |         if (ret < 0)
      |            ^
ossp-alsap.c:196:13: note: ret’ was declared here
  196 |         int ret;
      |             ^~~
ossp-padsp.c: In function ‘padsp_open’:
ossp-padsp.c:750:66: warning: %s’ directive output may be truncated writing up to 127 bytes into a region of size 117 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=]8;;]
  750 |         snprintf(stream_name, sizeof(stream_name), "OSS Proxy %s/%s:%ld",
      |                                                                  ^~
  751 |                  host_name, ossp_user_name, (long)arg->opener_pid);
      |                             ~~~~~~~~~~~~~~                        
ossp-padsp.c:750:52: note: directive argument in the range [-2147483648, 2147483647]
  750 |         snprintf(stream_name, sizeof(stream_name), "OSS Proxy %s/%s:%ld",
      |                                                    ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:980,
                 from ossp-padsp.c:20:
In function ‘snprintf’,
    inlined from ‘padsp_open’ at ossp-padsp.c:750:2:
/usr/include/bits/stdio2.h:54:10: note: __builtin___snprintf_chk’ output 14 or more bytes (assuming 151) into a destination of size 128
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
osspd.c: In function ‘exec_cmd.constprop’:
osspd.c:421:32: warning: mret’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
  421 |         return is_mixer ? mret : ret;
      |                ~~~~~~~~~~~~~~~~^~~~~
osspd.c:361:22: note: mret’ was declared here
  361 |         ssize_t ret, mret;
      |                      ^~~~
osspd.c: In function ‘create_os.constprop’:
osspd.c:1221:17: warning: __builtin_strncpy’ output may be truncated copying 4095 bytes from a string of length 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-stringop-truncation-Wstringop-truncation]8;;]
 1221 |                 strncpy(slave_path_copy, slave_path, sizeof(slave_path_copy) - 1);
      |                 ^
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p /build/ossp/pkg/ossp/usr/bin
install -m755 osspd ossp-padsp ossp-alsap /build/ossp/pkg/ossp/usr/bin
mkdir -p /build/ossp/pkg/ossp/usr/lib/udev/rules.d
install -m644 98-osscuse.rules /build/ossp/pkg/ossp/usr/lib/udev/rules.d
==> 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 "ossp"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ossp 1.3.2+11+g9e94d67-4 (Sat Jul 13 08:10:54 2024)
==> Cleaning up...