<86>Sep 14 02:19:20 userdel[880867]: delete user 'rooter' <86>Sep 14 02:19:20 userdel[880867]: removed group 'rooter' owned by 'rooter' <86>Sep 14 02:19:20 userdel[880867]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 14 02:19:20 groupadd[880877]: group added to /etc/group: name=rooter, GID=633 <86>Sep 14 02:19:20 groupadd[880877]: group added to /etc/gshadow: name=rooter <86>Sep 14 02:19:20 groupadd[880877]: new group: name=rooter, GID=633 <86>Sep 14 02:19:20 useradd[880886]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Sep 14 02:19:20 userdel[880898]: delete user 'builder' <86>Sep 14 02:19:20 userdel[880898]: removed group 'builder' owned by 'builder' <86>Sep 14 02:19:20 userdel[880898]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 02:19:20 groupadd[880911]: group added to /etc/group: name=builder, GID=634 <86>Sep 14 02:19:20 groupadd[880911]: group added to /etc/gshadow: name=builder <86>Sep 14 02:19:20 groupadd[880911]: new group: name=builder, GID=634 <86>Sep 14 02:19:20 useradd[880923]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Sep 14 02:19:24 rpmi: xorg-proto-devel-2021.4-alt1 sisyphus+272146.100.1.1 1621424691 installed <13>Sep 14 02:19:24 rpmi: libtcl-8.6.11-alt3 sisyphus+284233.40.3.1 1630366241 installed <13>Sep 14 02:19:24 rpmi: tcl-8.6.11-alt3 sisyphus+284233.40.3.1 1630366241 installed <13>Sep 14 02:19:25 rpmi: libicu69-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Sep 14 02:19:25 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Sep 14 02:19:25 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153355 installed <13>Sep 14 02:19:25 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Sep 14 02:19:25 rpmi: icu-utils-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Sep 14 02:19:25 rpmi: libicu-devel-1:6.9.1-alt2 sisyphus+277632.100.1.1 1625726150 installed <13>Sep 14 02:19:25 rpmi: rpm-build-tcl-0.6.1-alt1 sisyphus+264761.20.4.1 1610806524 installed <13>Sep 14 02:19:25 rpmi: tcl-devel-8.6.11-alt3 sisyphus+284233.40.3.1 1630366241 installed <13>Sep 14 02:19:25 rpmi: libX11-locales-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 02:19:25 rpmi: libXdmcp-1.1.3-alt1 sisyphus+278816.100.1.1 1626219231 installed <13>Sep 14 02:19:25 rpmi: libXau-1.0.9-alt1 sisyphus+278247.100.1.1 1626080736 installed <13>Sep 14 02:19:25 rpmi: libxcb-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 14 02:19:26 rpmi: libX11-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 02:19:26 rpmi: libXrender-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Sep 14 02:19:28 rpmi: libxcb-devel-1.14-alt1 sisyphus+277968.100.1.3 1625952322 installed <13>Sep 14 02:19:28 rpmi: libX11-devel-3:1.7.2-alt1 sisyphus+279629.100.1.1 1626637383 installed <13>Sep 14 02:19:28 rpmi: libXrender-devel-0.9.10-alt1 sisyphus+278480.100.1.2 1626227740 installed <13>Sep 14 02:19:28 rpmi: libpng16-1.6.37-alt1 sisyphus+275734.100.2.1 1624788826 installed <13>Sep 14 02:19:28 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 02:19:28 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Sep 14 02:19:28 rpmi: libharfbuzz-2.9.1-alt1 sisyphus+285090.100.1.1 1631474777 installed <13>Sep 14 02:19:28 rpmi: libfreetype-2.11.0-alt1 sisyphus+281294.100.1.1 1627488670 installed <13>Sep 14 02:19:28 rpmi: fontconfig-2.13.1-alt2 sisyphus+283256.100.1.1 1629274953 installed Updating fonts cache: <29>Sep 14 02:19:29 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Sep 14 02:19:29 rpmi: libXft-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Sep 14 02:19:29 rpmi: libtk-8.6.11.1-alt2 sisyphus+284049.200.1.1 1630096426 installed <13>Sep 14 02:19:29 rpmi: tk-8.6.11.1-alt2 sisyphus+284049.200.1.1 1630096426 installed <13>Sep 14 02:19:29 rpmi: libharfbuzz-icu-2.9.1-alt1 sisyphus+285090.100.1.1 1631474777 installed <13>Sep 14 02:19:29 rpmi: libharfbuzz-gobject-2.9.1-alt1 sisyphus+285090.100.1.1 1631474777 installed <13>Sep 14 02:19:29 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Sep 14 02:19:29 rpmi: xml-utils-1:2.9.12-alt1 sisyphus+279621.1100.1.1 1626630109 installed <13>Sep 14 02:19:29 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Sep 14 02:19:29 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 14 02:19:29 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211284 installed <13>Sep 14 02:19:29 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 02:19:29 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 02:19:29 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 02:19:29 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 02:19:29 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190666 installed <13>Sep 14 02:19:29 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 14 02:19:29 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629815887 installed <13>Sep 14 02:19:30 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629242844 installed <13>Sep 14 02:19:30 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629242844 installed <13>Sep 14 02:19:31 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629242844 installed <13>Sep 14 02:19:31 rpmi: glib2-devel-2.68.4-alt1.1 sisyphus+283807.200.2.1 1629993687 installed <13>Sep 14 02:19:31 rpmi: libfreetype-devel-2.11.0-alt1 sisyphus+281294.100.1.1 1627488670 installed <13>Sep 14 02:19:31 rpmi: libharfbuzz-devel-2.9.1-alt1 sisyphus+285090.100.1.1 1631474777 installed <13>Sep 14 02:19:31 rpmi: fontconfig-devel-2.13.1-alt2 sisyphus+283256.100.1.1 1629274953 installed <13>Sep 14 02:19:31 rpmi: libXft-devel-2.3.4-alt1 sisyphus+284644.500.1.1 1630910476 installed <13>Sep 14 02:19:31 rpmi: tk-devel-8.6.11.1-alt2 sisyphus+284049.200.1.1 1630096426 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/hfsutils-3.2.6-alt1.nosrc.rpm (w1.gzdio) Installing hfsutils-3.2.6-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.88853 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf hfsutils-3.2.6 + echo 'Source #0 (hfsutils-3.2.6.tar.gz):' Source #0 (hfsutils-3.2.6.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/hfsutils-3.2.6.tar.gz + /bin/tar -xf - + cd hfsutils-3.2.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (hfsutils-3.2.6-errno.patch):' Patch #0 (hfsutils-3.2.6-errno.patch): + /usr/bin/patch -p1 patching file tclhfs.c + echo 'Patch #1 (hfsutils-3.2.6-largefile.patch):' Patch #1 (hfsutils-3.2.6-largefile.patch): + /usr/bin/patch -p1 patching file libhfs/os/unix.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.88853 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd hfsutils-3.2.6 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) 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... /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=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) 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) /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=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) works... yes checking whether the C compiler (gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT ) 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) /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 make: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' cd libhfs && make make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' rm -f os.c ln -s os/unix.c os.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o block.o block.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o low.o low.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o medium.o medium.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o file.o file.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:32: 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 * 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: 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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o node.o node.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o record.o record.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o volume.o volume.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 * 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_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 * 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_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 * 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_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 * 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_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 * 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_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 * 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: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 * 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 *); | ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcwd.o hcwd.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hattrib.o hattrib.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcd.o hcd.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hcopy.o hcopy.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hdel.o hdel.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hformat.o hformat.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hls.o hls.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmkdir.o hmkdir.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hmount.o hmount.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -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] 55 | if (strcmp(ent->cwd, ":") == 0) | ^~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrename.o hrename.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hrmdir.o hrmdir.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o humount.o humount.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hvol.o hvol.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o crc.o crc.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o binhex.o binhex.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o copyin.o copyin.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o copyout.o copyout.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o charset.o charset.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o darray.o darray.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dlist.o dlist.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o dstring.o dstring.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o glob.o glob.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o version.o version.c gcc -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o hfssh.o hfssh.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:2441, from tclhfs.c:36: /usr/include/tclDecls.h:584:57: 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:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 242 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 305 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 318 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 326 | interp->result = (hfs_getfork(file) == 0) ? "data" : "rsrc"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 349 | interp->result = "bad arg to setfork: must be data or rsrc"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 366 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 378 | interp->result = "size must be >= 0"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 385 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 408 | sprintf(interp->result, "%lu", bytes); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 437 | interp->result = "bad arg 3: must be start, current, or end"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 445 | sprintf(interp->result, "%lu", offset); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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++); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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)); | ^~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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, | ^~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 511 | file_cmd, fref, file_del); | ^~~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:303:39: 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 840 | sprintf(interp->result, "%lu %lu", ent.totbytes, ent.freebytes); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 847 | sprintf(interp->result, "%ld", (long) ent.crdate); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 854 | sprintf(interp->result, "%ld", (long) ent.mddate); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 862 | interp->result = "1"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 864 | interp->result = "0"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 873 | sprintf(interp->result, "%lu", vref->cwd); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 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:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 893 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 893 | if (Tcl_SplitList(interp, interp->result, &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:905:30: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 905 | result = Tcl_Merge(listc, listv); | ^~~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:584:57: 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:2: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 921 | interp->result = ":"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 948 | 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:968:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 968 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 993 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1038 | if (Tcl_SplitList(interp, argv[2], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1046:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1046 | interp->result = "globbing error"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1050 | result = Tcl_Merge(fargc, fargv); | ^~~~~ | | | char ** In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:584:57: 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:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1102 | interp->result = "type and creator must be 4 character strings"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1109 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1182 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1201 | sprintf(interp->result, "must specify partition number " | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1214 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1235 | sprintf(interp->result, "hfsvol%d", id++); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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)); | ^~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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, | ^~~~~~~~~~~~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1239 | vol_cmd, vref, vol_del); | ^~~~~~~ | | | int (*)(void *, Tcl_Interp *, int, char **) In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:303:39: 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:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1248 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1266 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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 * In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:158:10: note: expected 'int *' but argument is of type 'unsigned int *' 158 | int *intPtr); | ~~~~~^~~~~~ tclhfs.c:1282:4: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1282 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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); | ^~~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1298 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1311 | if (Tcl_SplitList(interp, argv[5], &listc, &listv) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ tclhfs.c:1319:8: warning: 'result' is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations] 1319 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1359 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1368 | interp->result = "bad arg to chartrans: " | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1387 | interp->result = "out of memory"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1397 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1407 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1417 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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] 1427 | interp->result = "wrong # args"; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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?\""; | ^~~~~~ In file included from tclhfs.c:36: /usr/include/tcl.h:499:11: note: declared here 499 | 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 **) In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:303:39: 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 **) In file included from /usr/include/tcl.h:2441, from tclhfs.c:36: /usr/include/tclDecls.h:303:39: 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 -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 -lpthread -ltcl8.6 -lpthread -ltclstub8.6 -o hfssh ( echo "#!./hfssh"; \ echo "#! /bin/sh"; \ echo "# Start hfssh ... \\"; \ echo 'exec hfssh "$0" "$@"'; \ echo; \ cat hfs.tcl; \ ) > hfs chmod a+x hfs gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:499:11: note: declared here 499 | 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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -Ilibhfs -I/usr/include -DHAVE_CONFIG_H -c -o xhfs.o xhfs.c gcc -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 -lpthread -lX11 -lpthread -ltcl8.6 -lpthread -ltclstub8.6 -o xhfs make: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' + make hfsck/hfsck make: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' cd libhfs && make make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' cd hfsck && make make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/hfsck' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_mdb.o ck_mdb.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_volume.o ck_volume.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o ck_btree.o ck_btree.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o hfsck.o hfsck.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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:4: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fgets(answer, sizeof(answer), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -I.. -I../libhfs -DHAVE_CONFIG_H -c -o main.o main.c gcc 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 '/usr/src/RPM/BUILD/hfsutils-3.2.6/hfsck' make: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.69559 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/hfsutils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/hfsutils-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd hfsutils-3.2.6 + mkdir -p /usr/src/tmp/hfsutils-buildroot/usr/bin + mkdir -p /usr/src/tmp/hfsutils-buildroot/usr/share/man/man1 + mkdir -p /usr/src/tmp/hfsutils-buildroot/usr/include + mkdir -p /usr/src/tmp/hfsutils-buildroot/usr/lib64 + make BINDEST=/usr/src/tmp/hfsutils-buildroot/usr/bin LIBDEST=/usr/src/tmp/hfsutils-buildroot/usr/lib64 INCDEST=/usr/src/tmp/hfsutils-buildroot/usr/include MANDEST=/usr/src/tmp/hfsutils-buildroot/usr/share/man 'INSTALL=install -p' install install_lib make: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' cd libhfs && make make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' install -p -m 755 hfsutil "/usr/src/tmp/hfsutils-buildroot/usr/bin/." for file in hattrib hcd hcopy hdel hdir hformat hls hmkdir hmount hpwd hrename hrmdir humount hvol; do \ ln -f "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfsutil" "/usr/src/tmp/hfsutils-buildroot/usr/bin/$file"; \ done rm -f "/usr/src/tmp/hfsutils-buildroot/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 \ "/usr/src/tmp/hfsutils-buildroot/usr/share/man/man1/`basename $file .1`.1"; \ done for file in hfssh hfs; do \ install -p -m 755 $file "/usr/src/tmp/hfsutils-buildroot/usr/bin/."; \ done if [ -f "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs" ]; then \ sed -e '1d' "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs" > "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs.new"; \ install -p -m 755 "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs.new" "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs"; \ rm -f "/usr/src/tmp/hfsutils-buildroot/usr/bin/hfs.new"; \ fi for file in hfssh.1 hfs.1; do \ install -p -m 644 doc/man/$file \ "/usr/src/tmp/hfsutils-buildroot/usr/share/man/man1/`basename $file .1`.1"; \ done for file in xhfs; do \ install -p -m 755 $file "/usr/src/tmp/hfsutils-buildroot/usr/bin/."; \ done for file in xhfs.1; do \ install -p -m 644 doc/man/$file \ "/usr/src/tmp/hfsutils-buildroot/usr/share/man/man1/`basename $file .1`.1"; \ done cd librsrc && make make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/librsrc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT -DHAVE_CONFIG_H -c -o data.o data.c gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 '/usr/src/RPM/BUILD/hfsutils-3.2.6/librsrc' cd libhfs && make install make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' install -p -m 644 libhfs.a "/usr/src/tmp/hfsutils-buildroot/usr/lib64/." install -p -m 644 hfs.h "/usr/src/tmp/hfsutils-buildroot/usr/include/." make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/libhfs' cd librsrc && make install make[1]: Entering directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/librsrc' install -p -m 644 librsrc.a "/usr/src/tmp/hfsutils-buildroot/usr/lib64/." install -p -m 644 rsrc.h "/usr/src/tmp/hfsutils-buildroot/usr/include/." make[1]: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6/librsrc' make: Leaving directory '/usr/src/RPM/BUILD/hfsutils-3.2.6' + install -p -m 0755 hfsck/hfsck /usr/src/tmp/hfsutils-buildroot//usr/bin + ln -sf hfsck /usr/src/tmp/hfsutils-buildroot//usr/bin/fsck.hfs + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/hfsutils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/hfsutils-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/hfsutils-buildroot/ (default) Compressing files in /usr/src/tmp/hfsutils-buildroot (auto) Adjusting library links in /usr/src/tmp/hfsutils-buildroot ./usr/lib64: (from :0) /usr/bin/strip: ./usr/lib64/steYVGcq/data.o: plugin needed to handle lto object process-lto: ERROR: ./usr/lib64/librsrc.a: contains __gnu_lto_slim only. 061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged 061-brp-strip-lto.brp: since its format can change between GCC versions. 061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g. 061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} 061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries 061-brp-strip-lto.brp: or disable link-time optimization for this package. error: Bad exit status from /usr/src/tmp/rpm-tmp.69559 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69559 (%install) Command exited with non-zero status 1 22.13user 4.95system 0:24.86elapsed 108%CPU (0avgtext+0avgdata 60012maxresident)k 0inputs+0outputs (0major+809261minor)pagefaults 0swaps hsh-rebuild: rebuild of `hfsutils-3.2.6-alt1.src.rpm' failed. Command exited with non-zero status 1 34.20user 11.14system 0:42.87elapsed 105%CPU (0avgtext+0avgdata 102280maxresident)k 37632inputs+0outputs (0major+1091752minor)pagefaults 0swaps