+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/jp2a.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.c0CNEP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jp2a-1.0.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/jp2a-1.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jp2a-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:12: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xJ68DT + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.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-jpeg-prefix=/usr 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 whether make supports nested variables... 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for jpeg_start_decompress in -ljpeg... yes checking enable-curl... yes checking for curl-config... /usr/bin/curl-config checking curl-config --cflags... checking curl-config --libs... -lcurl checking for curl_easy_init in -lcurl... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking curses.h usability... no checking curses.h presence... no checking for curses.h... no checking term.h usability... no checking term.h presence... no checking for term.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lterminfo... no configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking for memset... yes checking for atexit... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for pid_t... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o aspect_ratio.o aspect_ratio.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o html.o html.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o term.o term.c term.c: In function 'get_termsize': term.c:51:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ term.c:50:7: warning: unused variable 'term_buffer' [-Wunused-variable] char term_buffer[2048]; ^~~~~~~~~~~ term.c:49:8: warning: unused variable 'termtype' [-Wunused-variable] char *termtype = getenv("TERM"); ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o curl.o curl.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o jp2a.o jp2a.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o options.o options.c make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/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 -c -o image.o image.c image.c:65:13: warning: 'image_resize_nearest_neighbour' defined but not used [-Wunused-function] static void image_resize_nearest_neighbour(const image_t* source, image_t* dest) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' 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 -L/usr/lib -o jp2a aspect_ratio.o html.o term.o curl.o jp2a.o options.o image.o -ljpeg -lcurl make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gKxPSU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64 + cd jp2a-1.0.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/bin' /usr/bin/install -p jp2a '/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7/src' make[1]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Entering directory '/builddir/build/BUILD/jp2a-1.0.7' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 man/jp2a.1 '/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' make[1]: Leaving directory '/builddir/build/BUILD/jp2a-1.0.7' + /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: jp2a-1.0.7-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mAjLZv + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + DOCDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr LICENSES /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr AUTHORS /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr BUGS /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr ChangeLog /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr NEWS /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + cp -pr README /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/doc/jp2a + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tBs6IG + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + LICENSEDIR=/builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/licenses/jp2a + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/licenses/jp2a + cp -pr COPYING /builddir/build/BUILDROOT/jp2a-1.0.7-1.fc28.riscv64/usr/share/licenses/jp2a + exit 0 Provides: jp2a = 1.0.7-1.fc28 jp2a(riscv-64) = 1.0.7-1.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) libcurl.so.4()(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/jp2a-1.0.7-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/jp2a-1.0.7-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/jp2a-1.0.7-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e7PXgm + umask 022 + cd /builddir/build/BUILD + cd jp2a-1.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jp2a-1.0.7-1.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