Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xbiso.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667636088.670758/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '7261bacb42a24e969155fc745f90887a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667636088.670758/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/xbiso-0.6.1-28.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xbiso.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667636088.670758/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'e80624e3af284226ae3e3a5e03d29667', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667636088.670758/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qlq8wg8n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qKd44m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 . + echo 'Patch #0 (xbiso-0.6.1-destdir.patch):' 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4bcI9v + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 2005-06-13 11:53:20.000000000 +0000 +++ ./configure 2022-11-05 08:16:00.887917131 +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=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --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 x86_64-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 -j2 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -o xbiso xbiso.c -DUSE_FTP -lftp -lm xbiso.c: In function 'main': xbiso.c:257:3: warning: implicit declaration of function 'handlefile' [-Wimplicit-function-declaration] 257 | handlefile((OFFT)dtable*2048, dtable); | ^~~~~~~~~~ xbiso.c:101:8: warning: unused variable 'cpos' [-Wunused-variable] 101 | OFFT cpos; | ^~~~ xbiso.c:100:7: warning: unused variable 'diri' [-Wunused-variable] 100 | int diri=0,ret; | ^~~~ xbiso.c:99:16: warning: variable 'dtablesize' set but not used [-Wunused-but-set-variable] 99 | long dtable, dtablesize; | ^~~~~~~~~~ xbiso.c: At top level: xbiso.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] 272 | handlefile(OFFT offset, int dtable) { | ^~~~~~~~~~ xbiso.c: In function 'handlefile': xbiso.c:321:48: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 321 | 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: In function 'extract': xbiso.c:457:13: warning: variable 'xbftell' set but not used [-Wunused-but-set-variable] 457 | off64_t (*xbftell)(); | ^~~~~~~ xbiso.c: In function 'main': xbiso.c:236:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | chdir(dbuf); | ^~~~~~~~~~~ xbiso.c:243:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 243 | fread(buffer, 0x14, 1, xiso); //header | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:247:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 247 | fread(dtbuf, 1, 4, xiso); //Sector that root directory table resides in | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:249:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | fread(dtbuf, 1, 4, xiso); //Size of root directory table in bytes | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:253:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | fread(buffer, 0x14, 1, xiso); //header tail | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'handlefile': xbiso.c:295:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 295 | fread(dtbuf, 1, 2, xiso); //ltable offset from current | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:297:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 297 | fread(dtbuf, 1, 2, xiso); //rtable 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, 4, xiso); //sector of file | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:301:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 301 | fread(dtbuf, 1, 4, xiso); //filesize | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:303:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 303 | fread(&dirent.attribs, 1, 1, xiso); //file attributes | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:304:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 304 | fread(&dirent.fnamelen, 1, 1, xiso); //filename length | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:312:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 312 | fread(dirent.fname, dirent.fnamelen, 1, xiso); //filename | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:328:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 328 | fread(buffer,32,1,xiso); | ^~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:359:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 359 | chdir(".."); | ^~~~~~~~~~~ xbiso.c:376:1: warning: control reaches end of non-void function [-Wreturn-type] 376 | } | ^ xbiso.c: In function 'procdir': xbiso.c:423:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | chdir(dirent->fname); | ^~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'extract': xbiso.c:487:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fread(fbuf, dirent->size, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:526:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 526 | fread(fbuf, BUFFSIZE, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:540:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | fread(fbuf, rm, 1, xiso); | ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'procdir': xbiso.c:413:9: warning: 'DefaultNetbuf' may be used uninitialized [-Wmaybe-uninitialized] 413 | if (FtpMkdir(dirent->fname, DefaultNetbuf) != 1) err ("Failed to create directory.\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:411:11: note: 'DefaultNetbuf' was declared here 411 | netbuf *DefaultNetbuf; | ^~~~~~~~~~~~~ xbiso.c: In function 'extract': xbiso.c:474:7: warning: 'DefaultNetbuf' may be used uninitialized [-Wmaybe-uninitialized] 474 | FtpAccess(dirent->fname, FTPLIB_FILE_WRITE, FTPLIB_IMAGE, DefaultNetbuf, &nData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:440:11: note: 'DefaultNetbuf' was declared here 440 | netbuf *DefaultNetbuf; | ^~~~~~~~~~~~~ xbiso.c:547:9: warning: 'outf' may be used uninitialized [-Wmaybe-uninitialized] 547 | fwrite(fbuf, rm, 1, outf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:433:10: note: 'outf' was declared here 433 | FILE *outf; | ^~~~ xbiso.c: In function 'handlefile': xbiso.c:353:9: warning: 'DefaultNetbuf' may be used uninitialized [-Wmaybe-uninitialized] 353 | FtpChdir("..", DefaultNetbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:351:15: note: 'DefaultNetbuf' was declared here 351 | netbuf *DefaultNetbuf; | ^~~~~~~~~~~~~ xbiso.c: In function 'main': xbiso.c:266:41: warning: 'initdir' may be used uninitialized [-Wmaybe-uninitialized] 266 | free(host); free(user); free(pass); free(initdir); | ^~~~~~~~~~~~~ xbiso.c:103:30: note: 'initdir' was declared here 103 | char *host, *user, *pass, *initdir; | ^~~~~~~ xbiso.c:266:29: warning: 'pass' may be used uninitialized [-Wmaybe-uninitialized] 266 | free(host); free(user); free(pass); free(initdir); | ^~~~~~~~~~ xbiso.c:103:23: note: 'pass' was declared here 103 | char *host, *user, *pass, *initdir; | ^~~~ xbiso.c:266:17: warning: 'user' may be used uninitialized [-Wmaybe-uninitialized] 266 | free(host); free(user); free(pass); free(initdir); | ^~~~~~~~~~ xbiso.c:103:16: note: 'user' was declared here 103 | char *host, *user, *pass, *initdir; | ^~~~ xbiso.c:266:5: warning: 'host' may be used uninitialized [-Wmaybe-uninitialized] 266 | free(host); free(user); free(pass); free(initdir); | ^~~~~~~~~~ xbiso.c:103:9: note: 'host' was declared here 103 | char *host, *user, *pass, *initdir; | ^~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S6LDdr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 + rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 + mkdir /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/bin + make DESTDIR=/builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 install install -m 755 xbiso /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/bin + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.6.1-28.fc38 --unique-debug-suffix -0.6.1-28.fc38.x86_64 --unique-debug-src-base xbiso-0.6.1-28.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xbiso-0.6.1 extracting debug info from /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/bin/xbiso original debug info size: 44kB, size after compression: 40kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 28 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: xbiso-0.6.1-28.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZFpbXo + umask 022 + cd /builddir/build/BUILD + cd xbiso-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/share/doc/xbiso + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/share/doc/xbiso + cp -pr CHANGELOG /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/share/doc/xbiso + cp -pr LICENSE /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/share/doc/xbiso + cp -pr README /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64/usr/share/doc/xbiso + RPM_EC=0 ++ jobs -p + exit 0 Provides: xbiso = 0.6.1-28.fc38 xbiso(x86-64) = 0.6.1-28.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libftp.so.4()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: xbiso-debugsource-0.6.1-28.fc38.x86_64 Provides: xbiso-debugsource = 0.6.1-28.fc38 xbiso-debugsource(x86-64) = 0.6.1-28.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xbiso-debuginfo-0.6.1-28.fc38.x86_64 Provides: debuginfo(build-id) = 430f31512df6f92c84c7b83cd9ebe3634984f44f xbiso-debuginfo = 0.6.1-28.fc38 xbiso-debuginfo(x86-64) = 0.6.1-28.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xbiso-debugsource(x86-64) = 0.6.1-28.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 Wrote: /builddir/build/RPMS/xbiso-0.6.1-28.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xbiso-debuginfo-0.6.1-28.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/xbiso-debugsource-0.6.1-28.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NEM7Zu + umask 022 + cd /builddir/build/BUILD + cd xbiso-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-28.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.h1zFJS + umask 022 + cd /builddir/build/BUILD + rm -rf xbiso-0.6.1 xbiso-0.6.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0