+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/hfsutils.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D4bari + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hfsutils-3.2.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/hfsutils-3.2.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hfsutils-3.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (hfsutils-3.2.6-errno.patch):' Patch #0 (hfsutils-3.2.6-errno.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tclhfs.c + echo 'Patch #1 (hfsutils-3.2.6-largefile.patch):' Patch #1 (hfsutils-3.2.6-largefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libhfs/os/unix.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x8M4Le + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.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 creating cache ./config.cache checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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... yes 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] *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] 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] 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] 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] 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] int fd = (int) *priv; ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o block.o block.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o low.o low.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o medium.o medium.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o file.o file.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o btree.o btree.c btree.c: In function 'insertx': btree.c:444:32: warning: pointer targets in passing argument 3 of 'n_insert' differ in signedness [-Wpointer-sign] result = n_insert(np, record, reclen); ^~~~~~ In file included from btree.c:35:0: node.h:32:5: note: expected 'unsigned int *' but argument is of type 'int *' 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] result = n_insert(np, record, reclen); ^~~~~~ In file included from btree.c:35:0: node.h:32:5: note: expected 'unsigned int *' but argument is of type 'int *' 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] if (insertx(&root, newrec, &reclen) == -1) ^ btree.c:412:5: note: expected 'int *' but argument is of type 'unsigned int *' int insertx(node *np, byte *record, int *reclen) ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o node.o node.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o record.o record.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o volume.o volume.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] found = v_resolve(&vol, path, &file->cat, &parid, name, 0); ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] if (v_resolve(&vol, path, &file->cat, &file->parid, file->name, 0) <= 0) ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] v_resolve(&vol, path, &data, &parid, name, 0) <= 0) ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] found = v_resolve(&vol, path, &data, &parid, name, 0); ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] v_resolve(&vol, path, &data, &parid, name, 0) <= 0) ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] v_resolve(&vol, path, &file.cat, &file.parid, file.name, 0) <= 0) ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] v_resolve(&vol, srcpath, &src, &srcid, srcname, 0) <= 0) ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' 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] found = v_resolve(&vol, dstpath, &dst, &dstid, dstname, 0); ^ In file included from hfs.c:39:0: volume.h:57:5: note: expected 'long int *' but argument is of type 'long unsigned int *' int v_resolve(hfsvol **, const char *, CatDataRec *, long *, char *, node *); ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] if (hfs_dirinfo(vol, &cwd, name) == -1) ^ In file included from hfsutil.c:40:0: libhfs/hfs.h:148:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int hfs_dirinfo(hfsvol *, unsigned long *, char *); ^~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcwd.o hcwd.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hattrib.o hattrib.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcd.o hcd.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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:8: warning: 'copyfile' may be used uninitialized in this function [-Wmaybe-uninitialized] if (copyfile(vol, argv[i], dest) == -1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ hcopy.c: In function 'do_copyin': hcopy.c:136:8: warning: 'copyfile' may be used uninitialized in this function [-Wmaybe-uninitialized] if (copyfile(argv[i], vol, dest) == -1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hdel.o hdel.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hformat.o hformat.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hls.o hls.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmkdir.o hmkdir.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmount.o hmount.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hpwd.o hpwd.c hpwd.c: In function 'hpwd_main': hpwd.c:55:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(ent->cwd, ":") == 0) ^~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrename.o hrename.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrmdir.o hrmdir.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o humount.o humount.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hvol.o hvol.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o crc.o crc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 in this function [-Wmaybe-uninitialized] int c, c2, ch; ^~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 in this function [-Wmaybe-uninitialized] if (hfs_setcwd(vol, cwd) == -1) ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o copyout.o copyout.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o charset.o charset.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o darray.o darray.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dlist.o dlist.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dstring.o dstring.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o glob.o glob.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] setreuid(-1, euid); ^~~~~~~~~~~~~~~~~~ suid.c:73:3: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] 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] setreuid(-1, uid); ^~~~~~~~~~~~~~~~~ suid.c:92:3: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(-1, gid); ^~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o version.o version.c gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hfssh.o hfssh.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] return Tcl_Merge(argc, argv); ^~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ tclhfs.c: In function 'getdir': tclhfs.c:242:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "missing command"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:305:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu", offset); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:318:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:326:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = (hfs_getfork(file) == 0) ? "data" : "rsrc"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:349:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "bad arg to setfork: must be data or rsrc"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:366:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu", offset); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:378:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "size must be >= 0"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:385:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:408:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu", bytes); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:437:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "bad arg 3: must be start, current, or end"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:445:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu", offset); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] sprintf(interp->result, "hfsfile%d", id++); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] while (Tcl_GetCommandInfo(interp, interp->result, &info)); ^~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] fref->cmd = Tcl_CreateCommand(interp, interp->result, ^~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:511:8: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] file_cmd, fref, file_del); ^~~~~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:302:20: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **) {aka int (*)(void *, struct Tcl_Interp *, int, const char **)}' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **) {aka int (*)(void *, struct Tcl_Interp *, int, char **)}' EXTERN Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, ^~~~~~~~~~~~~~~~~ tclhfs.c: In function 'copynative': tclhfs.c:621:7: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "source and destination files are the same"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "bad mode: must be macb, binh, text, or raw"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "bad mode: must be macb, binh, text, or raw"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "missing command"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:840:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu %lu", ent.totbytes, ent.freebytes); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:847:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%ld", (long) ent.crdate); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:854:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%ld", (long) ent.mddate); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:862:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "1"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:864:6: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "0"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:873:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "%lu", vref->cwd); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:885:29: warning: pointer targets in passing argument 2 of 'hfs_dirinfo' differ in signedness [-Wpointer-sign] if (hfs_dirinfo(vol, &id, name) == -1) ^ In file included from tclhfs.c:39:0: libhfs/hfs.h:148:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int hfs_dirinfo(hfsvol *, unsigned long *, char *); ^~~~~~~~~~~ tclhfs.c:893:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) ^~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:893:54: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) ^ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:721:13: note: expected 'const char ***' but argument is of type 'char ***' EXTERN int Tcl_SplitList(Tcl_Interp *interp, ^~~~~~~~~~~~~ tclhfs.c:905:30: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(listc, listv); ^~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ tclhfs.c:921:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = ":"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:948:25: warning: pointer targets in passing argument 2 of 'hfs_dirinfo' differ in signedness [-Wpointer-sign] if (hfs_dirinfo(vol, &id, name) == -1) ^ In file included from tclhfs.c:39:0: libhfs/hfs.h:148:5: note: expected 'long unsigned int *' but argument is of type 'long int *' int hfs_dirinfo(hfsvol *, unsigned long *, char *); ^~~~~~~~~~~ tclhfs.c:968:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:993:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1038:47: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_SplitList(interp, argv[2], &listc, &listv) != TCL_OK) ^ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:721:13: note: expected 'const char ***' but argument is of type 'char ***' EXTERN int Tcl_SplitList(Tcl_Interp *interp, ^~~~~~~~~~~~~ tclhfs.c:1046:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "globbing error"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1050:30: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(fargc, fargv); ^~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:585:16: note: expected 'const char * const*' but argument is of type 'char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ tclhfs.c:1102:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "type and creator must be 4 character strings"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1109:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1182:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1201:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "must specify partition number " ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1214:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1235:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] sprintf(interp->result, "hfsvol%d", id++); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] while (Tcl_GetCommandInfo(interp, interp->result, &info)); ^~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] Tcl_CreateCommand(interp, interp->result, ^~~~~~~~~~~~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1239:4: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] vol_cmd, vref, vol_del); ^~~~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:302:20: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **) {aka int (*)(void *, struct Tcl_Interp *, int, const char **)}' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **) {aka int (*)(void *, struct Tcl_Interp *, int, char **)}' EXTERN Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, ^~~~~~~~~~~~~~~~~ tclhfs.c:1177:22: warning: variable 'entry' set but not used [-Wunused-but-set-variable] Tcl_HashEntry *entry; ^~~~~ tclhfs.c:1248:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] sprintf(interp->result, "%lu", len); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1266:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] if (Tcl_GetInt(interp, argv[3], &len) != TCL_OK) ^ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:157:13: note: expected 'int *' but argument is of type 'unsigned int *' EXTERN int Tcl_GetInt(Tcl_Interp *interp, const char *src, ^~~~~~~~~~ tclhfs.c:1282:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] sprintf(interp->result, "%d", nparts); ^~~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1298:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1311:47: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_SplitList(interp, argv[5], &listc, &listv) != TCL_OK) ^ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:721:13: note: expected 'const char ***' but argument is of type 'char ***' EXTERN int Tcl_SplitList(Tcl_Interp *interp, ^~~~~~~~~~~~~ tclhfs.c:1319:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1359:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1368:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "bad arg to chartrans: " ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1387:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "out of memory"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1397:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = (char *) hfsutils_version; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1407:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = (char *) hfsutils_copyright; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1417:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = (char *) hfsutils_author; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^~~~~~ tclhfs.c:1427:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] interp->result = "wrong # args"; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = (char *) hfsutils_license; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] interp->result = "wrong # args: should be \"exit ?returnCode?\""; ^~~~~~ In file included from tclhfs.c:36:0: /usr/include/tcl.h:503:11: note: declared here 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] Tcl_CreateCommand(interp, "hfs", cmd_hfs, 0, 0); ^~~~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:302:20: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **) {aka int (*)(void *, struct Tcl_Interp *, int, const char **)}' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **) {aka int (*)(void *, struct Tcl_Interp *, int, char **)}' EXTERN Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, ^~~~~~~~~~~~~~~~~ tclhfs.c:1482:38: warning: passing argument 3 of 'Tcl_CreateCommand' from incompatible pointer type [-Wincompatible-pointer-types] Tcl_CreateCommand(interp, "exit", cmd_exit, 0, 0); ^~~~~~~~ In file included from /usr/include/tcl.h:2445:0, from tclhfs.c:36: /usr/include/tclDecls.h:302:20: note: expected 'int (*)(void *, Tcl_Interp *, int, const char **) {aka int (*)(void *, struct Tcl_Interp *, int, const char **)}' but argument is of type 'int (*)(void *, Tcl_Interp *, int, char **) {aka int (*)(void *, struct Tcl_Interp *, int, char **)}' EXTERN Tcl_Command Tcl_CreateCommand(Tcl_Interp *interp, ^~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] fprintf(stderr, "Error: %s\n", interp->result); ^~~~~~~ In file included from /usr/include/tk.h:19:0, from hfswish.c:29: /usr/include/tcl.h:503:11: note: declared here 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o xhfs.o xhfs.c gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_mdb.o ck_mdb.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_volume.o ck_volume.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_btree.o ck_btree.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o hfsck.o hfsck.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o util.o util.c util.c: In function 'ask': util.c:147:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, sizeof(answer), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 in this function [-Wmaybe-uninitialized] if (result == -1) ^ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JtlQd6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 + cd hfsutils-3.2.6 + rm -rf /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/include + mkdir -p /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/lib64 + make BINDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin LIBDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/lib64 INCDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/include MANDEST=/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.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-30.fc28.riscv64/usr/bin/hfsutil" "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/$file"; \ done rm -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.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-30.fc28.riscv64/usr/bin/."; \ done if [ -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/hfs" ]; then \ sed -e '1d' "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/hfs" > "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/hfs.new"; \ install -p -m 755 "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/hfs.new" "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/bin/hfs"; \ rm -f "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.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-30.fc28.riscv64/usr/bin/."; \ done for file in xhfs.1; do \ install -p -m 644 doc/man/$file \ "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] unsigned long offs1, offs2; ^~~~~ rsrc.c:349:17: warning: variable 'offs1' set but not used [-Wunused-but-set-variable] unsigned long offs1, offs2; ^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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-30.fc28.riscv64/usr/lib64/." install -p -m 644 hfs.h "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.riscv64/usr/lib64/." install -p -m 644 rsrc.h "/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.riscv64//usr/bin + ln -sf hfsck /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64//usr/bin/fsck.hfs + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in ./usr/bin/hfs from #! /bin/sh to #!/bin/sh Processing files: hfsutils-3.2.6-30.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4PRu8k + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + DOCDIR=/builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.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-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr CHANGES /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr COPYING /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr COPYRIGHT /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr CREDITS /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr README /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + cp -pr TODO /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64/usr/share/doc/hfsutils + exit 0 warning: File listed twice: /usr/lib/.build-id/df/58fdea79fc231dba38c63e2facc65c542bff2e Provides: hfsutils = 3.2.6-30.fc28 hfsutils(riscv-64) = 3.2.6-30.fc28 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: /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) rtld(GNU_HASH) Processing files: hfsutils-devel-3.2.6-30.fc28.riscv64 Provides: hfsutils-devel = 3.2.6-30.fc28 hfsutils-devel(riscv-64) = 3.2.6-30.fc28 hfsutils-static = 3.2.6-30.fc28 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-30.fc28.riscv64 Provides: hfsutils-x11 = 3.2.6-30.fc28 hfsutils-x11(riscv-64) = 3.2.6-30.fc28 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) libX11.so.6()(64bit) libXft.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 Wrote: /builddir/build/SRPMS/hfsutils-3.2.6-30.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/hfsutils-3.2.6-30.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/hfsutils-devel-3.2.6-30.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/hfsutils-x11-3.2.6-30.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KUz3OI + umask 022 + cd /builddir/build/BUILD + cd hfsutils-3.2.6 + rm -rf /builddir/build/BUILDROOT/hfsutils-3.2.6-30.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff