Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec'], chrootPath='/var/lib/mock/f42-build-56356428-6543614/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3de0d9c8087d4a28b6be10e252a04b50', '-D', '/var/lib/mock/f42-build-56356428-6543614/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/icon-9.5.20i-10.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec'], chrootPath='/var/lib/mock/f42-build-56356428-6543614/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a80cf8ed2c84498dba4e2b8c84a3e970', '-D', '/var/lib/mock/f42-build-56356428-6543614/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Zy4ky8 + umask 022 + cd /builddir/build/BUILD/icon-9.5.20i-build + test -d /builddir/build/BUILD/icon-9.5.20i-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/icon-9.5.20i-build + /usr/bin/rm -rf /builddir/build/BUILD/icon-9.5.20i-build + /usr/bin/mkdir -p /builddir/build/BUILD/icon-9.5.20i-build + /usr/bin/mkdir -p /builddir/build/BUILD/icon-9.5.20i-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U4Rvxt + umask 022 + cd /builddir/build/BUILD/icon-9.5.20i-build + cd /builddir/build/BUILD/icon-9.5.20i-build + rm -rf icon-9.5.20i + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/icon-v9.5.20i.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd icon-9.5.20i + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf src/xpm Patch #0 (icon-nostrip.patch): + echo 'Patch #0 (icon-nostrip.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nostrip --fuzz=0 patching file src/icont/Makefile patching file src/runtime/Makefile Patch #1 (icon-system-xpm.patch): + echo 'Patch #1 (icon-system-xpm.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system-xpm --fuzz=0 patching file src/common/Makefile patching file src/h/sys.h patching file src/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R6Kb1A + umask 022 + cd /builddir/build/BUILD/icon-9.5.20i-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd icon-9.5.20i + make X-Configure name=linux make Pure >/dev/null cd config; sh setup.sh linux Graphics configured linux with Graphics + sed -i -e 's|CFLAGS = -O|CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer|' Makedefs + sed -i -e 's|Igpx|Xpm|' Makedefs + make -j1 All uname -a Linux a80cf8ed2c84498dba4e2b8c84a3e970 6.12.8-200.fc41.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Jan 2 19:54:44 UTC 2025 aarch64 GNU/Linux pwd /builddir/build/BUILD/icon-9.5.20i-build/icon-9.5.20i cd src/common; make make[1]: Entering directory '/builddir/build/BUILD/icon-9.5.20i-build/icon-9.5.20i/src/common' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o infer infer.c infer.c:16: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas] 16 | #pragma clang diagnostic ignored "-Wreturn-stack-address" ./infer >../h/arch.h gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o long.o long.c long.c: In function ‘longwrite’: long.c:11:6: warning: old-style function definition [-Wold-style-definition] 11 | long longwrite(s,len,file) | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o getopt.o getopt.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o time.o time.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o filepart.o filepart.c filepart.c: In function ‘pathfind’: filepart.c:38:7: warning: old-style function definition [-Wold-style-definition] 38 | char *pathfind(buf, path, name, extn) | ^~~~~~~~ filepart.c: In function ‘pathelem’: filepart.c:59:14: warning: old-style function definition [-Wold-style-definition] 59 | static char *pathelem(s, buf) | ^~~~~~~~ filepart.c: In function ‘tryfile’: filepart.c:93:14: warning: old-style function definition [-Wold-style-definition] 93 | static char *tryfile(buf, dir, name, extn) | ^~~~~~~ filepart.c: In function ‘fparse’: filepart.c:110:19: warning: old-style function definition [-Wold-style-definition] 110 | struct fileparts *fparse(s) | ^~~~~~ filepart.c: In function ‘makename’: filepart.c:147:7: warning: old-style function definition [-Wold-style-definition] 147 | char *makename(dest,d,name,e) | ^~~~~~~~ filepart.c: In function ‘smatch’: filepart.c:163:5: warning: old-style function definition [-Wold-style-definition] 163 | int smatch(s,t) | ^~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o identify.o identify.c identify.c: In function ‘id_comment’: identify.c:11:6: warning: old-style function definition [-Wold-style-definition] 11 | void id_comment(f) | ^~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o strtbl.o strtbl.c strtbl.c: In function ‘init_sbuf’: strtbl.c:60:6: warning: old-style function definition [-Wold-style-definition] 60 | void init_sbuf(sbuf) | ^~~~~~~~~ strtbl.c: In function ‘clear_sbuf’: strtbl.c:74:6: warning: old-style function definition [-Wold-style-definition] 74 | void clear_sbuf(sbuf) | ^~~~~~~~~~ strtbl.c: In function ‘new_sbuf’: strtbl.c:93:6: warning: old-style function definition [-Wold-style-definition] 93 | void new_sbuf(sbuf) | ^~~~~~~~ strtbl.c: In function ‘spec_str’: strtbl.c:119:7: warning: old-style function definition [-Wold-style-definition] 119 | char *spec_str(s) | ^~~~~~~~ strtbl.c: In function ‘str_install’: strtbl.c:150:7: warning: old-style function definition [-Wold-style-definition] 150 | char *str_install(sbuf) | ^~~~~~~~~~~ strtbl.c: In function ‘streq’: strtbl.c:199:12: warning: old-style function definition [-Wold-style-definition] 199 | static int streq(len, s1, s2) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rtdb.o rtdb.c rtdb.c: In function ‘db_open’: rtdb.c:57:5: warning: old-style function definition [-Wold-style-definition] 57 | int db_open(s, lrgintflg) | ^~~~~~~ rtdb.c: In function ‘db_impl’: rtdb.c:188:19: warning: old-style function definition [-Wold-style-definition] 188 | struct implement *db_impl(oper_typ) | ^~~~~~~ rtdb.c: In function ‘db_code’: rtdb.c:343:6: warning: old-style function definition [-Wold-style-definition] 343 | void db_code(ip) | ^~~~~~~ rtdb.c: In function ‘db_case’: rtdb.c:853:13: warning: old-style function definition [-Wold-style-definition] 853 | static void db_case(il, num_cases) | ^~~~~~~ rtdb.c: In function ‘quoted’: rtdb.c:1233:13: warning: old-style function definition [-Wold-style-definition] 1233 | static void quoted(delim) | ^~~~~~ rtdb.c: In function ‘db_ilcret’: rtdb.c:1258:21: warning: old-style function definition [-Wold-style-definition] 1258 | static struct il_c *db_ilcret(il_c_type) | ^~~~~~~~~ rtdb.c: In function ‘new_ilc’: rtdb.c:1379:21: warning: old-style function definition [-Wold-style-definition] 1379 | static struct il_c *new_ilc(il_c_type) | ^~~~~~~ rtdb.c: In function ‘new_il’: rtdb.c:1399:17: warning: old-style function definition [-Wold-style-definition] 1399 | struct il_code *new_il(il_type, size) | ^~~~~~ rtdb.c: In function ‘db_dscrd’: rtdb.c:1414:6: warning: old-style function definition [-Wold-style-definition] 1414 | void db_dscrd(ip) | ^~~~~~~~ rtdb.c: In function ‘db_chstr’: rtdb.c:1456:6: warning: old-style function definition [-Wold-style-definition] 1456 | void db_chstr(prefix, suffix) | ^~~~~~~~ rtdb.c: In function ‘db_tbl’: rtdb.c:1483:5: warning: old-style function definition [-Wold-style-definition] 1483 | int db_tbl(section, tbl) | ^~~~~~ rtdb.c: In function ‘db_ilkup’: rtdb.c:1521:19: warning: old-style function definition [-Wold-style-definition] 1521 | struct implement *db_ilkup(id, tbl) | ^~~~~~~~ rtdb.c: In function ‘nxt_pre’: rtdb.c:1538:6: warning: old-style function definition [-Wold-style-definition] 1538 | void nxt_pre(pre, nxt, n) | ^~~~~~~ rtdb.c: In function ‘cmp_pre’: rtdb.c:1604:5: warning: old-style function definition [-Wold-style-definition] 1604 | int cmp_pre(pre1, pre2) | ^~~~~~~ rtdb.c: In function ‘cmp_1_pre’: rtdb.c:1620:12: warning: old-style function definition [-Wold-style-definition] 1620 | static int cmp_1_pre(p1, p2) | ^~~~~~~~~ rtdb.c: In function ‘db_err1’: rtdb.c:1641:6: warning: old-style function definition [-Wold-style-definition] 1641 | void db_err1(fatal, s) | ^~~~~~~ rtdb.c: In function ‘db_err2’: rtdb.c:1657:6: warning: old-style function definition [-Wold-style-definition] 1657 | void db_err2(fatal, s1, s2) | ^~~~~~~ rtdb.c: In function ‘db_err3’: rtdb.c:1675:13: warning: old-style function definition [-Wold-style-definition] 1675 | static void db_err3(fatal, s1, s2, s3) | ^~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o munix.o munix.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o literals.o literals.c literals.c: In function ‘escape’: literals.c:29:12: warning: old-style function definition [-Wold-style-definition] 29 | static int escape(str_ptr, nchars_ptr) | ^~~~~~ literals.c: In function ‘bitvect’: literals.c:87:17: warning: old-style function definition [-Wold-style-definition] 87 | unsigned short *bitvect(image, len) | ^~~~~~~ literals.c: In function ‘cset_init’: literals.c:111:6: warning: old-style function definition [-Wold-style-definition] 111 | void cset_init(f, bv) | ^~~~~~~~~ literals.c: In function ‘prt_i_str’: literals.c:133:5: warning: old-style function definition [-Wold-style-definition] 133 | int prt_i_str(f, s, len) | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o rswitch.o rswitch.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o alloc.o alloc.c alloc.c: In function ‘salloc’: alloc.c:11:7: warning: old-style function definition [-Wold-style-definition] 11 | char *salloc(s) | ^~~~~~ alloc.c: In function ‘alloc’: alloc.c:28:9: warning: old-style function definition [-Wold-style-definition] 28 | pointer alloc(n) | ^~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o xwindow.o xwindow.c xwindow.c: In function ‘translate_key_event’: xwindow.c:40:5: warning: old-style function definition [-Wold-style-definition] 40 | int translate_key_event(event, s, k) | ^~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ipp.o ipp.c ipp.c:88:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 88 | { "define", define }, | ^~~~~~ ipp.c:88:17: note: (near initialization for ‘pplist[0].func’) ipp.c:66:17: note: ‘define’ declared here 66 | static char * define (char *s); | ^~~~~~ ipp.c:89:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 89 | { "undef", undef }, | ^~~~~ ipp.c:89:17: note: (near initialization for ‘pplist[1].func’) ipp.c:67:17: note: ‘undef’ declared here 67 | static char * undef (char *s); | ^~~~~ ipp.c:90:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 90 | { "ifdef", ifdef }, | ^~~~~ ipp.c:90:17: note: (near initialization for ‘pplist[2].func’) ipp.c:68:17: note: ‘ifdef’ declared here 68 | static char * ifdef (char *s); | ^~~~~ ipp.c:91:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 91 | { "ifndef", ifndef }, | ^~~~~~ ipp.c:91:17: note: (near initialization for ‘pplist[3].func’) ipp.c:69:17: note: ‘ifndef’ declared here 69 | static char * ifndef (char *s); | ^~~~~~ ipp.c:92:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 92 | { "else", elsedir }, | ^~~~~~~ ipp.c:92:17: note: (near initialization for ‘pplist[4].func’) ipp.c:71:17: note: ‘elsedir’ declared here 71 | static char * elsedir (char *s); | ^~~~~~~ ipp.c:93:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 93 | { "endif", endif }, | ^~~~~ ipp.c:93:17: note: (near initialization for ‘pplist[5].func’) ipp.c:72:17: note: ‘endif’ declared here 72 | static char * endif (char *s); | ^~~~~ ipp.c:94:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 94 | { "include", include }, | ^~~~~~~ ipp.c:94:17: note: (near initialization for ‘pplist[6].func’) ipp.c:74:17: note: ‘include’ declared here 74 | static char * include (char *s); | ^~~~~~~ ipp.c:95:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 95 | { "line", setline }, | ^~~~~~~ ipp.c:95:17: note: (near initialization for ‘pplist[7].func’) ipp.c:75:17: note: ‘setline’ declared here 75 | static char * setline (char *s); | ^~~~~~~ ipp.c:96:17: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(char *)’ [-Wincompatible-pointer-types] 96 | { "error", errdir }, | ^~~~~~ ipp.c:96:17: note: (near initialization for ‘pplist[8].func’) ipp.c:73:17: note: ‘errdir’ declared here 73 | static char * errdir (char *s); | ^~~~~~ ipp.c: In function ‘ppinit’: ipp.c:123:5: warning: old-style function definition [-Wold-style-definition] 123 | int ppinit(fname, inclpath) | ^~~~~~ ipp.c: In function ‘ppopen’: ipp.c:162:12: warning: old-style function definition [-Wold-style-definition] 162 | static int ppopen(fname) | ^~~~~~ ipp.c: In function ‘ppdef’: ipp.c:200:6: warning: old-style function definition [-Wold-style-definition] 200 | void ppdef(s, v) | ^~~~~ ipp.c: In function ‘rline’: ipp.c:367:14: warning: old-style function definition [-Wold-style-definition] 367 | static char *rline(fp) | ^~~~~ ipp.c: In function ‘pushdef’: ipp.c:419:13: warning: old-style function definition [-Wold-style-definition] 419 | static void pushdef(d) | ^~~~~~~ ipp.c: In function ‘pushline’: ipp.c:443:13: warning: old-style function definition [-Wold-style-definition] 443 | static void pushline(fname, lno) | ^~~~~~~~ ipp.c: In function ‘ppdir’: ipp.c:459:13: warning: old-style function definition [-Wold-style-definition] 459 | static void ppdir(s) | ^~~~~ ipp.c:475:20: error: too many arguments to function ‘p->func’; expected 0, have 1 475 | errmsg = (*p->func)(s); /* process directive */ | ~^~~~~~~~~ ~ ipp.c:85:12: note: declared here 85 | char *(*func)(); | ^~~~ ipp.c:476:41: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 476 | if (errmsg != NULL && (p->func != setline || b0 != '#')) | ^~ ipp.c: In function ‘pfatal’: ipp.c:493:13: warning: old-style function definition [-Wold-style-definition] 493 | static void pfatal(s1, s2) | ^~~~~~ ipp.c: In function ‘errdir’: ipp.c:513:14: warning: old-style function definition [-Wold-style-definition] 513 | static char *errdir(s) | ^~~~~~ ipp.c: In function ‘define’: ipp.c:523:14: warning: old-style function definition [-Wold-style-definition] 523 | static char *define(s) | ^~~~~~ ipp.c: In function ‘undef’: ipp.c:555:14: warning: old-style function definition [-Wold-style-definition] 555 | static char *undef(s) | ^~~~~ ipp.c: In function ‘include’: ipp.c:573:14: warning: old-style function definition [-Wold-style-definition] 573 | static char *include(s) | ^~~~~~~ ipp.c: In function ‘setline’: ipp.c:592:14: warning: old-style function definition [-Wold-style-definition] 592 | static char *setline(s) | ^~~~~~~ ipp.c: In function ‘ifdef’: ipp.c:631:14: warning: old-style function definition [-Wold-style-definition] 631 | static char *ifdef(s) | ^~~~~ ipp.c: In function ‘ifndef’: ipp.c:637:14: warning: old-style function definition [-Wold-style-definition] 637 | static char *ifndef(s) | ^~~~~~ ipp.c: In function ‘ifxdef’: ipp.c:646:14: warning: old-style function definition [-Wold-style-definition] 646 | static char *ifxdef(s, f) | ^~~~~~ ipp.c: In function ‘elsedir’: ipp.c:667:14: warning: old-style function definition [-Wold-style-definition] 667 | static char *elsedir(s) | ^~~~~~~ ipp.c: In function ‘endif’: ipp.c:681:14: warning: old-style function definition [-Wold-style-definition] 681 | static char *endif(s) | ^~~~~ ipp.c: In function ‘skipcode’: ipp.c:697:13: warning: old-style function definition [-Wold-style-definition] 697 | static void skipcode(doelse, report) | ^~~~~~~~ ipp.c: In function ‘wskip’: ipp.c:766:14: warning: old-style function definition [-Wold-style-definition] 766 | static char *wskip(s) | ^~~~~ ipp.c: In function ‘nskip’: ipp.c:782:14: warning: old-style function definition [-Wold-style-definition] 782 | static char *nskip(s) | ^~~~~ ipp.c: In function ‘matchq’: ipp.c:815:14: warning: old-style function definition [-Wold-style-definition] 815 | static char *matchq(s) | ^~~~~~ ipp.c: In function ‘getidt’: ipp.c:842:14: warning: old-style function definition [-Wold-style-definition] 842 | static char *getidt(dst, src) | ^~~~~~ ipp.c: In function ‘getfnm’: ipp.c:861:14: warning: old-style function definition [-Wold-style-definition] 861 | static char *getfnm(dst, src) | ^~~~~~ ipp.c: In function ‘dlookup’: ipp.c:890:15: warning: old-style function definition [-Wold-style-definition] 890 | static cdefn *dlookup(name, len, val) | ^~~~~~~ make[1]: *** [: ipp.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/icon-9.5.20i-build/icon-9.5.20i/src/common' make: *** [Makefile:64: Icont] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.R6Kb1A (%build) Bad exit status from /var/tmp/rpm-tmp.R6Kb1A (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a80cf8ed2c84498dba4e2b8c84a3e970 -D /var/lib/mock/f42-build-56356428-6543614/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a80cf8ed2c84498dba4e2b8c84a3e970 -D /var/lib/mock/f42-build-56356428-6543614/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.31gw2ef9:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/icon.spec'