==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_9c69a6e5-f79a-4e4c-ba61-dfab81176142]...done ==> Making package: tuntox 0.0.10.1-2.2 (Sun Apr 26 18:27:58 2026) ==> Retrieving sources... -> Cloning tuntox git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/tuntox-0.0.10.1-2/tuntox'... ==> Validating source files with sha512sums... tuntox ... Skipped ==> Verifying source file signatures with gpg... tuntox git repo ... Passed (WARNING: the key has expired.) ==> WARNING: Warnings have occurred while verifying the signatures. Please make sure you really trust them. ==> Making package: tuntox 0.0.10.1-2.2 (Sun Apr 26 16:28:01 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/libconfig 1.8.2-2 0.27 MiB extra/libsodium 1.0.22-1 0.64 MiB extra/libvpx 1.16.0-3 3.68 MiB extra/opus 1.6.1-1 4.16 MiB extra/toxcore 1:0.2.22-2 1.21 MiB Total Installed Size: 9.96 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libconfig... installing libsodium... installing libvpx... installing opus... installing toxcore... :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'tox-bootstrapd' with GID 199. Creating user 'tox-bootstrapd' (Tox bootstrapd) with UID 199 and GID 199. (2/5) Creating temporary files... (3/5) Reloading system manager configuration... Skipped: Current root is not booted. (4/5) Arming ConditionNeedsUpdate... (5/5) Updating the info directory file... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/zlib-ng 2.3.3-1 0.28 MiB extra/git 2.54.0-1 30.26 MiB Total Installed Size: 30.83 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` 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-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git :: Running post-transaction hooks... (1/3) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/3) Reloading system manager configuration... Skipped: Current root is not booted. (3/3) Arming ConditionNeedsUpdate... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of tuntox git repo... Cloning into 'tuntox'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... SOURCES = $(wildcard *.c) DEPS=toxcore CC=gcc CFLAGS += $(shell pkg-config --cflags $(DEPS)) LDFLAGS += $(shell pkg-config --static --libs $(DEPS)) DSO_LDFLAGS=$(LDFLAGS) DSO_LDFLAGS += $(shell pkg-config --libs $(DEPS)) OBJECTS=$(SOURCES:.c=.o) INCLUDES = $(wildcard *.h) PYTHON = /usr/bin/env python3 INSTALL = install -C INSTALL_MKDIR = $(INSTALL) -d -m 755 prefix ?= /usr bindir ?= $(prefix)/bin # Targets all: tuntox tuntox_nostatic gitversion.h: FORCE @if [ -f .git/HEAD ] ; then echo " GEN $@"; echo "#define GITVERSION \"$(shell git rev-parse HEAD)\"" > $@; fi FORCE: tox_bootstrap.h: $(PYTHON) generate_tox_bootstrap.py %.o: %.c $(INCLUDES) gitversion.h tox_bootstrap.h @echo " CC $@" @$(CC) -c $(CFLAGS) $< -o $@ tuntox: $(OBJECTS) $(INCLUDES) $(CC) -o $@ $(OBJECTS) -lpthread $(LDFLAGS) tuntox_nostatic: $(OBJECTS) $(INCLUDES) $(CC) -o $@ $(OBJECTS) -lpthread $(DSO_LDFLAGS) cscope.out: @echo " GEN $@" @cscope -bv ./*.[ch] &> /dev/null clean: rm -f *.o tuntox cscope.out gitversion.h tox_bootstrap.h install: tuntox_nostatic $(INSTALL_MKDIR) -d $(DESTDIR)$(bindir) cp tuntox_nostatic $(DESTDIR)$(bindir)/tuntox .PHONY: all clean tuntox ==> Starting build()... GEN gitversion.h CC cJSON.o CC client.o CC gitversion.o CC log.o CC main.o CC tox_bootstrap_json.o CC util.o tox_bootstrap_json.c: In function ‘do_bootstrap_file’: tox_bootstrap_json.c:30:13: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 30 | fread (buffer, 1, length, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘handle_frame’: main.c:592:20: error: too many arguments to function ‘handle_pong_frame’; expected 0, have 1 592 | return handle_pong_frame(frame); | ^~~~~~~~~~~~~~~~~ ~~~~~ In file included from main.c:2: client.h:18:5: note: declared here 18 | int handle_pong_frame(); | ^~~~~~~~~~~~~~~~~ main.c: In function ‘do_daemonize’: main.c:1121:13: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1121 | setuid(pw->pw_uid); | ^~~~~~~~~~~~~~~~~~ main.c:1131:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1131 | setuid(uid); | ^~~~~~~~~~~ main.c:1201:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1201 | freopen( "/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1202:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1202 | freopen( "/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1203:5: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1203 | freopen( "/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:29: main.o] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_9c69a6e5-f79a-4e4c-ba61-dfab81176142/build