+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/libimagequant.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.8Kh3If
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libimagequant-2.11.7
+ /usr/bin/gzip -dc /builddir/build/SOURCES/libimagequant-2.11.7.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libimagequant-2.11.7
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.j5qSAf
+ umask 022
+ cd /builddir/build/BUILD
+ cd libimagequant-2.11.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
+ '[' 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 --with-openmp
warning: unknown switch '--build' (see ./configure --help for the list)
warning: unknown switch '--host' (see ./configure --help for the list)
warning: unknown switch '--program-prefix' (see ./configure --help for the list)
warning: unknown switch '--disable-dependency-tracking' (see ./configure --help for the list)
warning: unknown switch '--exec-prefix' (see ./configure --help for the list)
warning: unknown switch '--bindir' (see ./configure --help for the list)
warning: unknown switch '--sbindir' (see ./configure --help for the list)
warning: unknown switch '--sysconfdir' (see ./configure --help for the list)
warning: unknown switch '--datadir' (see ./configure --help for the list)
warning: unknown switch '--includedir' (see ./configure --help for the list)
warning: unknown switch '--libdir' (see ./configure --help for the list)
warning: unknown switch '--libexecdir' (see ./configure --help for the list)
warning: unknown switch '--localstatedir' (see ./configure --help for the list)
warning: unknown switch '--sharedstatedir' (see ./configure --help for the list)
warning: unknown switch '--mandir' (see ./configure --help for the list)
warning: unknown switch '--infodir' (see ./configure --help for the list)

  Compiler: gcc
     Debug: no
       SSE: no
    OpenMP: yes

+ /usr/bin/make -O -j4 shared
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c mempool.c -o mempool.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c blur.c -o blur.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c kmeans.c -o kmeans.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c pam.c -o pam.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c nearest.c -o nearest.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c mediancut.c -o mediancut.lo
gcc -fPIC -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  -std=c99 -I. -O3 -DNDEBUG -DUSE_SSE=0 -fopenmp -fexcess-precision=fast -c libimagequant.c -o libimagequant.lo
gcc -shared -Wl,-soname,libimagequant.so.0 -o libimagequant.so.0 pam.lo mediancut.lo blur.lo mempool.lo kmeans.lo nearest.lo libimagequant.lo -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fopenmp -lm
ln -fs libimagequant.so.0 libimagequant.so
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JmhBZl
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64
+ cd libimagequant-2.11.7
+ install -Dpm 0755 libimagequant.so.0 /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/lib64/libimagequant.so.0
+ ln -s libimagequant.so.0 /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/lib64/libimagequant.so
+ install -Dpm 0644 libimagequant.h /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/include/libimagequant.h
+ /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: libimagequant-2.11.7-1.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.juGqrz
+ umask 022
+ cd /builddir/build/BUILD
+ cd libimagequant-2.11.7
+ DOCDIR=/builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/doc/libimagequant
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/doc/libimagequant
+ cp -pr README.md /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/doc/libimagequant
+ cp -pr CHANGELOG /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/doc/libimagequant
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PHDhYc
+ umask 022
+ cd /builddir/build/BUILD
+ cd libimagequant-2.11.7
+ LICENSEDIR=/builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/licenses/libimagequant
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/licenses/libimagequant
+ cp -pr COPYRIGHT /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64/usr/share/licenses/libimagequant
+ exit 0
Provides: libimagequant = 2.11.7-1.fc28 libimagequant(riscv-64) = 2.11.7-1.fc28 libimagequant.so.0()(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: 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_2.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) rtld(GNU_HASH)
Processing files: libimagequant-devel-2.11.7-1.fc28.riscv64
Provides: libimagequant-devel = 2.11.7-1.fc28 libimagequant-devel(riscv-64) = 2.11.7-1.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libimagequant.so.0()(64bit)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libimagequant-2.11.7-1.fc28.riscv64
Wrote: /builddir/build/SRPMS/libimagequant-2.11.7-1.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/libimagequant-2.11.7-1.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/libimagequant-devel-2.11.7-1.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YRjfIw
+ umask 022
+ cd /builddir/build/BUILD
+ cd libimagequant-2.11.7
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/libimagequant-2.11.7-1.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