Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hfsutils.spec'], chrootPath='/var/lib/mock/f38-build-693740-84934/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hfsutils.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/hfsutils-3.2.6-46.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsutils.spec'], chrootPath='/var/lib/mock/f38-build-693740-84934/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hfsutils.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xD4Jeg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hfsutils-3.2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hfsutils-3.2.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hfsutils-3.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsutils-3.2.6-errno.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsutils-3.2.6-largefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsutils-3.2.6-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/hfsutils-3.2.6-include-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dGWmxI + umask 022 + cd /builddir/build/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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 hfsutils-3.2.6 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT' + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 + mv ./configure.backup ./configure + /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 + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./librsrc/configure + diff -u ./librsrc/configure.backup ./librsrc/configure + mv ./librsrc/configure.backup ./librsrc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./librsrc/configure + diff -u ./librsrc/configure.backup ./librsrc/configure + mv ./librsrc/configure.backup ./librsrc/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./librsrc/configure + diff -u ./librsrc/configure.backup ./librsrc/configure + mv ./librsrc/configure.backup ./librsrc/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' ./librsrc/configure + diff -u ./librsrc/configure.backup ./librsrc/configure + mv ./librsrc/configure.backup ./librsrc/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'\''"#' ./librsrc/configure + diff -u ./librsrc/configure.backup ./librsrc/configure + mv ./librsrc/configure.backup ./librsrc/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./librsrc/.stamp/configure + diff -u ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + mv ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./librsrc/.stamp/configure + diff -u ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + mv ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./librsrc/.stamp/configure + diff -u ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + mv ./librsrc/.stamp/configure.backup ./librsrc/.stamp/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' ./librsrc/.stamp/configure + diff -u ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + mv ./librsrc/.stamp/configure.backup ./librsrc/.stamp/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'\''"#' ./librsrc/.stamp/configure + diff -u ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + mv ./librsrc/.stamp/configure.backup ./librsrc/.stamp/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libhfs/configure + diff -u ./libhfs/configure.backup ./libhfs/configure + mv ./libhfs/configure.backup ./libhfs/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libhfs/configure + diff -u ./libhfs/configure.backup ./libhfs/configure + mv ./libhfs/configure.backup ./libhfs/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libhfs/configure + diff -u ./libhfs/configure.backup ./libhfs/configure + mv ./libhfs/configure.backup ./libhfs/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' ./libhfs/configure + diff -u ./libhfs/configure.backup ./libhfs/configure + mv ./libhfs/configure.backup ./libhfs/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'\''"#' ./libhfs/configure + diff -u ./libhfs/configure.backup ./libhfs/configure + mv ./libhfs/configure.backup ./libhfs/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libhfs/.stamp/configure + diff -u ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + mv ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libhfs/.stamp/configure + diff -u ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + mv ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libhfs/.stamp/configure + diff -u ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + mv ./libhfs/.stamp/configure.backup ./libhfs/.stamp/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' ./libhfs/.stamp/configure + diff -u ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + mv ./libhfs/.stamp/configure.backup ./libhfs/.stamp/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'\''"#' ./libhfs/.stamp/configure + diff -u ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + mv ./libhfs/.stamp/configure.backup ./libhfs/.stamp/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./.stamp/configure + diff -u ./.stamp/configure.backup ./.stamp/configure + mv ./.stamp/configure.backup ./.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./.stamp/configure + diff -u ./.stamp/configure.backup ./.stamp/configure + mv ./.stamp/configure.backup ./.stamp/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./.stamp/configure + diff -u ./.stamp/configure.backup ./.stamp/configure + mv ./.stamp/configure.backup ./.stamp/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' ./.stamp/configure + diff -u ./.stamp/configure.backup ./.stamp/configure + mv ./.stamp/configure.backup ./.stamp/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'\''"#' ./.stamp/configure + diff -u ./.stamp/configure.backup ./.stamp/configure + mv ./.stamp/configure.backup ./.stamp/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=riscv64-redhat-linux-gnu --host=riscv64-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 --with-tcl=/usr/lib64 --with-tk=/usr/lib64 creating cache ./config.cache checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) works... yes checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for ANSI C header files... yes checking for unistd.h... yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for working const... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes checking for setreuid... yes checking for sys_errlist... no checking for Tcl... version 8.6 in /usr/lib64 checking for tcl.h... /usr/include checking for Tk... version 8.6 in /usr/lib64 checking for tk.h... /usr/include updating cache ./config.cache creating ./config.status creating hfsck/Makefile creating linux/Makefile creating Makefile creating config.h configuring in libhfs running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) works... yes checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking whether ln -s works... yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working const... (cached) yes checking for 8-bit clean memcmp... yes checking for mktime... yes updating cache .././config.cache creating ./config.status creating Makefile creating config.h configuring in librsrc running /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --with-tcl=/usr/lib64 --with-tk=/usr/lib64 --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) works... yes checking whether the C compiler (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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -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 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for working const... (cached) yes checking for mktime... (cached) yes creating ./config.status creating Makefile creating config.h + make cd libhfs && make make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' rm -f os.c ln -s os/unix.c os.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o os.o os.c os.c: In function 'os_open': os.c:91:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 91 | *priv = (void *) fd; | ^ os.c: In function 'os_close': os.c:108:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 108 | int fd = (int) *priv; | ^ os.c: In function 'os_same': os.c:127:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 127 | int fd = (int) *priv; | ^ os.c: In function 'os_seek': os.c:147:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 147 | int fd = (int) *priv; | ^ os.c: In function 'os_read': os.c:172:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 172 | int fd = (int) *priv; | ^ os.c: In function 'os_write': os.c:192:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 192 | int fd = (int) *priv; | ^ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o block.o block.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o low.o low.c low.c: In function 'l_putpmentry': low.c:176:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 176 | strncpy((char *) ptr, (const char *) map->pmPartName, 32); | ^ low.c:180:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 180 | strncpy((char *) ptr, (const char *) map->pmParType, 32); | ^ low.c:195:3: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 195 | strncpy((char *) ptr, (const char *) map->pmProcessor, 16); | ^ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o medium.o medium.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o file.o file.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o btree.o btree.c btree.c: In function 'insertx': btree.c:444:39: warning: pointer targets in passing argument 3 of 'n_insert' differ in signedness [-Wpointer-sign] 444 | result = n_insert(np, record, reclen); | ^~~~~~ | | | int * In file included from btree.c:35: node.h:32:30: note: expected 'unsigned int *' but argument is of type 'int *' 32 | int n_insert(node *, byte *, unsigned int *); | ^~~~~~~~~~~~~~ btree.c:449:37: warning: pointer targets in passing argument 3 of 'n_insert' differ in signedness [-Wpointer-sign] 449 | result = n_insert(np, record, reclen); | ^~~~~~ | | | int * node.h:32:30: note: expected 'unsigned int *' but argument is of type 'int *' 32 | int n_insert(node *, byte *, unsigned int *); | ^~~~~~~~~~~~~~ btree.c: In function 'bt_insert': btree.c:493:30: warning: pointer targets in passing argument 3 of 'insertx' differ in signedness [-Wpointer-sign] 493 | if (insertx(&root, newrec, &reclen) == -1) | ^~~~~~~ | | | unsigned int * btree.c:412:42: note: expected 'int *' but argument is of type 'unsigned int *' 412 | int insertx(node *np, byte *record, int *reclen) | ~~~~~^~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o node.o node.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o record.o record.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o volume.o volume.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o hfs.o hfs.c hfs.c: In function 'hfs_create': hfs.c:672:45: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 672 | found = v_resolve(&vol, path, &file->cat, &parid, name, 0); | ^~~~~~ | | | long unsigned int * In file included from hfs.c:39: volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_open': hfs.c:743:41: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 743 | if (v_resolve(&vol, path, &file->cat, &file->parid, file->name, 0) <= 0) | ^~~~~~~~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_stat': hfs.c:1037:36: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1037 | v_resolve(&vol, path, &data, &parid, name, 0) <= 0) | ^~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_mkdir': hfs.c:1116:40: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1116 | found = v_resolve(&vol, path, &data, &parid, name, 0); | ^~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_rmdir': hfs.c:1148:36: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1148 | v_resolve(&vol, path, &data, &parid, name, 0) <= 0) | ^~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_delete': hfs.c:1198:40: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1198 | v_resolve(&vol, path, &file.cat, &file.parid, file.name, 0) <= 0) | ^~~~~~~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c: In function 'hfs_rename': hfs.c:1273:38: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1273 | v_resolve(&vol, srcpath, &src, &srcid, srcname, 0) <= 0) | ^~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ hfs.c:1279:42: warning: pointer targets in passing argument 4 of 'v_resolve' differ in signedness [-Wpointer-sign] 1279 | found = v_resolve(&vol, dstpath, &dst, &dstid, dstname, 0); | ^~~~~~ | | | long unsigned int * volume.h:57:54: note: expected 'long int *' but argument is of type 'long unsigned int *' 57 | int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); | ^~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o version.o version.c ar rc libhfs.a os.o data.o block.o low.o medium.o file.o btree.o node.o record.o volume.o hfs.o version.o ranlib libhfs.a make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hfsutil.o hfsutil.c hfsutil.c: In function 'hfsutil_getcwd': hfsutil.c:292:28: warning: pointer targets in passing argument 2 of 'hfs_dirinfo' differ in signedness [-Wpointer-sign] 292 | if (hfs_dirinfo(vol, &cwd, name) == -1) | ^~~~ | | | long int * In file included from hfsutil.c:40: libhfs/hfs.h:148:27: note: expected 'long unsigned int *' but argument is of type 'long int *' 148 | int hfs_dirinfo(hfsvol *, unsigned long *, char *); | ^~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcwd.o hcwd.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hattrib.o hattrib.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcd.o hcd.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcopy.o hcopy.c hcopy.c: In function 'do_copyout': hcopy.c:225:15: warning: 'copyfile' may be used uninitialized [-Wmaybe-uninitialized] 225 | if (copyfile(vol, argv[i], dest) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ hcopy.c:179:11: note: 'copyfile' was declared here 179 | cpofunc copyfile; | ^~~~~~~~ hcopy.c: In function 'do_copyin': hcopy.c:136:15: warning: 'copyfile' may be used uninitialized [-Wmaybe-uninitialized] 136 | if (copyfile(argv[i], vol, dest) == -1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ hcopy.c:90:11: note: 'copyfile' was declared here 90 | cpifunc copyfile; | ^~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hdel.o hdel.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hformat.o hformat.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hls.o hls.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmkdir.o hmkdir.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmount.o hmount.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hpwd.o hpwd.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrename.o hrename.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrmdir.o hrmdir.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o humount.o humount.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hvol.o hvol.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o crc.o crc.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o binhex.o binhex.c binhex.c: In function 'nextchar': binhex.c:474:14: warning: 'ch' may be used uninitialized [-Wmaybe-uninitialized] 474 | int c, c2, ch; | ^~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o copyin.o copyin.c copyin.c: In function 'opendst': copyin.c:422:11: warning: 'cwd' may be used uninitialized [-Wmaybe-uninitialized] 422 | if (hfs_setcwd(vol, cwd) == -1) | ^~~~~~~~~~~~~~~~~~~~ copyin.c:391:17: note: 'cwd' was declared here 391 | unsigned long cwd; | ^~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o copyout.o copyout.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o charset.o charset.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o darray.o darray.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dlist.o dlist.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dstring.o dstring.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o glob.o glob.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o suid.o suid.c suid.c: In function 'suid_enable': suid.c:72:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | setreuid(-1, euid); | ^~~~~~~~~~~~~~~~~~ suid.c:73:3: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | setregid(-1, egid); | ^~~~~~~~~~~~~~~~~~ suid.c: In function 'suid_disable': suid.c:91:3: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | setreuid(-1, uid); | ^~~~~~~~~~~~~~~~~ suid.c:92:3: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | setregid(-1, gid); | ^~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o version.o version.c gcc -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 -Llibhfs hfsutil.o hcwd.o \ hattrib.o hcd.o hcopy.o hdel.o hformat.o hls.o hmkdir.o hmount.o hpwd.o hrename.o hrmdir.o humount.o hvol.o crc.o binhex.o copyin.o copyout.o charset.o darray.o dlist.o dstring.o glob.o suid.o version.o \ -lhfs -o hfsutil ln -f hfsutil hattrib ln -f hfsutil hcd ln -f hfsutil hcopy ln -f hfsutil hdel ln -f hfsutil hdir ln -f hfsutil hformat ln -f hfsutil hls ln -f hfsutil hmkdir ln -f hfsutil hmount ln -f hfsutil hpwd ln -f hfsutil hrename ln -f hfsutil hrmdir ln -f hfsutil humount ln -f hfsutil hvol 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hfssh.o hfssh.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o tclhfs.o tclhfs.c tclhfs.c: In function 'direntstr': tclhfs.c:194:26: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 194 | return Tcl_Merge(argc, argv); | ^~~~ | | | char ** In file included from /usr/include/tcl.h:2418, from tclhfs.c:36: /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c: In function 'getdir': tclhfs.c:242:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 242 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'file_cmd': tclhfs.c:287:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 287 | interp->result = "missing command"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:305:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 305 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:318:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 318 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:326:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 326 | interp->result = (hfs_getfork(file) == 0) ? "data" : "rsrc"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:349:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 349 | interp->result = "bad arg to setfork: must be data or rsrc"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:366:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 366 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:378:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 378 | interp->result = "size must be >= 0"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:385:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 385 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:408:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 408 | sprintf(interp->result, "%lu", bytes); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:437:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 437 | interp->result = "bad arg 3: must be start, current, or end"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:445:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 445 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'file_ref': tclhfs.c:505:5: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 505 | sprintf(interp->result, "hfsfile%d", id++); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:506:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 506 | while (Tcl_GetCommandInfo(interp, interp->result, &info)); | ^~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:510:3: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 510 | fref->cmd = Tcl_CreateCommand(interp, interp->result, | ^~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:511:36: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 511 | file_cmd, fref, file_del); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c: In function 'copynative': tclhfs.c:621:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 621 | interp->result = "source and destination files are the same"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'copyin': tclhfs.c:675:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 675 | interp->result = "bad mode: must be macb, binh, text, or raw"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'copyout': tclhfs.c:710:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 710 | interp->result = "bad mode: must be macb, binh, text, or raw"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'vol_cmd': tclhfs.c:824:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 824 | interp->result = "missing command"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:840:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 840 | sprintf(interp->result, "%lu %lu", ent.totbytes, ent.freebytes); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:847:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 847 | sprintf(interp->result, "%ld", (long) ent.crdate); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:854:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 854 | sprintf(interp->result, "%ld", (long) ent.mddate); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:862:13: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 862 | interp->result = "1"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:864:13: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 864 | interp->result = "0"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:873:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 873 | sprintf(interp->result, "%lu", vref->cwd); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:885:36: warning: pointer targets in passing argument 2 of 'hfs_dirinfo' differ in signedness [-Wpointer-sign] 885 | if (hfs_dirinfo(vol, &id, name) == -1) | ^~~ | | | long int * In file included from tclhfs.c:39: libhfs/hfs.h:148:27: note: expected 'long unsigned int *' but argument is of type 'long int *' 148 | int hfs_dirinfo(hfsvol *, unsigned long *, char *); | ^~~~~~~~~~~~~~~ tclhfs.c:893:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 893 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:893:61: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 893 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:905:37: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 905 | result = Tcl_Merge(listc, listv); | ^~~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c:921:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 921 | interp->result = ":"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:948:32: warning: pointer targets in passing argument 2 of 'hfs_dirinfo' differ in signedness [-Wpointer-sign] 948 | if (hfs_dirinfo(vol, &id, name) == -1) | ^~~ | | | long int * libhfs/hfs.h:148:27: note: expected 'long unsigned int *' but argument is of type 'long int *' 148 | int hfs_dirinfo(hfsvol *, unsigned long *, char *); | ^~~~~~~~~~~~~~~ tclhfs.c:968:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 968 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:993:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 993 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1038:54: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 1038 | if (Tcl_SplitList(interp, argv[2], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1046:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1046 | interp->result = "globbing error"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1050:37: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 1050 | result = Tcl_Merge(fargc, fargv); | ^~~~~ | | | char ** /usr/include/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ tclhfs.c:1102:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1102 | interp->result = "type and creator must be 4 character strings"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1109:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1109 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'cmd_hfs': tclhfs.c:1167:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1167 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1182:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1182 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1201:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1201 | sprintf(interp->result, "must specify partition number " | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1214:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1214 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1235:9: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1235 | sprintf(interp->result, "hfsvol%d", id++); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1236:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1236 | while (Tcl_GetCommandInfo(interp, interp->result, &info)); | ^~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1238:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1238 | Tcl_CreateCommand(interp, interp->result, | ^~~~~~~~~~~~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1239:25: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 1239 | vol_cmd, vref, vol_del); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c:1177:22: warning: variable 'entry' set but not used [-Wunused-but-set-variable] 1177 | Tcl_HashEntry *entry; | ^~~~~ tclhfs.c:1248:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1248 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1258:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1258 | sprintf(interp->result, "%lu", len); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1266:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1266 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1270:39: warning: pointer targets in passing argument 3 of 'Tcl_GetInt' differ in signedness [-Wpointer-sign] 1270 | if (Tcl_GetInt(interp, argv[3], &len) != TCL_OK) | ^~~~ | | | unsigned int * /usr/include/tclDecls.h:158:38: note: expected 'int *' but argument is of type 'unsigned int *' 158 | int *intPtr); | ~~~~~^~~~~~ tclhfs.c:1282:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1282 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1290:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1290 | sprintf(interp->result, "%d", nparts); | ^~~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1298:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1298 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1311:54: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 1311 | if (Tcl_SplitList(interp, argv[5], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** /usr/include/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1319:15: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1319 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1359:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1359 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1368:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1368 | interp->result = "bad arg to chartrans: " | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1387:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1387 | interp->result = "out of memory"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1397:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1397 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1401:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1401 | interp->result = (char *) hfsutils_version; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1407:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1407 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1411:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1411 | interp->result = (char *) hfsutils_copyright; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1417:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1417 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1421:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1421 | interp->result = (char *) hfsutils_author; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1427:11: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1427 | interp->result = "wrong # args"; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c:1431:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1431 | interp->result = (char *) hfsutils_license; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'cmd_exit': tclhfs.c:1458:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1458 | interp->result = "wrong # args: should be \"exit ?returnCode?\""; | ^~~~~~ /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ tclhfs.c: In function 'Hfs_Init': tclhfs.c:1481:38: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 1481 | Tcl_CreateCommand(interp, "hfs", cmd_hfs, 0, 0); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ tclhfs.c:1482:38: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] 1482 | Tcl_CreateCommand(interp, "exit", cmd_exit, 0, 0); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) /usr/include/tclDecls.h:303:67: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **)' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **)' 303 | const char *cmdName, Tcl_CmdProc *proc, | ~~~~~~~~~~~~~^~~~ gcc -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 -Llibhfs hfssh.o tclhfs.o crc.o binhex.o copyin.o copyout.o charset.o darray.o dlist.o dstring.o glob.o suid.o version.o \ -lhfs -L/usr/lib64 -ltcl8.6 -ldl -lz -lpthread -lm -o hfssh ( echo "#!./hfssh"; \ echo "#! /bin/sh"; \ echo "# Start hfssh ... \\"; \ echo 'exec hfssh "$0" "$@"'; \ echo; \ cat hfs.tcl; \ ) > hfs chmod a+x hfs 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hfswish.o hfswish.c hfswish.c: In function 'Tcl_AppInit': hfswish.c:97:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 97 | fprintf(stderr, "Error: %s\n", interp->result); | ^~~~~~~ In file included from /usr/include/tk.h:19, from hfswish.c:29: /usr/include/tcl.h:514:11: note: declared here 514 | char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); | ^~~~~~ ( echo '# include "xhfs.h"'; \ echo; \ echo "char xhfs[] ="; \ sed -e 's|^[ ]*||' -e 's|^#.*||' -e '/^$/d' \ -e 's| *| |g' \ -e 's|[\\"]|\\&|g' -e 's|.*|"&\\n"|' xhfs.tcl; \ echo ";"; \ ) > xhfs.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o xhfs.o xhfs.c gcc -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 -Llibhfs hfswish.o xhfs.o tclhfs.o crc.o binhex.o copyin.o copyout.o charset.o darray.o dlist.o dstring.o glob.o suid.o version.o \ -lhfs -L/usr/lib64 -ltk8.6 -L/usr/lib64 -ltcl8.6 -lX11 -lXft -lfontconfig -lfreetype -lfontconfig -lpthread -ldl -lz -lpthread -lm -o xhfs + make hfsck/hfsck cd libhfs && make make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' cd hfsck && make make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/hfsck' 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_mdb.o ck_mdb.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_volume.o ck_volume.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_btree.o ck_btree.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o hfsck.o hfsck.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o util.o util.c util.c: In function 'ask': util.c:147:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fgets(answer, sizeof(answer), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'extstr': util.c:66:31: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 66 | sprintf(str, "%u[%u..%u]", ext->xdrNumABlks, | ^ In file included from /usr/include/stdio.h:906, from util.c:22: In function 'sprintf', inlined from 'extstr' at util.c:66:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o main.o main.c main.c: In function 'main': main.c:187:6: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 187 | if (result == -1) | ^ main.c:59:21: note: 'result' was declared here 59 | int nparts, pnum, result; | ^~~~~~ gcc -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 ck_mdb.o ck_volume.o ck_btree.o hfsck.o util.o main.o ../suid.o ../version.o -L../libhfs -lhfs -o hfsck make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/hfsck' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b3mpyp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 hfsutils-3.2.6 + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/include + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib64 + make BINDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin LIBDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib64 INCDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/include MANDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/man 'INSTALL=install -p' install install_lib cd libhfs && make make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' install -p -m 755 hfsutil "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/." for file in hattrib hcd hcopy hdel hdir hformat hls hmkdir hmount hpwd hrename hrmdir humount hvol; do \ ln -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfsutil" "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/$file"; \ done rm -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfsutil" for file in hfsutils.1 hattrib.1 hcd.1 hcopy.1 hdel.1 hdir.1 hformat.1 hls.1 hmkdir.1 hmount.1 hpwd.1 hrename.1 hrmdir.1 humount.1 hvol.1; do \ install -p -m 644 doc/man/$file \ "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/man/man1/`basename $file .1`.1"; \ done for file in hfssh hfs; do \ install -p -m 755 $file "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/."; \ done if [ -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs" ]; then \ sed -e '1d' "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs" > "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs.new"; \ install -p -m 755 "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs.new" "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs"; \ rm -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfs.new"; \ fi for file in hfssh.1 hfs.1; do \ install -p -m 644 doc/man/$file \ "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/man/man1/`basename $file .1`.1"; \ done for file in xhfs; do \ install -p -m 755 $file "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/."; \ done for file in xhfs.1; do \ install -p -m 644 doc/man/$file \ "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/man/man1/`basename $file .1`.1"; \ done cd librsrc && make make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/librsrc' 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o rsrc.o rsrc.c rsrc.c: In function 'rsrc_maxsize': rsrc.c:349:24: warning: variable 'offs2' set but not used [-Wunused-but-set-variable] 349 | unsigned long offs1, offs2; | ^~~~~ rsrc.c:349:17: warning: variable 'offs1' set but not used [-Wunused-but-set-variable] 349 | unsigned long offs1, offs2; | ^~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o version.o version.c ar rc librsrc.a data.o rsrc.o version.o ranlib librsrc.a make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/librsrc' cd libhfs && make install make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' install -p -m 644 libhfs.a "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib64/." install -p -m 644 hfs.h "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/include/." make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/libhfs' cd librsrc && make install make[1]: Entering directory '/builddir/build/BUILD/hfsutils-3.2.6/librsrc' install -p -m 644 librsrc.a "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib64/." install -p -m 644 rsrc.h "/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/include/." make[1]: Leaving directory '/builddir/build/BUILD/hfsutils-3.2.6/librsrc' + install -p -m 0755 hfsck/hfsck /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64//usr/bin + ln -sf hfsck /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64//usr/bin/fsck.hfs + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.2.6-46.fc38 --unique-debug-suffix -3.2.6-46.fc38.riscv64 --unique-debug-src-base hfsutils-3.2.6-46.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hfsutils-3.2.6 extracting debug info from /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hattrib extracting debug info from /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfsck extracting debug info from /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/xhfs extracting debug info from /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/bin/hfssh hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hattrib-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hcd-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hcd-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hcopy-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hcopy-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hdel-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hdel-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hdir-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hdir-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hformat-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hformat-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hls-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hls-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hmkdir-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hmkdir-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hmount-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hmount-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hpwd-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hpwd-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hrename-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hrename-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hrmdir-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hrmdir-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/humount-3.2.6-46.fc38.riscv64.debug hard linked /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/humount-3.2.6-46.fc38.riscv64.debug to /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/lib/debug/usr/bin/hvol-3.2.6-46.fc38.riscv64.debug original debug info size: 5072kB, size after compression: 4768kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 931 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 mangling shebang in /usr/bin/hfs from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: hfsutils-3.2.6-46.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8E6Aar + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + DOCDIR=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + cp -pr CHANGES /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + cp -pr CREDITS /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + cp -pr README /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + cp -pr TODO /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/doc/hfsutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eCSFcf + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + LICENSEDIR=/builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/licenses/hfsutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/licenses/hfsutils + cp -pr COPYING /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/licenses/hfsutils + cp -pr COPYRIGHT /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64/usr/share/licenses/hfsutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: hfsutils = 3.2.6-46.fc38 hfsutils(riscv-64) = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libtcl8.6.so()(64bit) rtld(GNU_HASH) Processing files: hfsutils-devel-3.2.6-46.fc38.riscv64 Provides: hfsutils-devel = 3.2.6-46.fc38 hfsutils-devel(riscv-64) = 3.2.6-46.fc38 hfsutils-static = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hfsutils-x11-3.2.6-46.fc38.riscv64 Provides: hfsutils-x11 = 3.2.6-46.fc38 hfsutils-x11(riscv-64) = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) rtld(GNU_HASH) Processing files: hfsutils-debugsource-3.2.6-46.fc38.riscv64 Provides: hfsutils-debugsource = 3.2.6-46.fc38 hfsutils-debugsource(riscv-64) = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hfsutils-debuginfo-3.2.6-46.fc38.riscv64 Provides: debuginfo(build-id) = 00e2a02b03c785ef472cae48dd96362a5d8be3e2 debuginfo(build-id) = 92184caaf18eb725cf758e20e9b335354e6036b2 debuginfo(build-id) = d24f20b777f0fb2aa18ef0b7bb90e095e1e1c038 debuginfo(build-id) = nilnil hfsutils-debuginfo = 3.2.6-46.fc38 hfsutils-debuginfo(riscv-64) = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hfsutils-debugsource(riscv-64) = 3.2.6-46.fc38 Processing files: hfsutils-x11-debuginfo-3.2.6-46.fc38.riscv64 Provides: debuginfo(build-id) = 5867b0f0bc9eca1ef53d974a45d7343d68f48cbc hfsutils-x11-debuginfo = 3.2.6-46.fc38 hfsutils-x11-debuginfo(riscv-64) = 3.2.6-46.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hfsutils-debugsource(riscv-64) = 3.2.6-46.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 Wrote: /builddir/build/RPMS/hfsutils-x11-debuginfo-3.2.6-46.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/hfsutils-debugsource-3.2.6-46.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/hfsutils-x11-3.2.6-46.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/hfsutils-3.2.6-46.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/hfsutils-devel-3.2.6-46.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/hfsutils-debuginfo-3.2.6-46.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SpIeRx + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hfsutils-3.2.6-46.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.lipHzv + umask 022 + cd /builddir/build/BUILD + rm -rf hfsutils-3.2.6 hfsutils-3.2.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0