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/xbiso.spec'], chrootPath='/var/lib/mock/f43-build-57404492-6552430/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.cw2fysgv:/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.cw2fysgv:/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', '8ce9b02dc4f34c1b812470343f311d5d', '-D', '/var/lib/mock/f43-build-57404492-6552430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cw2fysgv:/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/xbiso.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=1721433600 Wrote: /builddir/build/SRPMS/xbiso-0.6.1-33.fc43.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/xbiso.spec'], chrootPath='/var/lib/mock/f43-build-57404492-6552430/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.cw2fysgv:/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.cw2fysgv:/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', '57a1c6076a6c4f7a822cd888fb4bd0ca', '-D', '/var/lib/mock/f43-build-57404492-6552430/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cw2fysgv:/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/xbiso.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=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fjK88S + umask 022 + cd /builddir/build/BUILD/xbiso-0.6.1-build + test -d /builddir/build/BUILD/xbiso-0.6.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xbiso-0.6.1-build + /usr/bin/rm -rf /builddir/build/BUILD/xbiso-0.6.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/xbiso-0.6.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/xbiso-0.6.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2kWE5K + umask 022 + cd /builddir/build/BUILD/xbiso-0.6.1-build + cd /builddir/build/BUILD/xbiso-0.6.1-build + rm -rf xbiso-0.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xbiso-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xbiso-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (xbiso-0.6.1-destdir.patch): + echo 'Patch #0 (xbiso-0.6.1-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.in Patch #1 (xbiso-0.6.1-ftplib4.patch): + echo 'Patch #1 (xbiso-0.6.1-ftplib4.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ftplib4 --fuzz=0 patching file xbiso.c Patch #2 (xbiso-configure-c99.patch): + echo 'Patch #2 (xbiso-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Patch #3 (xbiso-c99.patch): + echo 'Patch #3 (xbiso-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xbiso.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d0Pr2z + umask 022 + cd /builddir/build/BUILD/xbiso-0.6.1-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 xbiso-0.6.1 + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-02-21 15:38:20.505543492 +0000 +++ ./configure 2025-02-21 15:38:20.525542736 +0000 @@ -3384,7 +3384,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus @@ -3528,7 +3528,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for ppc64le-redhat-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for main in -lftp... yes checking for ceil in -lm... yes checking how to run the C preprocessor... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E gcc -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E checking for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for mkdir... yes checking for strdup... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h egrep: warning: egrep is obsolescent; using grep -E + make -j8 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 -o xbiso xbiso.c -DUSE_FTP -lftp -lm xbiso.c: In function ‘main’: xbiso.c:121:11: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(FILE *, __off64_t, int)’ {aka ‘int (*)(FILE *, long int, int)’} [-Wincompatible-pointer-types] 121 | xbfseek = fseeko64; | ^ In file included from xbiso.c:43: /usr/include/stdio.h:841:12: note: ‘fseeko64’ declared here 841 | extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence) | ^~~~~~~~ xbiso.c:122:11: error: assignment to ‘OFFT (*)(void)’ {aka ‘long int (*)(void)’} from incompatible pointer type ‘__off64_t (*)(FILE *)’ {aka ‘long int (*)(FILE *)’} [-Wincompatible-pointer-types] 122 | xbftell = ftello64; | ^ /usr/include/stdio.h:843:18: note: ‘ftello64’ declared here 843 | extern __off64_t ftello64 (FILE *__stream) __wur __nonnull ((1)); | ^~~~~~~~ xbiso.c:243:3: error: too many arguments to function ‘xbfseek’; expected 0, have 3 243 | xbfseek(xiso, (OFFT)0x10000, SEEK_SET); | ^~~~~~~ ~~~~ xbiso.c:252:23: error: too many arguments to function ‘xbftell’; expected 0, have 1 252 | xbfseek(xiso, (OFFT)xbftell(xiso)+8, SEEK_SET); //discard FILETIME structure representing image creation time | ^~~~~~~ ~~~~ xbiso.c:252:3: error: too many arguments to function ‘xbfseek’; expected 0, have 3 252 | xbfseek(xiso, (OFFT)xbftell(xiso)+8, SEEK_SET); //discard FILETIME structure representing image creation time | ^~~~~~~ ~~~~ xbiso.c:253:23: error: too many arguments to function ‘xbftell’; expected 0, have 1 253 | xbfseek(xiso, (OFFT)xbftell(xiso)+0x7c8, SEEK_SET); //discard unused | ^~~~~~~ ~~~~ xbiso.c:253:3: error: too many arguments to function ‘xbfseek’; expected 0, have 3 253 | xbfseek(xiso, (OFFT)xbftell(xiso)+0x7c8, SEEK_SET); //discard unused | ^~~~~~~ ~~~~ xbiso.c:102:8: warning: unused variable ‘cpos’ [-Wunused-variable] 102 | OFFT cpos; | ^~~~ xbiso.c:101:7: warning: unused variable ‘diri’ [-Wunused-variable] 101 | int diri=0,ret; | ^~~~ xbiso.c:100:16: warning: variable ‘dtablesize’ set but not used [-Wunused-but-set-variable] 100 | long dtable, dtablesize; | ^~~~~~~~~~ xbiso.c: In function ‘handlefile’: xbiso.c:290:11: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(FILE *, __off64_t, int)’ {aka ‘int (*)(FILE *, long int, int)’} [-Wincompatible-pointer-types] 290 | xbfseek = fseeko64; | ^ /usr/include/stdio.h:841:12: note: ‘fseeko64’ declared here 841 | extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence) | ^~~~~~~~ xbiso.c:291:11: error: assignment to ‘OFFT (*)(void)’ {aka ‘long int (*)(void)’} from incompatible pointer type ‘__off64_t (*)(FILE *)’ {aka ‘long int (*)(FILE *)’} [-Wincompatible-pointer-types] 291 | xbftell = ftello64; | ^ /usr/include/stdio.h:843:18: note: ‘ftello64’ declared here 843 | extern __off64_t ftello64 (FILE *__stream) __wur __nonnull ((1)); | ^~~~~~~~ xbiso.c:323:48: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 323 | printf("ltable offset: %i\nrtable offset: %i\nsector: %li\nfilesize: %li\nattributes: 0x%x\nfilename length: %i\nfilename: %s\n\n", dirent.ltable, dirent.rtable, dirent.sector, dirent.size, dirent.attribs, dirent.fnamelen, dirent.fname); | ~^ ~~~~~~~~~~~~~ | | | | int long int | %li xbiso.c:329:18: error: too many arguments to function ‘xbftell’; expected 0, have 1 329 | int cpos = xbftell(xiso); | ^~~~~~~ ~~~~ xbiso.c:339:7: error: too many arguments to function ‘xbfseek’; expected 0, have 3 339 | xbfseek(xiso,(OFFT)cpos,SEEK_SET); | ^~~~~~~ ~~~~ xbiso.c: In function ‘extract’: xbiso.c:460:11: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(FILE *, __off64_t, int)’ {aka ‘int (*)(FILE *, long int, int)’} [-Wincompatible-pointer-types] 460 | xbfseek = fseeko64; | ^ /usr/include/stdio.h:841:12: note: ‘fseeko64’ declared here 841 | extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence) | ^~~~~~~~ xbiso.c:461:11: error: assignment to ‘off64_t (*)(void)’ {aka ‘long int (*)(void)’} from incompatible pointer type ‘__off64_t (*)(FILE *)’ {aka ‘long int (*)(FILE *)’} [-Wincompatible-pointer-types] 461 | xbftell = ftello64; | ^ /usr/include/stdio.h:843:18: note: ‘ftello64’ declared here 843 | extern __off64_t ftello64 (FILE *__stream) __wur __nonnull ((1)); | ^~~~~~~~ xbiso.c:488:5: error: too many arguments to function ‘xbfseek’; expected 0, have 3 488 | xbfseek(xiso, (OFFT) dirent->sector*2048, SEEK_SET); | ^~~~~~~ ~~~~ xbiso.c:523:3: error: too many arguments to function ‘xbfseek’; expected 0, have 3 523 | xbfseek(xiso, (OFFT)dirent->sector*2048, SEEK_SET); | ^~~~~~~ ~~~~ xbiso.c:459:13: warning: variable ‘xbftell’ set but not used [-Wunused-but-set-variable] 459 | off64_t (*xbftell)(); | ^~~~~~~ xbiso.c: In function ‘main’: xbiso.c:237:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 237 | chdir(dbuf); | ^~~~~~~~~~~ xbiso.c:244:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 244 | fread(buffer, 0x14, 1, xiso); //header | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:248:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 248 | fread(dtbuf, 1, 4, xiso); //Sector that root directory table resides in | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:250:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 250 | fread(dtbuf, 1, 4, xiso); //Size of root directory table in bytes | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:254:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 254 | fread(buffer, 0x14, 1, xiso); //header tail | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function ‘handlefile’: xbiso.c:297:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 297 | fread(dtbuf, 1, 2, xiso); //ltable offset from current | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:299:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 299 | fread(dtbuf, 1, 2, xiso); //rtable offset from current | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:301:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | fread(dtbuf, 1, 4, xiso); //sector of file | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:303:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 303 | fread(dtbuf, 1, 4, xiso); //filesize | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:305:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 305 | fread(&dirent.attribs, 1, 1, xiso); //file attributes | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:306:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 306 | fread(&dirent.fnamelen, 1, 1, xiso); //filename length | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:314:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 314 | fread(dirent.fname, dirent.fnamelen, 1, xiso); //filename | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:330:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 330 | fread(buffer,32,1,xiso); | ^~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:361:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 361 | chdir(".."); | ^~~~~~~~~~~ xbiso.c:378:1: warning: control reaches end of non-void function [-Wreturn-type] 378 | } | ^ xbiso.c: In function ‘procdir’: xbiso.c:425:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 425 | chdir(dirent->fname); | ^~~~~~~~~~~~~~~~~~~~ xbiso.c: In function ‘extract’: xbiso.c:489:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 489 | fread(fbuf, dirent->size, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:528:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 528 | fread(fbuf, BUFFSIZE, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:542:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 542 | fread(fbuf, rm, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:21: all] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.d0Pr2z (%build) Bad exit status from /var/tmp/rpm-tmp.d0Pr2z (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 57a1c6076a6c4f7a822cd888fb4bd0ca -D /var/lib/mock/f43-build-57404492-6552430/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.cw2fysgv:/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/xbiso.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 57a1c6076a6c4f7a822cd888fb4bd0ca -D /var/lib/mock/f43-build-57404492-6552430/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.cw2fysgv:/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/xbiso.spec'