+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/jpeginfo.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.mn7RWS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jpeginfo-1.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jpeginfo-1.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jpeginfo-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm getopt.c getopt.h getopt1.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qlcHj2 + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + 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 ./aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./aux/config.sub ++ basename ./aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./aux/config.guess ++ basename ./aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './aux/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 creating cache ./config.cache checking host system type... riscv64-redhat-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for jpeg_read_header in -ljpeg... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for unistd.h... yes checking for getopt.h... yes checking for string.h... yes checking for jpeglib.h... yes checking size of long... 8 checking size of int... 4 checking for getopt_long... yes checking for broken jmorecfg.h (METHODDEF)... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h + make -j4 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_CONFIG_H -c -o jpeginfo.o jpeginfo.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_CONFIG_H -c -o misc.o misc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_CONFIG_H -c -o md5.o md5.c md5.c: In function 'MD5Final': md5.c:170:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ jpeginfo.c: In function 'main': jpeginfo.c:287:20: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update(MD5,md5buf,fs); ^~~~~~ In file included from jpeginfo.c:25:0: md5.h:33:6: note: expected 'const unsigned char *' but argument is of type 'char *' void MD5Update PROTO((struct MD5Context *context, unsigned char const *buf, unsigned len)); ^~~~~~~~~ jpeginfo.c:288:15: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final(digest,MD5); ^~~~~~ In file included from jpeginfo.c:25:0: md5.h:34:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5Final PROTO((unsigned char digest[16], struct MD5Context *context)); ^~~~~~~~ jpeginfo.c:289:13: warning: pointer targets in passing argument 1 of 'md2str' differ in signedness [-Wpointer-sign] md2str(digest,digest_text); ^~~~~~ In file included from jpeginfo.c:26:0: jpeginfo.h:18:7: note: expected 'unsigned char *' but argument is of type 'char *' char *md2str(unsigned char *digest, char *s); ^~~~~~ jpeginfo.c:160:23: warning: variable 'err_count' set but not used [-Wunused-but-set-variable] int c,j,lines_read, err_count; ^~~~~~~~~ jpeginfo.c:160:11: warning: variable 'lines_read' set but not used [-Wunused-but-set-variable] int c,j,lines_read, err_count; ^~~~~~~~~~ jpeginfo.c:283:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(md5buf,1,fs,infile); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -DHAVE_CONFIG_H -o jpeginfo jpeginfo.o misc.o md5.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ljpeg + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.M60qgF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 + cd jpeginfo-1.6.1 + install -Dpm 0755 jpeginfo /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64//usr/bin/jpeginfo + install -Dpm 0644 jpeginfo.1 /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64//usr/share/man/man1/jpeginfo.1 + /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: jpeginfo-1.6.1-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LpaKw0 + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + DOCDIR=/builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64/usr/share/doc/jpeginfo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64/usr/share/doc/jpeginfo + cp -pr README /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64/usr/share/doc/jpeginfo + cp -pr COPYRIGHT /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64/usr/share/doc/jpeginfo + cp -pr COPYING /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64/usr/share/doc/jpeginfo + exit 0 Provides: bundled(md5-plumb) jpeginfo = 1.6.1-8.fc28 jpeginfo(riscv-64) = 1.6.1-8.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) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/jpeginfo-1.6.1-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/jpeginfo-1.6.1-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xA1W9M + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jpeginfo-1.6.1-8.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff