Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'], chrootPath='/var/lib/mock/f38-build-695948-85945/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/libtrash-3.7-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'], chrootPath='/var/lib/mock/f38-build-695948-85945/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtrash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QGNtFu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtrash-3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libtrash-3.7.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd libtrash-3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtrash-3.2-defaults.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libtrash-3.3-license.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + mkdir -p m4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vtcq3Y + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libtrash-3.7 + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:71: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:71: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:71: the top level configure.ac:125: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:125: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:125: the top level configure.ac:11: installing './ar-lib' configure.ac:11: installing './compile' configure.ac:17: installing './config.guess' configure.ac:17: installing './config.sub' configure.ac:10: installing './install-sh' configure.ac:10: installing './missing' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-16 09:41:10.291340841 -0400 +++ ./configure 2023-03-16 09:41:16.951341081 -0400 @@ -1703,7 +1703,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-03-16 09:41:16.951341081 -0400 +++ ./configure 2023-03-16 09:41:17.101341086 -0400 @@ -7055,7 +7055,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -15669,7 +15669,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7061: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether ln -s works... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for dlvsym in -ldl... yes checking for ctype.h... yes checking for dlfcn.h... (cached) yes checking for errno.h... yes checking for fcntl.h... yes checking for pwd.h... yes checking for regex.h... yes checking for sys/stat.h... (cached) yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for inline... inline checking for mode_t... yes checking for size_t... yes checking how to run the C preprocessor... gcc -E checking for uid_t in sys/types.h... yes checking for working alloca.h... yes checking for alloca... yes checking whether lstat correctly handles trailing slash... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for mkdir... yes checking for regcomp... yes checking for rmdir... yes checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for creat... yes checking for creat64... yes checking for fopen... yes checking for fopen64... yes checking for freopen... yes checking for freopen64... yes checking for open... yes checking for open64... yes checking for rename... yes checking for unlink... yes configure: Checking AT Functions checking for openat... yes checking for openat64... yes checking for renameat... yes checking for unlinkat... yes configure: Getting GLIBC Versions for libtrash functions Linking Test Program: Success configure: Assigning GLIBC Versions to libtrash functions checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands System defaults =============== PERSONAL_CONF_FILE ".libtrash" WARNING_STRING "Remember that libtrash is disabled." INTERCEPT_UNLINK YES INTERCEPT_RENAME YES INTERCEPT_FOPEN YES INTERCEPT_FREOPEN YES INTERCEPT_OPEN YES TRASH_CAN "Trash" IN_CASE_OF_FAILURE PROTECT SHOULD_WARN NO PROTECT_TRASH YES IGNORE_EXTENSIONS "o;log;aux" IGNORE_HIDDEN YES IGNORE_EDITOR_BACKUP YES IGNORE_EDITOR_TEMPORARY YES LIBTRASH_CONFIG_FILE_UNREMOVABLE YES GLOBAL_PROTECTION YES TRASH_SYSTEM_ROOT "SYSTEM_ROOT" UNREMOVABLE_DIRS "/bin;/boot;/dev;/etc;/lib;/lib64;/opt;/sbin;/usr" TEMPORARY_DIRS "/run;/tmp;/var" REMOVABLE_MEDIA_MOUNT_POINTS "/cdrom;/media;/mnt/run" EXCEPTIONS "/etc/mtab;/etc/resolv.conf;/etc/adjtime;/etc/upsstatus;/etc/dhcpc" USER_TEMPORARY_DIRS "" IGNORE_RE "" Library Functions and GLIBC Versions ==================================== CREAT_VERSION "GLIBC_2.27" CREAT64_VERSION "GLIBC_2.27" FOPEN_VERSION "GLIBC_2.27" FOPEN64_VERSION "GLIBC_2.27" FREOPEN_VERSION "GLIBC_2.27" FREOPEN64_VERSION "GLIBC_2.27" FOPEN_VERSION "GLIBC_2.27" FOPEN64_VERSION "GLIBC_2.27" RENAME_VERSION "GLIBC_2.27" UNLINK_VERSION "GLIBC_2.27" OPENAT_VERSION "GLIBC_2.27" OPENAT64_VERSION "GLIBC_2.27" RENAMEAT_VERSION "GLIBC_2.27" UNLINKAT_VERSION "GLIBC_2.27" ===== See directories cleanTrash and strash-0.9 for additional utilities that are not installed. + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o rename.lo rename.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c rename.c -fPIC -DPIC -o .libs/rename.o make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o main.lo main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c main.c -fPIC -DPIC -o .libs/main.o make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o unlink.lo unlink.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c unlink.c -fPIC -DPIC -o .libs/unlink.o make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' unlink.c: In function 'unlink': unlink.c:78:55: warning: 'nonnull' argument 'pathname' compared to NULL [-Wnonnull-compare] 78 | if (cfg.libtrash_off || !cfg.intercept_unlink || pathname == NULL) | ^ make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o open-funs.lo open-funs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c open-funs.c -fPIC -DPIC -o .libs/open-funs.o make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' open-funs.c: In function 'do_fopen_or_freopen_or_open': open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:547:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 547 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:547:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 547 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:547:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 547 | RETURN_REAL_FUNCTION(); /* we don't need to call libtrash_fini() here. */ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:561:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 561 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:561:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 561 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:561:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 561 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:571:17: note: in expansion of macro 'DO_HANDLE_ERROR' 571 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:571:17: note: in expansion of macro 'DO_HANDLE_ERROR' 571 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:571:17: note: in expansion of macro 'DO_HANDLE_ERROR' 571 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:417:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 417 | RETURN_REAL_FUNCTION(); \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:583:9: note: in expansion of macro 'TEST_FILE_EXISTENCE' 583 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ | ^~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:417:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 417 | RETURN_REAL_FUNCTION(); \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:583:9: note: in expansion of macro 'TEST_FILE_EXISTENCE' 583 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ | ^~~~~~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:417:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 417 | RETURN_REAL_FUNCTION(); \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:583:9: note: in expansion of macro 'TEST_FILE_EXISTENCE' 583 | TEST_FILE_EXISTENCE(); /* Invokes libtrash_fini() by itself if it decides to return. */ | ^~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:604:17: note: in expansion of macro 'DO_HANDLE_ERROR' 604 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:604:17: note: in expansion of macro 'DO_HANDLE_ERROR' 604 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:604:17: note: in expansion of macro 'DO_HANDLE_ERROR' 604 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:626:25: note: in expansion of macro 'RETURN_REAL_FUNCTION' 626 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:626:25: note: in expansion of macro 'RETURN_REAL_FUNCTION' 626 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:626:25: note: in expansion of macro 'RETURN_REAL_FUNCTION' 626 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:656:33: note: in expansion of macro 'DO_HANDLE_ERROR' 656 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:656:33: note: in expansion of macro 'DO_HANDLE_ERROR' 656 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:373:17: note: in expansion of macro 'RETURN_REAL_FUNCTION' 373 | RETURN_REAL_FUNCTION() \ | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:656:33: note: in expansion of macro 'DO_HANDLE_ERROR' 656 | DO_HANDLE_ERROR(); | ^~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:348:29: note: in expansion of macro 'REAL_FUNCTION' 348 | retval.fp = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:667:33: note: in expansion of macro 'RETURN_REAL_FUNCTION' 667 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:331:80: warning: pointer/integer type mismatch in conditional expression 331 | (function == FREOPEN64 ? (*real_freopen64) (path, mode_str, stream) : \ | ^ open-funs.c:350:29: note: in expansion of macro 'REAL_FUNCTION' 350 | retval.fd = REAL_FUNCTION(); \ | ^~~~~~~~~~~~~ open-funs.c:667:33: note: in expansion of macro 'RETURN_REAL_FUNCTION' 667 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:350:27: warning: assignment to 'int' from 'FILE *' makes integer from pointer without a cast [-Wint-conversion] 350 | retval.fd = REAL_FUNCTION(); \ | ^ open-funs.c:667:33: note: in expansion of macro 'RETURN_REAL_FUNCTION' 667 | RETURN_REAL_FUNCTION(); | ^~~~~~~~~~~~~~~~~~~~ open-funs.c:672:1: warning: control reaches end of non-void function [-Wreturn-type] 672 | } | ^ open-funs.c:335:60: warning: 'mode' may be used uninitialized [-Wmaybe-uninitialized] 335 | ( (flags & O_CREAT || flags & O_TMPFILE) ? (*real_open64) (path, flags, mode) : \ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open-funs.c:493:16: note: 'mode' was declared here 493 | mode_t mode; /* used only by open() */ | ^~~~ make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o helpers.lo helpers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c helpers.c -fPIC -DPIC -o .libs/helpers.o helpers.c: In function 'read_config_from_file': helpers.c:1058:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1058 | conf_file_path = filepath; | ^ helpers.c: In function 'file_is_too_large': helpers.c:2123:47: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 2123 | if (retval == -1 || file_stat.st_size >= preserve_files_larger_than_limit) /* lstat() call failed OR file is too large => we won't remove this file */ | ^~ helpers.c: In function 'make_absolute_path_from_dirfd_relpath': helpers.c:2218:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2218 | return arg_pathname; | ^~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /bin/sh ../libtool --tag=CC --mode=link gcc -nostartfiles -Wall -W -Wmissing-prototypes -D_REENTRANT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -version-number 3:7:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libtrash.la -rpath /usr/lib64 main.lo helpers.lo open-funs.lo rename.lo unlink.lo -ldl libtool: link: gcc -shared -fPIC -DPIC .libs/main.o .libs/helpers.o .libs/open-funs.o .libs/rename.o .libs/unlink.o -ldl -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libtrash.so.3 -o .libs/libtrash.so.3.7.0 libtool: link: (cd ".libs" && rm -f "libtrash.so.3" && ln -s "libtrash.so.3.7.0" "libtrash.so.3") libtool: link: (cd ".libs" && rm -f "libtrash.so" && ln -s "libtrash.so.3.7.0" "libtrash.so") libtool: link: ( cd ".libs" && rm -f "libtrash.la" && ln -s "../libtrash.la" "libtrash.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QC1v2f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libtrash-3.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libtrash.la '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libtrash.so.3.7.0 /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64/libtrash.so.3.7.0 libtool: install: (cd /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64 && { ln -s -f libtrash.so.3.7.0 libtrash.so.3 || { rm -f libtrash.so.3 && ln -s libtrash.so.3.7.0 libtrash.so.3; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64 && { ln -s -f libtrash.so.3.7.0 libtrash.so || { rm -f libtrash.so && ln -s libtrash.so.3.7.0 libtrash.so; }; }) libtool: install: /usr/bin/install -p .libs/libtrash.lai /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64/libtrash.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.7/src' make[1]: Entering directory '/builddir/build/BUILD/libtrash-3.7' make[2]: Entering directory '/builddir/build/BUILD/libtrash-3.7' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/etc' /usr/bin/install -p -m 644 libtrash.conf '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash' /usr/bin/install -p -m 644 AUTHORS BUILD ChangeLog config.txt INSTALL NEWS README.md TODO '/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash' make[2]: Leaving directory '/builddir/build/BUILD/libtrash-3.7' make[1]: Leaving directory '/builddir/build/BUILD/libtrash-3.7' + rm -f /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64/libtrash.la + rm -f /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash/AUTHORS + rm -f /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash/BUILD /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash/INSTALL + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.7-2.fc38 --unique-debug-suffix -3.7-2.fc38.riscv64 --unique-debug-src-base libtrash-3.7-2.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libtrash-3.7 extracting debug info from /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/lib64/libtrash.so.3.7.0 original debug info size: 288kB, size after compression: 284kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 292 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libtrash-3.7-2.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nyB2BV + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.7 + DOCDIR=/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + cp -pr ChangeLog /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + cp -pr config.txt /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + cp -pr NEWS /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + cp -pr README.md /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + cp -pr TODO /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/doc/libtrash + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KOj1AH + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.7 + LICENSEDIR=/builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/licenses/libtrash + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/licenses/libtrash + cp -pr COPYING /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64/usr/share/licenses/libtrash + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(libtrash) = 3.7-2.fc38 libtrash = 3.7-2.fc38 libtrash(riscv-64) = 3.7-2.fc38 libtrash.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: libtrash-devel-3.7-2.fc38.riscv64 Provides: libtrash-devel = 3.7-2.fc38 libtrash-devel(riscv-64) = 3.7-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtrash.so.3()(64bit) Processing files: libtrash-debugsource-3.7-2.fc38.riscv64 Provides: libtrash-debugsource = 3.7-2.fc38 libtrash-debugsource(riscv-64) = 3.7-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtrash-debuginfo-3.7-2.fc38.riscv64 Provides: debuginfo(build-id) = 726dbe85b899271e170af78baf3aa9d249f7d2e5 libtrash-debuginfo = 3.7-2.fc38 libtrash-debuginfo(riscv-64) = 3.7-2.fc38 libtrash.so.3.7.0-3.7-2.fc38.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtrash-debugsource(riscv-64) = 3.7-2.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 Wrote: /builddir/build/RPMS/libtrash-devel-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debuginfo-3.7-2.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/libtrash-debugsource-3.7-2.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8Pr8fm + umask 022 + cd /builddir/build/BUILD + cd libtrash-3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libtrash-3.7-2.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ADcq4u + umask 022 + cd /builddir/build/BUILD + rm -rf libtrash-3.7 libtrash-3.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0