Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcftools.spec'], chrootPath='/var/lib/mock/f30-build-37733-21737/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/xcftools.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 Wrote: /builddir/build/SRPMS/xcftools-1.0.7-19.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcftools.spec'], chrootPath='/var/lib/mock/f30-build-37733-21737/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcftools.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LcyB86 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xcftools-1.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/xcftools-1.0.7.tar.gz + /usr/bin/tar -xof - + 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.TDMD7g + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-koji-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-koji-linux-gnu checking host system type... riscv64-koji-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 BUILDSTDERR: ./configure: line 5373: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory BUILDSTDERR: ./configure: line 5373: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory 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 BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o xcf2png.o -c xcf2png.c /usr/bin/perl mancombine.pl xcf2png.10 > xcf2png.1 /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 xcf2pnm.c xcfinfo.c palette.c pixels.c xcf2png.c utils.c 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 /usr/bin/perl manpo/mantranslate.pl -x options.mi xcfinfo.10 xcf2pnm.10 xcf2png.10 xcfview.10 exit.1i > manpo/manpages.pot.tmp 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: ............. done. touch po/da.po if ! make -q manpo/manpages.pot ; then \ touch manpo/manpages.pot ; touch manpo/da.po ; fi BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. touch manpo/stamp msgfmt -c -opo/da.mo po/da.po BUILDSTDERR: po/da.po:6: warning: header field 'Language' still has the initial default value 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 ; cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld xcfinfo.o io-unix.o enums.o xcf-general.o utils.o nlsini.o -o xcfinfo if ! make -q po/xcftools.pot ; then \ touch po/xcftools.pot ; touch po/*.po ; touch po/*.mo ; fi BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. touch po/stamp cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -Wl,--as-needed -Wl,-z,now -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 BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `fprintf': BUILDSTDERR: /usr/include/bits/stdio2.h:100: undefined reference to `png_write_row' BUILDSTDERR: /usr/bin/ld: /usr/include/bits/stdio2.h:100: undefined reference to `png_create_write_struct' BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `opt_usage': BUILDSTDERR: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.oi:94: undefined reference to `png_create_info_struct' BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `fprintf': BUILDSTDERR: /usr/include/bits/stdio2.h:100: undefined reference to `png_init_io' BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `raw_callback': BUILDSTDERR: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:222: undefined reference to `png_set_IHDR' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:222: undefined reference to `png_set_invert_mono' BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `init_output': BUILDSTDERR: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:80: undefined reference to `png_set_IHDR' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:146: undefined reference to `png_set_tRNS' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:164: undefined reference to `png_set_IHDR' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:142: undefined reference to `png_set_PLTE' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:98: undefined reference to `png_write_info' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:158: undefined reference to `png_set_filler' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:171: undefined reference to `png_set_swap_alpha' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:175: undefined reference to `png_set_filler' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:121: undefined reference to `png_set_tRNS' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:121: undefined reference to `png_set_packing' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:145: undefined reference to `png_set_IHDR' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/xcf2png.c:168: undefined reference to `png_set_IHDR' BUILDSTDERR: /usr/bin/ld: xcf2png.o: in function `main': BUILDSTDERR: /builddir/build/BUILD/xcftools-1.0.7/options.i:131: undefined reference to `png_write_end' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/xcftools-1.0.7/options.i:132: undefined reference to `png_destroy_write_struct' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:82: xcf2png] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.TDMD7g (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.TDMD7g (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcftools.spec