+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xcftools.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.x9I979 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcftools-1.0.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/xcftools-1.0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xcftools-1.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (replace_png_null_macros.patch):' Patch #1 (replace_png_null_macros.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file xcf2png.c + echo 'Patch #2 (fix_sed_replacement_error.patch):' Patch #2 (fix_sed_replacement_error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .orig --fuzz=0 patching file Makefile.in + echo 'Patch #3 (xcftools-aarch64.patch):' Patch #3 (xcftools-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + sed -i -e /strip=/d Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.msDGRj + umask 022 + cd /builddir/build/BUILD + cd xcftools-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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c 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 ISO C89... none needed checking for inline... inline 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 whether byte ordering is bigendian... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for inttypes.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for getopt_long... yes checking for strcasecmp... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether make sets $(MAKE)... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing po-directories commands configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 /usr/bin/perl mkenumsh.pl gimp/base-enums.h gimp/gimpbaseenums.h gimp/xcf-private.h > enums.h /usr/bin/perl mkopti.pl xcfinfo echo >nlsini.c "#include \"xcftools.h\"" /usr/bin/perl mkopti.pl xcf2pnm echo >>nlsini.c "#ifndef nls_init" echo >>nlsini.c "void nls_init(void) {" echo >>nlsini.c " bindtextdomain(\"xcftools\",\"/usr/share/locale\");" echo >>nlsini.c " textdomain(\"xcftools\"); }" echo >>nlsini.c "#endif" /usr/bin/perl mktablec.pl > table.c /usr/bin/perl mkopti.pl xcf2png cc -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 -o palette.o -c palette.c sed '1s,/usr/bin/perl,/usr/bin/perl,' < xcfview.in > xcfview /usr/bin/perl mancombine.pl xcfinfo.10 > xcfinfo.1 /usr/bin/perl mancombine.pl xcf2pnm.10 > xcf2pnm.1 /usr/bin/perl mancombine.pl xcf2png.10 > xcf2png.1 /usr/bin/perl mkopti.pl xcfview /usr/bin/perl manpo/optipot.pl > options.mi cc -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 -o xcfinfo.o -c xcfinfo.c cc -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 -o io-unix.o -c io-unix.c /usr/bin/perl mkenumsc.pl enums.h > enums.c cc -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 -o xcf-general.o -c xcf-general.c cc -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 -o utils.o -c utils.c cc -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 -o nlsini.o -c nlsini.c cc -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 -o xcf2pnm.o -c xcf2pnm.c cc -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 -o pixels.o -c pixels.c cc -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 -o flatten.o -c flatten.c cc -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 -o flatspec.o -c flatspec.c cc -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 -o scaletab.o -c scaletab.c cc -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 -o table.o -c table.c cc -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 -o xcf2png.o -c xcf2png.c /usr/bin/perl mancombine.pl xcfview.10 > xcfview.1 xgettext -o po/xcftools.pot.tmp -C -k_ -kN_ \ --foreign-user --msgid-bugs-address=henning@makholm.net \ --flag=FatalGeneric:2:c-format \ --flag=FatalUnexpected:1:c-format \ --flag=FatalBadXCF:1:c-format \ --flag=FatalUnsupportedXCF:1:c-format \ xcfinfo.oi xcf2pnm.oi xcf2png.oi xcfview.oi options.i enums.c flatten.c flatspec.c io-unix.c scaletab.c xcf-general.c xcfinfo.c palette.c pixels.c xcf2pnm.c xcf2png.c utils.c /usr/bin/perl manpo/mantranslate.pl -x options.mi xcfinfo.10 xcf2pnm.10 xcf2png.10 xcfview.10 exit.1i > manpo/manpages.pot.tmp if diff po/xcftools.pot po/xcftools.pot.tmp | \ grep -v '^\([^<>]\|. \?"POT-Creation-Date:\)' > /dev/null; \ then mv -f po/xcftools.pot.tmp po/xcftools.pot ; \ else echo OK, po/xcftools.pot is unchanged ; rm po/xcftools.pot.tmp ; fi cc -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 -o enums.o -c enums.c if diff manpo/manpages.pot manpo/manpages.pot.tmp | \ grep -v '^\([^<>]\|. \?"POT-Creation-Date:\)' > /dev/null; \ then mv -f manpo/manpages.pot.tmp manpo/manpages.pot ; \ else echo OK, manpo/manpages.pot is unchanged ; rm manpo/manpages.pot.tmp ; fi OK, manpo/manpages.pot is unchanged test -f po/da.po msgmerge -U po/da.po po/xcftools.pot ................ done. touch po/da.po if ! make -q manpo/manpages.pot ; then \ touch manpo/manpages.pot ; touch manpo/da.po ; fi msgfmt -c -opo/da.mo po/da.po make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. po/da.po:6: warning: header field 'Language' still has the initial default value if ! make -q po/xcftools.pot ; then \ touch po/xcftools.pot ; touch po/*.po ; touch po/*.mo ; fi touch manpo/stamp for L in da ; do \ for P in xcfinfo xcf2pnm xcf2png xcfview ; do \ /usr/bin/perl manpo/mantranslate.pl manpo/$L.po $P.1 \ > manpo/$P.$L.1 || exit 1; done ; done ; make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. touch po/stamp cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld xcfinfo.o io-unix.o enums.o xcf-general.o utils.o nlsini.o -o xcfinfo cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld xcf2pnm.o io-unix.o enums.o xcf-general.o utils.o nlsini.o pixels.o flatten.o flatspec.o scaletab.o table.o -o xcf2pnm touch manpo/all cc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpng xcf2png.o io-unix.o enums.o xcf-general.o utils.o nlsini.o pixels.o flatten.o flatspec.o scaletab.o table.o palette.o -o xcf2png + cd manpo + for file in xcf2png.da.1 xcf2pnm.da.1 xcfinfo.da.1 xcfview.da.1 + iconv -f ISO-8859-1 -t UTF-8 -o xcf2png.da.1.new xcf2png.da.1 + touch -r xcf2png.da.1 xcf2png.da.1.new + mv xcf2png.da.1.new xcf2png.da.1 + for file in xcf2png.da.1 xcf2pnm.da.1 xcfinfo.da.1 xcfview.da.1 + iconv -f ISO-8859-1 -t UTF-8 -o xcf2pnm.da.1.new xcf2pnm.da.1 + touch -r xcf2pnm.da.1 xcf2pnm.da.1.new + mv xcf2pnm.da.1.new xcf2pnm.da.1 + for file in xcf2png.da.1 xcf2pnm.da.1 xcfinfo.da.1 xcfview.da.1 + iconv -f ISO-8859-1 -t UTF-8 -o xcfinfo.da.1.new xcfinfo.da.1 + touch -r xcfinfo.da.1 xcfinfo.da.1.new + mv xcfinfo.da.1.new xcfinfo.da.1 + for file in xcf2png.da.1 xcf2pnm.da.1 xcfinfo.da.1 xcfview.da.1 + iconv -f ISO-8859-1 -t UTF-8 -o xcfview.da.1.new xcfview.da.1 + touch -r xcfview.da.1 xcfview.da.1.new + mv xcfview.da.1.new xcfview.da.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eNeKyX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 + cd xcftools-1.0.7 + mkdir -p /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/man/man1/ + make install DESTDIR=/builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 'INSTALL=install -p' for p in xcfinfo xcf2pnm xcf2png xcfview ; do \ install -p $p \ /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/bin/$p \ || exit 1 ;\ done for m in xcfinfo.1 xcf2pnm.1 xcf2png.1 xcfview.1 ; do \ install -p -m 644 $m \ /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/man/man1/$m \ || exit 1 ; \ done for lang in da ; do \ ./install-sh -d /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/locale/$lang/LC_MESSAGES ; \ install -p -m 644 po/$lang.mo \ /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/locale/$lang/LC_MESSAGES/xcftools.mo \ || exit 1 ; \ done for L in da ; do \ ./install-sh -d /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/man/$L/man1 || exit 1 ; \ for P in xcfinfo xcf2pnm xcf2png xcfview ; do \ install -p -m 644 manpo/$P.$L.1 /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/man/$L/man1/$P.1 \ || exit 1; done ; done ; + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 xcftools + /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 mangling shebang in ./usr/bin/xcfview from #! /usr/bin/perl to #!/usr/bin/perl Processing files: xcftools-1.0.7-17.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4MVz1p + umask 022 + cd /builddir/build/BUILD + cd xcftools-1.0.7 + DOCDIR=/builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/doc/xcftools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/doc/xcftools + cp -pr README /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64/usr/share/doc/xcftools + exit 0 Provides: xcftools = 1.0.7-17.fc28 xcftools(riscv-64) = 1.0.7-17.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) perl(strict) perl(warnings) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xcftools-1.0.7-17.fc28.riscv64 Wrote: /builddir/build/SRPMS/xcftools-1.0.7-17.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xcftools-1.0.7-17.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kk9ZnL + umask 022 + cd /builddir/build/BUILD + cd xcftools-1.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xcftools-1.0.7-17.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