+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mkelfimage.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.Pjt3jZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mkelfImage-2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/mkelfImage-2.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mkelfImage-2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mkelfimage-makefileconf.patch):' Patch #0 (mkelfimage-makefileconf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .makefileconf --fuzz=0 patching file Makefile.conf.in + echo 'Patch #1 (mkelfImage-2.7-ramdisk_base.patch):' Patch #1 (mkelfImage-2.7-ramdisk_base.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ramdisk_base --fuzz=0 patching file linux-i386/convert_params.c patching file linux-i386/mkelf-linux-i386.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2D3Q86 + umask 022 + cd /builddir/build/BUILD + cd mkelfImage-2.7 + 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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu configure: with_default=RISCV64 configure: with_i386=no configure: with_ia64=no checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking for mkdir... mkdir checking for rm... rm checking for cp... cp checking for ln... ln checking for tar... tar checking for rpm... rpm checking for sed... sed checking for find... find checking how to run the C preprocessor... gcc -E checking for egrep... grep -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 zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking how to run the C preprocessor... gcc -E checking for riscv64-redhat-linux-gnu-ld... no checking for ld... ld checking for riscv64-redhat-linux-gnu-as... no checking for as... as checking for riscv64-redhat-linux-gnu-objcopy... no checking for objcopy... objcopy configure: creating ./config.status config.status: creating Makefile.conf + make -j4 mkdir -p objdir/main mkdir -p objdir/linux-i386 mkdir -p objdir/linux-ia64 gcc -O2 -Wall -DVERSION='"2.7"' -DRELEASE_DATE='"27 March 2006"' -I include -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -c main/mkelfImage.c -o objdir/main/mkelfImage.o mkdir -p objdir/man/man8 gcc -O2 -Wall -DVERSION='"2.7"' -DRELEASE_DATE='"27 March 2006"' -I include -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -c -g linux-i386/mkelf-linux-i386.c -o objdir/linux-i386/mkelf-linux-i386.o gcc -O2 -Wall -DVERSION='"2.7"' -DRELEASE_DATE='"27 March 2006"' -I include -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 -c -g linux-ia64/mkelf-linux-ia64.c -o objdir/linux-ia64/mkelf-linux-ia64.o sed \ -e 's,^.TH MKELFIMAGE 8 "RELEASE_DATE" "VERSION"$,.TH MKELFIMAGE 8 "27 March 2006" "2.7",' \ main/mkelfImage.man > objdir/man/man8/mkelfImage.8 cp main/mkelfImage.man objdir/man/man8/mkelfImage.8 linux-i386/mkelf-linux-i386.c: In function 'linux_i386_mkelf': linux-i386/mkelf-linux-i386.c:288:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] payload_buf = payload; ^ linux-i386/mkelf-linux-i386.c:307:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(params->cmdline, cmdline, sizeof(params->cmdline)); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linux-i386/mkelf-linux-i386.c:1: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ linux-ia64/mkelf-linux-ia64.c: In function 'linux_ia64_mkelf': linux-ia64/mkelf-linux-ia64.c:197:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] payload_buf = payload; ^ linux-ia64/mkelf-linux-ia64.c:216:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(params->cmdline, cmdline, sizeof(params->cmdline)); ^~~~~~ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linux-ia64/mkelf-linux-ia64.c:1: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mkdir -p objdir/sbin gcc -O2 -Wall -DVERSION='"2.7"' -DRELEASE_DATE='"27 March 2006"' -I include -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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -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 objdir/main/mkelfImage.o objdir/linux-i386/mkelf-linux-i386.o objdir/linux-ia64/mkelf-linux-ia64.o -o objdir/sbin/mkelfImage + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mAzPXU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 + cd mkelfImage-2.7 + rm -rf /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64//usr/share/mkelfImage/elf32-i386/ /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64//usr/sbin /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64//usr/share/man/man8 cp -ar objdir/sbin/mkelfImage /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64//usr/sbin/ cp -ar objdir/man/man8/mkelfImage.8 /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64//usr/share/man/man8/ + /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 Processing files: mkelfimage-2.7-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jQIDYw + umask 022 + cd /builddir/build/BUILD + cd mkelfImage-2.7 + DOCDIR=/builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64/usr/share/doc/mkelfimage + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64/usr/share/doc/mkelfimage + cp -pr News /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64/usr/share/doc/mkelfimage + cp -pr COPYING /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64/usr/share/doc/mkelfimage + cp -pr AUTHORS /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64/usr/share/doc/mkelfimage + exit 0 Provides: mkelfimage = 2.7-18.fc28 mkelfimage(riscv-64) = 2.7-18.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mkelfimage-2.7-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/mkelfimage-2.7-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mkelfimage-2.7-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PEb1cs + umask 022 + cd /builddir/build/BUILD + cd mkelfImage-2.7 + rm -rf /builddir/build/BUILDROOT/mkelfimage-2.7-18.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