Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jpeginfo.spec'], chrootPath='/var/lib/mock/f33-build-302540-56984/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/jpeginfo.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/jpeginfo-1.6.1-15.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jpeginfo.spec'], chrootPath='/var/lib/mock/f33-build-302540-56984/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jpeginfo.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7Wzfmp + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jdGxas + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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,-D_FORTIFY_SOURCE=2 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 + mv ./configure.backup ./configure + /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 + mv ./configure.backup ./configure + '[' 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-Wl,-z,now -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -DHAVE_CONFIG_H -c -o jpeginfo.o jpeginfo.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -DHAVE_CONFIG_H -c -o misc.o misc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -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] 170 | 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] 287 | MD5Update(MD5,md5buf,fs); | ^~~~~~ | | | char * In file included from jpeginfo.c:25: md5.h:33:72: note: expected 'const unsigned char *' but argument is of type 'char *' 33 | void MD5Update PROTO((struct MD5Context *context, unsigned char const *buf, unsigned len)); | ~~~~~~~~~~~~~~~~~~~~~^~~ md5.h:18:21: note: in definition of macro 'PROTO' 18 | #define PROTO(ARGS) ARGS | ^~~~ jpeginfo.c:288:15: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] 288 | MD5Final(digest,MD5); | ^~~~~~ | | | char * In file included from jpeginfo.c:25: md5.h:34:36: note: expected 'unsigned char *' but argument is of type 'char *' 34 | void MD5Final PROTO((unsigned char digest[16], struct MD5Context *context)); | ~~~~~~~~~~~~~~^~~~~~~~~~ md5.h:18:21: note: in definition of macro 'PROTO' 18 | #define PROTO(ARGS) ARGS | ^~~~ jpeginfo.c:289:13: warning: pointer targets in passing argument 1 of 'md2str' differ in signedness [-Wpointer-sign] 289 | md2str(digest,digest_text); | ^~~~~~ | | | char * In file included from jpeginfo.c:26: jpeginfo.h:18:29: note: expected 'unsigned char *' but argument is of type 'char *' 18 | char *md2str(unsigned char *digest, char *s); | ~~~~~~~~~~~~~~~^~~~~~ jpeginfo.c:160:23: warning: variable 'err_count' set but not used [-Wunused-but-set-variable] 160 | int c,j,lines_read, err_count; | ^~~~~~~~~ jpeginfo.c:160:11: warning: variable 'lines_read' set but not used [-Wunused-but-set-variable] 160 | 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] 283 | fread(md5buf,1,fs,infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -DHAVE_CONFIG_H -o jpeginfo jpeginfo.o misc.o md5.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -ljpeg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.di0cct + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 + cd jpeginfo-1.6.1 + install -Dpm 0755 jpeginfo /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64//usr/bin/jpeginfo + install -Dpm 0644 jpeginfo.1 /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64//usr/share/man/man1/jpeginfo.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.6.1-15.fc33 --unique-debug-suffix -1.6.1-15.fc33.riscv64 --unique-debug-src-base jpeginfo-1.6.1-15.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/jpeginfo-1.6.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/bin/jpeginfo extracting debug info from /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/bin/jpeginfo original debug info size: 148kB, size after compression: 152kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 42 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: jpeginfo-1.6.1-15.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Nsdwdt + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + DOCDIR=/builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.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-15.fc33.riscv64/usr/share/doc/jpeginfo + cp -pr README /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/share/doc/jpeginfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HfjxYr + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/share/licenses/jpeginfo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/share/licenses/jpeginfo + cp -pr COPYRIGHT /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/share/licenses/jpeginfo + cp -pr COPYING /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64/usr/share/licenses/jpeginfo + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(md5-plumb) jpeginfo = 1.6.1-15.fc33 jpeginfo(riscv-64) = 1.6.1-15.fc33 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) Processing files: jpeginfo-debugsource-1.6.1-15.fc33.riscv64 Provides: jpeginfo-debugsource = 1.6.1-15.fc33 jpeginfo-debugsource(riscv-64) = 1.6.1-15.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jpeginfo-debuginfo-1.6.1-15.fc33.riscv64 Provides: debuginfo(build-id) = b14f78222ff8f7820ef98c96d7d81d06ae67d153 jpeginfo-debuginfo = 1.6.1-15.fc33 jpeginfo-debuginfo(riscv-64) = 1.6.1-15.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jpeginfo-debugsource(riscv-64) = 1.6.1-15.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 Wrote: /builddir/build/RPMS/jpeginfo-debugsource-1.6.1-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/jpeginfo-1.6.1-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/jpeginfo-debuginfo-1.6.1-15.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YTFm4r + umask 022 + cd /builddir/build/BUILD + cd jpeginfo-1.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jpeginfo-1.6.1-15.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0