+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libcsv.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aTM3ib + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libcsv-3.0.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/libcsv-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcsv-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-soname-version.patch):' Patch #0 (fix-soname-version.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R6KRjg + umask 022 + cd /builddir/build/BUILD + cd libcsv-3.0.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + 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-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="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r 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-ar... no checking for ar... ar 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... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands + make -j4 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/libcsv-3.0.3/missing --run aclocal-1.11 -I m4 /builddir/build/BUILD/libcsv-3.0.3/missing: line 52: aclocal-1.11: command not found WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/libcsv-3.0.3/missing --run autoconf cd . && /bin/sh /builddir/build/BUILD/libcsv-3.0.3/missing --run automake-1.11 --foreign /builddir/build/BUILD/libcsv-3.0.3/missing: line 52: automake-1.11: command not found /builddir/build/BUILD/libcsv-3.0.3/missing: line 52: autoconf: command not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.ac'. You might want to install the You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld --no-create --no-recursion checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r 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-ar... no checking for ar... ar 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... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 configure: creating ./config.status /bin/sh ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libcsv\" -DPACKAGE_TARNAME=\"libcsv\" -DPACKAGE_VERSION=\"3.0.3\" -DPACKAGE_STRING=\"libcsv\ 3.0.3\" -DPACKAGE_BUGREPORT=\"rgamble@users.sourceforge.net\" -DPACKAGE_URL=\"http://sourceforge.net/projects/libcsv/\" -DPACKAGE=\"libcsv\" -DVERSION=\"3.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libcsv_la-libcsv.lo `test -f 'libcsv.c' || echo './'`libcsv.c libtool: compile: gcc -DPACKAGE_NAME=\"libcsv\" -DPACKAGE_TARNAME=\"libcsv\" -DPACKAGE_VERSION=\"3.0.3\" "-DPACKAGE_STRING=\"libcsv 3.0.3\"" -DPACKAGE_BUGREPORT=\"rgamble@users.sourceforge.net\" -DPACKAGE_URL=\"http://sourceforge.net/projects/libcsv/\" -DPACKAGE=\"libcsv\" -DVERSION=\"3.0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c libcsv.c -fPIC -DPIC -o .libs/libcsv_la-libcsv.o libcsv.c: In function 'csv_fini': libcsv.c:163:7: warning: variable 'pstate' set but not used [-Wunused-but-set-variable] int pstate = p->pstate; ^~~~~~ /bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -version-info 3:3:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcsv.la -rpath /usr/lib64 libcsv_la-libcsv.lo libtool: link: gcc -shared .libs/libcsv_la-libcsv.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libcsv.so.3 -o .libs/libcsv.so.3.0.3 libtool: link: (cd ".libs" && rm -f "libcsv.so.3" && ln -s "libcsv.so.3.0.3" "libcsv.so.3") libtool: link: (cd ".libs" && rm -f "libcsv.so" && ln -s "libcsv.so.3.0.3" "libcsv.so") libtool: link: ( cd ".libs" && rm -f "libcsv.la" && ln -s "../libcsv.la" "libcsv.la" ) + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6pYoHa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 + cd libcsv-3.0.3 + make install DESTDIR=/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/libcsv-3.0.3' test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64" /bin/sh ./libtool --mode=install /usr/bin/install -c libcsv.la '/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libcsv.so.3.0.3 /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64/libcsv.so.3.0.3 libtool: install: (cd /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64 && { ln -s -f libcsv.so.3.0.3 libcsv.so.3 || { rm -f libcsv.so.3 && ln -s libcsv.so.3.0.3 libcsv.so.3; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64 && { ln -s -f libcsv.so.3.0.3 libcsv.so || { rm -f libcsv.so && ln -s libcsv.so.3.0.3 libcsv.so; }; }) libtool: install: /usr/bin/install -c .libs/libcsv.lai /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/lib64/libcsv.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/share/man/man3" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/man/man3" /usr/bin/install -c -m 644 csv.3 '/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/man/man3' test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/include" /usr/bin/install -c -m 644 csv.h '/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/include/.' make[1]: Leaving directory '/builddir/build/BUILD/libcsv-3.0.3' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libcsv.la is executable but has empty or no shebang, removing executable bit Processing files: libcsv-3.0.3-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KEutIA + umask 022 + cd /builddir/build/BUILD + cd libcsv-3.0.3 + DOCDIR=/builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/doc/libcsv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/doc/libcsv + cp -pr ChangeLog /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/doc/libcsv + cp -pr FAQ /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/doc/libcsv + cp -pr COPYING.LESSER /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64/usr/share/doc/libcsv + exit 0 Provides: libcsv = 3.0.3-8.fc28 libcsv(riscv-64) = 3.0.3-8.fc28 libcsv.so.3()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: libcsv-devel-3.0.3-8.fc28.riscv64 Provides: libcsv-devel = 3.0.3-8.fc28 libcsv-devel(riscv-64) = 3.0.3-8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libcsv.so.3()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/libcsv-3.0.3-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libcsv-3.0.3-8.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libcsv-devel-3.0.3-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2FS7qj + umask 022 + cd /builddir/build/BUILD + cd libcsv-3.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libcsv-3.0.3-8.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff