-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Werror=format-security -c -o pdftexdir/libpdftex_a-writepng.o `test -f 'pdftexdir/writepng.c' || echo '../../../texk/web2c/'`pdftexdir/writepng.c ../../../texk/web2c/pdftexdir/writepng.c: In function 'read_png_info': ../../../texk/web2c/pdftexdir/writepng.c:75:9: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 74 | if (fixedpdfmajorversion > 1 || fixedpdfminorversion >= 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | && (png_get_color_type(png_ptr(img), png_info(img)) == PNG_COLOR_TYPE_GRAY_ALPHA | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | || png_get_color_type(png_ptr(img), png_info(img)) == PNG_COLOR_TYPE_RGB_ALPHA)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../texk/web2c/pdftexdir/writepng.c: In function 'copy_png': ../../../texk/web2c/pdftexdir/writepng.c:464:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 464 | fread(&pdfbuf[pdfptr], 1, i, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[5]: Leaving directory '/builddir/build/BUILD/texlive-base-20200327/source/work/texk/web2c' make[5]: Entering directory '/builddir/build/BUILD/texlive-base-20200327/source/work/texk/web2c' gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/builddir/build/BUILD/texlive-base-20200327/source/work/texk -I/builddir/build/BUILD/texlive-base-20200327/source/texk -I/usr/include/libpng16 -DPOPPLER_VERSION=\"0.90.0\" -I/usr/include/poppler -I../../../texk/web2c/libmd5 -I../../../texk/web2c/pdftexdir -Wall -Wunused -Wimplicit -Wreturn-type -Wmissing-prototypes -Wmissing-declarations -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -O2 -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 -fno-strict-aliasing -Werror=format-security -c -o pdftexdir/libpdftex_a-writet1.o `test -f 'pdftexdir/writet1.c' || echo '../../../texk/web2c/'`pdftexdir/writet1.c make[5]: Leaving directory '/builddir/build/BUILD/texlive-base-20200327/source/work/texk/web2c' make[4]: *** [Makefile:16966: all-recursive] Error 1 make[3]: *** [Makefile:5089: all] Error 2 make[2]: *** [Makefile:909: recurse] Error 1 make[1]: *** [Makefile:486: all-recursive] Error 1 make: *** [Makefile:577: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.ZFtuYt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ZFtuYt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 7c1e1801199a475088f4716004ce4f50 -D /var/lib/mock/f33-build-342475-58724/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.37stoir9:/etc/resolv.conf --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/texlive-base.spec