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 ppc64le --nodeps /builddir/build/SPECS/tuxpaint.spec'], chrootPath='/var/lib/mock/f42-build-56356341-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.f983s043:/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.f983s043:/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', '00087b43650045e1855b905dff1a314a', '-D', '/var/lib/mock/f42-build-56356341-6543614/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f983s043:/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 ppc64le --nodeps /builddir/build/SPECS/tuxpaint.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1734566400 Wrote: /builddir/build/SRPMS/tuxpaint-0.9.34-1.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/tuxpaint.spec'], chrootPath='/var/lib/mock/f42-build-56356341-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.f983s043:/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.f983s043:/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', 'cccef6390cb345079f0c0e5b438bf3c8', '-D', '/var/lib/mock/f42-build-56356341-6543614/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f983s043:/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 ppc64le --nodeps /builddir/build/SPECS/tuxpaint.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1734566400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.u5YGDL + umask 022 + cd /builddir/build/BUILD/tuxpaint-0.9.34-build + test -d /builddir/build/BUILD/tuxpaint-0.9.34-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/tuxpaint-0.9.34-build + /usr/bin/rm -rf /builddir/build/BUILD/tuxpaint-0.9.34-build + /usr/bin/mkdir -p /builddir/build/BUILD/tuxpaint-0.9.34-build + /usr/bin/mkdir -p /builddir/build/BUILD/tuxpaint-0.9.34-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2mUg7m + umask 022 + cd /builddir/build/BUILD/tuxpaint-0.9.34-build + cd /builddir/build/BUILD/tuxpaint-0.9.34-build + rm -rf tuxpaint-0.9.34 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tuxpaint-0.9.34.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tuxpaint-0.9.34 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (desktop.patch): + echo 'Patch #0 (desktop.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .desktop --fuzz=0 patching file Makefile + sed -i -e '/\/gnome\/apps\/Graphics/d' Makefile + find docs -type f -exec perl -pi -e 's/\r\n/\n/' '{}' ';' find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory find: ‘perl’: No such file or directory + find docs -type f -perm /100 -exec chmod a-x '{}' ';' + make PREFIX=/usr MAGIC_PREFIX=/usr/lib64/tuxpaint/plugins tp-magic-config ...Generating 'Magic' tool API configuration script... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XK6i2n + umask 022 + cd /builddir/build/BUILD/tuxpaint-0.9.34-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 tuxpaint-0.9.34 + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 ++ pkg-config --cflags pango + make -j8 PREFIX=/usr '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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/freetype2 -I/usr/include/SDL2 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1' '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 -L/usr/lib64' MAGIC_PREFIX=/usr/lib64/tuxpaint/plugins echo echo "...Compiling i18n support..." ...Generating 'Magic' tool API development header file... ...Compiling i18n support... gcc -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/freetype2 -I/usr/include/SDL2 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -DVER_DATE=\"2024-12-19\" -DVER_VERSION=\"0.9.34\" -DDATA_PREFIX=\"/usr/share/tuxpaint/\" -DDOC_PREFIX=\"/usr/share/doc/tuxpaint-0.9.34/\" -DLOCALEDIR=\"/usr/share/locale/\" -DIMDIR=\"/usr/share/tuxpaint/im/\" -DCONFDIR=\"/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/usr/lib64/tuxpaint/plugins/\" \ -c src/i18n.c -o obj/i18n.o ...Compiling IM support... ...Compiling cursor support... ...Compiling pixel functions... ...Compiling sound playback functions... ...Compiling RGB to Linear functions... ...Compiling font support... gcc -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/freetype2 -I/usr/include/SDL2 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL2 -D_GNU_SOURCE=1 -D_REENTRANT -DVER_DATE=\"2024-12-19\" -DVER_VERSION=\"0.9.34\" -DDATA_PREFIX=\"/usr/share/tuxpaint/\" -DDOC_PREFIX=\"/usr/share/doc/tuxpaint-0.9.34/\" -DLOCALEDIR=\"/usr/share/locale/\" -DIMDIR=\"/usr/share/tuxpaint/im/\" -DCONFDIR=\"/etc/tuxpaint/\" -DMAGIC_PREFIX=\"/usr/lib64/tuxpaint/plugins/\" \ -c src/fonts.c -o obj/fonts.o ...Generating the command-line and config file parser (STEP 1)... ...Compiling flood fill tool... ...Compiling progress bar functions... ...Compiling directory-walking support... ...Compiling filename support... ...Compiling on screen keyboard support... src/fill.c: In function ‘init_queue’: src/fill.c:123:23: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 123 | queue = (queue_t *) malloc(sizeof(queue_t) * QUEUE_SIZE_CHUNK); | ^~~~~~ src/fill.c:47:1: note: include ‘’ or provide a declaration of ‘malloc’ 46 | #include "progressbar.h" +++ |+#include 47 | src/fill.c:123:23: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 123 | queue = (queue_t *) malloc(sizeof(queue_t) * QUEUE_SIZE_CHUNK); | ^~~~~~ src/fill.c:123:23: note: include ‘’ or provide a declaration of ‘malloc’ src/fill.c: In function ‘add_to_queue’: src/fill.c:140:23: error: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 140 | tmp = (queue_t *) realloc(queue, sizeof(queue_t) * (queue_size + QUEUE_SIZE_CHUNK)); | ^~~~~~~ src/fill.c:140:23: note: include ‘’ or provide a declaration of ‘realloc’ src/fill.c:140:23: warning: incompatible implicit declaration of built-in function ‘realloc’ [-Wbuiltin-declaration-mismatch] src/fill.c:140:23: note: include ‘’ or provide a declaration of ‘realloc’ src/fill.c: In function ‘cleanup_queue’: src/fill.c:194:5: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 194 | free(queue); | ^~~~ src/fill.c:194:5: note: include ‘’ or provide a declaration of ‘free’ src/fill.c:194:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] src/fill.c:194:5: note: include ‘’ or provide a declaration of ‘free’ In file included from src/rgblinear.h:34, from src/fill.c:43: src/fill.c: In function ‘draw_radial_gradient’: src/fill.c:735:12: error: implicit declaration of function ‘abs’ [-Wimplicit-function-declaration] 735 | xd = max(abs(x - x_right), abs(x - x_left)); | ^~~ src/compiler.h:40:10: note: in definition of macro ‘max’ 40 | typeof(x) _x = (x); \ | ^ src/fill.c:735:12: note: include ‘’ or provide a declaration of ‘abs’ 735 | xd = max(abs(x - x_right), abs(x - x_left)); | ^~~ src/compiler.h:40:10: note: in definition of macro ‘max’ 40 | typeof(x) _x = (x); \ | ^ src/fill.c: In function ‘malloc_sdf_grid’: src/fill.c:834:28: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 834 | g->grid = (sdf_point * *)malloc(h * sizeof(sdf_point *)); | ^~~~~~ src/fill.c:834:28: note: include ‘’ or provide a declaration of ‘malloc’ src/fill.c:838:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 838 | free(g); | ^~~~ src/fill.c:838:5: note: include ‘’ or provide a declaration of ‘free’ src/fill.c: In function ‘free_sdf_grid’: src/fill.c:875:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 875 | free(g->grid[i]); | ^~~~ src/fill.c:875:7: note: include ‘’ or provide a declaration of ‘free’ src/fill.c:878:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 878 | free(g->grid); | ^~~~ src/fill.c:878:3: note: include ‘’ or provide a declaration of ‘free’ src/fill.c: In function ‘draw_shaped_gradient’: src/fill.c:968:23: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 968 | bitmask = (Uint8 *) malloc(sizeof(Uint8) * canvas->w * canvas->h); | ^~~~~~ src/fill.c:968:23: note: include ‘’ or provide a declaration of ‘malloc’ src/fill.c:976:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 976 | free(bitmask); | ^~~~ src/fill.c:976:5: note: include ‘’ or provide a declaration of ‘free’ src/fill.c:981:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 981 | free(bitmask); | ^~~~ ...Compiling animated GIF export libary... src/fill.c:981:5: note: include ‘’ or provide a declaration of ‘free’ src/fill.c:1054:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1054 | free(bitmask); | ^~~~ src/fill.c:1054:3: note: include ‘’ or provide a declaration of ‘free’ make: *** [Makefile:1352: obj/fill.o] Error 1 make: *** Waiting for unfinished jobs.... src/onscreen_keyboard.c: In function ‘osk_create’: src/onscreen_keyboard.c:105:14: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 105 | keyboard = malloc(sizeof(on_screen_keyboard)); | ^~~~~~ src/onscreen_keyboard.c:34:1: note: include ‘’ or provide a declaration of ‘malloc’ 33 | #include "SDL2_rotozoom.h" +++ |+#include 34 | src/onscreen_keyboard.c:105:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 105 | keyboard = malloc(sizeof(on_screen_keyboard)); | ^~~~~~ src/onscreen_keyboard.c:105:14: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:114:36: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration] 114 | layout = load_layout(keyboard, strdup("default.layout")); | ^~~~~~ src/onscreen_keyboard.c:114:36: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c: In function ‘load_layout’: src/onscreen_keyboard.c:265:12: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 265 | layout = malloc(sizeof(osk_layout)); | ^~~~~~ src/onscreen_keyboard.c:265:12: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:286:22: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 286 | keyboard->name = strdup(layout_name); | ^~~~~~ src/onscreen_keyboard.c:309:22: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 309 | keyboard->name = strdup("default.layout"); | ^~~~~~ src/onscreen_keyboard.c:312:3: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 312 | free(filename); | ^~~~ src/onscreen_keyboard.c:312:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:312:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:312:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:332:9: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] 332 | if (strcmp("layout", key) == 0 && !hlayout_loaded) | ^~~~~~ src/onscreen_keyboard.c:34:1: note: include ‘’ or provide a declaration of ‘strcmp’ 33 | #include "SDL2_rotozoom.h" +++ |+#include 34 | src/onscreen_keyboard.c:341:14: error: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration] 341 | else if (strncmp("keymap", key, 6) == 0) | ^~~~~~~ src/onscreen_keyboard.c:341:14: note: include ‘’ or provide a declaration of ‘strncmp’ src/onscreen_keyboard.c:341:37: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 341 | else if (strncmp("keymap", key, 6) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:348:41: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 348 | else if (strncmp("composemap", key, 10) == 0) | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:355:41: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 355 | else if (strncmp("keysymdefs", key, 10) == 0) | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:359:43: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 359 | else if (strncmp("keyboardlist", key, 12) == 0) | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:361:7: error: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration] 361 | strcpy(value, &line[13]); | ^~~~~~ src/onscreen_keyboard.c:361:7: note: include ‘’ or provide a declaration of ‘strcpy’ src/onscreen_keyboard.c:361:7: warning: incompatible implicit declaration of built-in function ‘strcpy’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:361:7: note: include ‘’ or provide a declaration of ‘strcpy’ src/onscreen_keyboard.c:362:33: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 362 | keyboard->keyboard_list = strdup(value); | ^~~~~~ src/onscreen_keyboard.c: In function ‘load_hlayout’: src/onscreen_keyboard.c:405:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 405 | filename = malloc(sizeof(char) * 255); | ^~~~~~ src/onscreen_keyboard.c:405:14: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:419:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 419 | free(filename); | ^~~~ src/onscreen_keyboard.c:419:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:424:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 424 | free(filename); | ^~~~ src/onscreen_keyboard.c:424:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:469:32: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 469 | if (strncmp(line, "WIDTH", 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:472:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 472 | else if (strncmp(line, "HEIGHT", 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:475:40: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 475 | else if (strncmp(line, "FONTPATH", 8) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:484:39: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 484 | else if (strncmp(line, "FGCOLOR", 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:498:39: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 498 | else if (strncmp(line, "BGCOLOR", 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:512:39: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 512 | else if (strncmp(line, "NEWLINE", 7) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:526:68: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 526 | else if (width && height && allocated && strncmp(line, "KEY ", 4) == 0 && key_number < width) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c: In function ‘load_keymap’: src/onscreen_keyboard.c:590:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 590 | filename = malloc(sizeof(char) * 255); | ^~~~~~ src/onscreen_keyboard.c:590:14: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:604:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 604 | free(filename); | ^~~~ src/onscreen_keyboard.c:604:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:609:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 609 | free(filename); | ^~~~ src/onscreen_keyboard.c:609:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘gettokens’: src/onscreen_keyboard.c:688:10: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 688 | wtok = malloc(sizeof(wchar_t) * 255); | ^~~~~~ src/onscreen_keyboard.c:688:10: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:690:9: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 690 | tok = strdup(strtok_r(line, delim, pointer)); | ^~~~~~ src/onscreen_keyboard.c:690:16: error: implicit declaration of function ‘strtok_r’ [-Wimplicit-function-declaration] 690 | tok = strdup(strtok_r(line, delim, pointer)); | ^~~~~~~~ src/onscreen_keyboard.c:690:16: error: passing argument 1 of ‘strdup’ makes pointer from integer without a cast [-Wint-conversion] 690 | tok = strdup(strtok_r(line, delim, pointer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int src/onscreen_keyboard.c:690:16: note: expected ‘const char *’ but argument is of type ‘int’ src/onscreen_keyboard.c:697:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 697 | free(tok); | ^~~~ src/onscreen_keyboard.c:697:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:698:18: error: passing argument 1 of ‘strdup’ makes pointer from integer without a cast [-Wint-conversion] 698 | tok = strdup(strtok_r(line, ": \"\t", pointer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int src/onscreen_keyboard.c:698:18: note: expected ‘const char *’ but argument is of type ‘int’ src/onscreen_keyboard.c:700:5: error: implicit declaration of function ‘mbstowcs’; did you mean ‘mbsrtowcs’? [-Wimplicit-function-declaration] 700 | mbstowcs(wtok, tok, 255); | ^~~~~~~~ | mbsrtowcs src/onscreen_keyboard.c:725:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 725 | free(wtok); | ^~~~ src/onscreen_keyboard.c:725:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:740:11: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 740 | free(tok); | ^~~~ src/onscreen_keyboard.c:740:11: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:748:27: error: implicit declaration of function ‘realloc’ [-Wimplicit-function-declaration] 748 | composenode->childs = realloc(composenode->childs, composenode->size * sizeof(osk_composenode *)); | ^~~~~~~ src/onscreen_keyboard.c:748:27: note: include ‘’ or provide a declaration of ‘realloc’ src/onscreen_keyboard.c:748:27: warning: incompatible implicit declaration of built-in function ‘realloc’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:748:27: note: include ‘’ or provide a declaration of ‘realloc’ src/onscreen_keyboard.c:760:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 760 | free(tok); | ^~~~ src/onscreen_keyboard.c:760:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘load_composemap’: src/onscreen_keyboard.c:777:13: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 777 | pointer = malloc(sizeof(wchar_t *)); | ^~~~~~ src/onscreen_keyboard.c:777:13: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:792:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 792 | free(filename); | ^~~~ src/onscreen_keyboard.c:792:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:797:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 797 | free(filename); | ^~~~ src/onscreen_keyboard.c:797:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘load_keysymdefs’: src/onscreen_keyboard.c:886:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 886 | filename = malloc(sizeof(char) * 255); | ^~~~~~ src/onscreen_keyboard.c:886:14: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:900:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 900 | free(filename); | ^~~~ src/onscreen_keyboard.c:900:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:905:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 905 | free(filename); | ^~~~ src/onscreen_keyboard.c:905:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:915:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 915 | if (strncmp("#define XK_", line, 11) != 0) | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:919:26: warning: incompatible implicit declaration of built-in function ‘realloc’ [-Wbuiltin-declaration-mismatch] 919 | layout->keysymdefs = realloc(layout->keysymdefs, sizeof(keysymdefs) * (i + 1)); | ^~~~~~~ src/onscreen_keyboard.c:919:26: note: include ‘’ or provide a declaration of ‘realloc’ src/onscreen_keyboard.c: In function ‘get_composed_keysym’: src/onscreen_keyboard.c:1008:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1008 | free(keyboard->composed); | ^~~~ src/onscreen_keyboard.c:1008:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1023:11: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1023 | free(keyboard->composed); | ^~~~ src/onscreen_keyboard.c:1023:11: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1033:11: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1033 | free(keyboard->composed); | ^~~~ src/onscreen_keyboard.c:1033:11: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1047:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1047 | free(keyboard->composed); | ^~~~ src/onscreen_keyboard.c:1047:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1055:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1055 | free(keyboard->composed); | ^~~~ src/onscreen_keyboard.c:1055:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘is_blank_or_comment’: src/onscreen_keyboard.c:1068:7: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] 1068 | if (strlen(line) == 0) | ^~~~~~ src/onscreen_keyboard.c:1068:7: note: include ‘’ or provide a declaration of ‘strlen’ src/onscreen_keyboard.c:1068:7: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:1068:7: note: include ‘’ or provide a declaration of ‘strlen’ src/onscreen_keyboard.c: In function ‘keybd_prepare’: src/onscreen_keyboard.c:1113:14: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 1113 | fontname = malloc(sizeof(char) * 255); | ^~~~~~ src/onscreen_keyboard.c:1113:14: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:1172:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1172 | free(fontname); | ^~~~ src/onscreen_keyboard.c:1172:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1173:7: error: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 1173 | exit(1); | ^~~~ src/onscreen_keyboard.c:1173:7: note: include ‘’ or provide a declaration of ‘exit’ src/onscreen_keyboard.c:1173:7: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:1173:7: note: include ‘’ or provide a declaration of ‘exit’ src/onscreen_keyboard.c:1176:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1176 | free(fontname); | ^~~~ src/onscreen_keyboard.c:1176:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘draw_key’: src/onscreen_keyboard.c:1318:10: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 1318 | text = malloc(sizeof(char) * 255); | ^~~~~~ src/onscreen_keyboard.c:1318:10: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:1322:29: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1322 | if (strncmp("NULL", text, 4) != 0 && key.keycode != 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1349:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1349 | free(text); | ^~~~ src/onscreen_keyboard.c:1349:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘label_key’: src/onscreen_keyboard.c:1369:12: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1369 | text = strdup(key.plain_label); | ^~~~~~ src/onscreen_keyboard.c:1373:12: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1373 | text = strdup(key.top_label); | ^~~~~~ src/onscreen_keyboard.c:1378:12: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1378 | text = strdup(key.altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1384:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1384 | text = strdup(key.top_label); | ^~~~~~ src/onscreen_keyboard.c:1387:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1387 | text = strdup(key.plain_label); | ^~~~~~ src/onscreen_keyboard.c:1396:16: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1396 | text = strdup(key.altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1398:16: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1398 | text = strdup(key.shift_altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1402:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1402 | text = strdup(key.shift_altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1409:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1409 | text = strdup(key.shift_altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1411:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1411 | text = strdup(key.altgr_label); | ^~~~~~ src/onscreen_keyboard.c:1417:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1417 | text = strdup(key.plain_label); | ^~~~~~ src/onscreen_keyboard.c:1419:14: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1419 | text = strdup(key.top_label); | ^~~~~~ src/onscreen_keyboard.c:1422:31: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1422 | if (strncmp("DELETE", text, 6) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1427:33: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1427 | else if (strncmp("TAB", text, 3) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1432:35: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1432 | else if (strncmp("ENTER", text, 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1437:38: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1437 | else if (strncmp("CAPSLOCK", text, 8) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1442:35: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1442 | else if (strncmp("SHIFT", text, 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1447:35: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1447 | else if (strncmp("SPACE", text, 5) != 0 && strncmp("NULL", text, 4) != 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1447:68: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1447 | else if (strncmp("SPACE", text, 5) != 0 && strncmp("NULL", text, 4) != 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1454:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1454 | free(text); | ^~~~ src/onscreen_keyboard.c:1454:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘set_key’: src/onscreen_keyboard.c:1491:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1491 | free(dest->plain_label); | ^~~~ src/onscreen_keyboard.c:1491:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1494:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1494 | free(dest->top_label); | ^~~~ src/onscreen_keyboard.c:1494:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1497:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1497 | free(dest->altgr_label); | ^~~~ src/onscreen_keyboard.c:1497:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1510:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1510 | free(dest->plain_label); | ^~~~ src/onscreen_keyboard.c:1510:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1511:25: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1511 | dest->plain_label = strdup(orig->plain_label); | ^~~~~~ src/onscreen_keyboard.c:1514:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1514 | free(dest->top_label); | ^~~~ src/onscreen_keyboard.c:1514:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1518:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1518 | free(dest->altgr_label); | ^~~~ src/onscreen_keyboard.c:1518:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘handle_keymods’: src/onscreen_keyboard.c:1604:32: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1604 | if (strncmp("Shift", keysym, 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1620:37: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1620 | else if (strncmp("Alt_L", keysym, 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1633:48: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1633 | else if (strncmp("ISO_Level3_Shift", keysym, 16) == 0 || | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1634:46: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1634 | strncmp("ISO_Next_Group", keysym, 14) == 0 || strncmp("ALT_R", keysym, 5) == 0) | ^~ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1634:83: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1634 | strncmp("ISO_Next_Group", keysym, 14) == 0 || strncmp("ALT_R", keysym, 5) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c:1652:41: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1652 | else if (strncmp("Caps_Lock", keysym, 9) == 0) | ^ : note: built-in ‘strncmp’ declared here src/onscreen_keyboard.c: In function ‘osk_clicked’: src/onscreen_keyboard.c:1756:18: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch] 1756 | aux_list = strdup(keyboard->keyboard_list); | ^~~~~~ src/onscreen_keyboard.c:1768:18: error: implicit declaration of function ‘strtok’ [-Wimplicit-function-declaration] 1768 | name = strtok(aux_list, " \n\r\t"); | ^~~~~~ src/onscreen_keyboard.c:1768:16: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1768 | name = strtok(aux_list, " \n\r\t"); | ^ src/onscreen_keyboard.c:1775:18: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1775 | name = strtok(NULL, " \n\r\t"); | ^ src/onscreen_keyboard.c:1787:16: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1787 | name = strtok(aux_list, " \n\r\t"); | ^ src/onscreen_keyboard.c:1795:15: error: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration] 1795 | if (strstr(name, keyboard->name)) | ^~~~~~ src/onscreen_keyboard.c:1795:15: note: include ‘’ or provide a declaration of ‘strstr’ src/onscreen_keyboard.c:1795:15: warning: incompatible implicit declaration of built-in function ‘strstr’ [-Wbuiltin-declaration-mismatch] src/onscreen_keyboard.c:1795:15: note: include ‘’ or provide a declaration of ‘strstr’ src/onscreen_keyboard.c:1816:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1816 | free(aux_list_ptr); | ^~~~ src/onscreen_keyboard.c:1816:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1847:15: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 1847 | wkeysym = malloc(sizeof(wchar_t) * (strlen(keysym) + 1)); | ^~~~~~ src/onscreen_keyboard.c:1847:15: note: include ‘’ or provide a declaration of ‘malloc’ src/onscreen_keyboard.c:1847:41: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch] 1847 | wkeysym = malloc(sizeof(wchar_t) * (strlen(keysym) + 1)); | ^~~~~~ src/onscreen_keyboard.c:1847:41: note: include ‘’ or provide a declaration of ‘strlen’ src/onscreen_keyboard.c:1902:17: error: implicit declaration of function ‘wcstombs’; did you mean ‘wcsrtombs’? [-Wimplicit-function-declaration] 1902 | len = wcstombs(event.text.text, keyboard->composed, 16); | ^~~~~~~~ | wcsrtombs src/onscreen_keyboard.c:1930:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1930 | free(mnemo); | ^~~~ src/onscreen_keyboard.c:1930:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1953:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1953 | free(wkeysym); | ^~~~ src/onscreen_keyboard.c:1953:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘free_keymap’: src/onscreen_keyboard.c:1981:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1981 | free(keymap[i].plain); | ^~~~ src/onscreen_keyboard.c:1981:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1983:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1983 | free(keymap[i].caps); | ^~~~ src/onscreen_keyboard.c:1983:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1985:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1985 | free(keymap[i].altgr); | ^~~~ src/onscreen_keyboard.c:1985:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1987:7: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1987 | free(keymap[i].shiftaltgr); | ^~~~ src/onscreen_keyboard.c:1987:7: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:1989:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1989 | free(keymap); | ^~~~ src/onscreen_keyboard.c:1989:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘free_composemap’: src/onscreen_keyboard.c:1999:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 1999 | free(composenode->childs[i]); | ^~~~ src/onscreen_keyboard.c:1999:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2002:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2002 | free(composenode->result); | ^~~~ src/onscreen_keyboard.c:2002:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2004:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2004 | free(composenode->childs); | ^~~~ src/onscreen_keyboard.c:2004:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2007:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2007 | free(composenode->keysym); | ^~~~ src/onscreen_keyboard.c:2007:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘free_keysymdefs’: src/onscreen_keyboard.c:2015:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2015 | free(ksd[i].mnemo); | ^~~~ src/onscreen_keyboard.c:2015:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘free_keys’: src/onscreen_keyboard.c:2027:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2027 | free(layout->keys[j][i].plain_label); | ^~~~ src/onscreen_keyboard.c:2027:9: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2029:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2029 | free(layout->keys[j][i].top_label); | ^~~~ src/onscreen_keyboard.c:2029:9: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2031:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2031 | free(layout->keys[j][i].altgr_label); | ^~~~ src/onscreen_keyboard.c:2031:9: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2033:9: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2033 | free(layout->keys[j][i].shift_altgr_label); | ^~~~ src/onscreen_keyboard.c:2033:9: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2036:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2036 | free(layout->keys[j]); | ^~~~ src/onscreen_keyboard.c:2036:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2038:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2038 | free(layout->keys); | ^~~~ src/onscreen_keyboard.c:2038:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘free_layout’: src/onscreen_keyboard.c:2044:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2044 | free(layout->name); | ^~~~ src/onscreen_keyboard.c:2044:5: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c:2046:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2046 | free(layout->fontpath); | ^~~~ src/onscreen_keyboard.c:2046:3: note: include ‘’ or provide a declaration of ‘free’ src/onscreen_keyboard.c: In function ‘osk_free’: src/onscreen_keyboard.c:2059:3: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 2059 | free(keyboard->name); | ^~~~ src/onscreen_keyboard.c:2059:3: note: include ‘’ or provide a declaration of ‘free’ make: *** [Makefile:1434: obj/onscreen_keyboard.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.XK6i2n (%build) Bad exit status from /var/tmp/rpm-tmp.XK6i2n (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cccef6390cb345079f0c0e5b438bf3c8 -D /var/lib/mock/f42-build-56356341-6543614/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.f983s043:/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 ppc64le --nodeps /builddir/build/SPECS/tuxpaint.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 cccef6390cb345079f0c0e5b438bf3c8 -D /var/lib/mock/f42-build-56356341-6543614/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.f983s043:/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 ppc64le --nodeps /builddir/build/SPECS/tuxpaint.spec'