Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/texlive.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-154302-58285/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/texlive.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': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 28244: %{_texdir}/texmf-dist/doc/latex/minitoc/ Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/texlive-20200406-25.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/texlive.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-154302-58285/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/texlive.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': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 28244: %{_texdir}/texmf-dist/doc/latex/minitoc/ Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tszcSg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf texlive-20200406 + /usr/bin/mkdir -p texlive-20200406 + cd texlive-20200406 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + xz -dc /builddir/build/SOURCES/texlive-20200406-source-clean.tar.xz + tar x + '[' -e texlive-20200406-source ']' + mv texlive-20200406-source source + echo 'Patch #1 (tl-kpfix.patch):' Patch #1 (tl-kpfix.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file source/texk/kpathsea/progname.c Hunk #1 succeeded at 664 (offset -4 lines). Patch #2 (tl-format.patch): + echo 'Patch #2 (tl-format.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format --fuzz=0 patching file source/texk/dvidvi/dvidvi.c Hunk #2 succeeded at 829 (offset 1 line). Hunk #3 succeeded at 840 (offset 1 line). patching file source/texk/web2c/tiedir/tie.c Patch #5 (texlive-2016-kpathsea-texlive-path.patch): + echo 'Patch #5 (texlive-2016-kpathsea-texlive-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file source/texk/kpathsea/texmf.cnf Hunk #1 succeeded at 559 (offset 68 lines). Hunk #2 succeeded at 577 (offset 68 lines). Patch #7 (texlive-20200327-new-poppler.patch): + echo 'Patch #7 (texlive-20200327-new-poppler.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .newpoppler --fuzz=0 patching file source/texk/web2c/pdftexdir/pdftoepdf.cc patching file source/texk/web2c/pdftexdir/pdftosrc.cc Patch #8 (texlive-20200327-texinfo-path-fix.patch): + echo 'Patch #8 (texlive-20200327-texinfo-path-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .texinfo-fix --fuzz=0 patching file source/texk/kpathsea/texmf.cnf Patch #11 (texlive-20200327-disable-more-failing-tests.patch): + echo 'Patch #11 (texlive-20200327-disable-more-failing-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dt --fuzz=0 patching file source/texk/web2c/am/texmf.am patching file source/texk/web2c/eptexdir/am/eptex.am patching file source/texk/web2c/euptexdir/am/euptex.am patching file source/texk/web2c/mfluadir/am/mflua.am patching file source/texk/web2c/mfluajitdir/am/mfluajit.am patching file source/texk/web2c/pdftexdir/am/pdftex.am patching file source/texk/web2c/ptexdir/am/ptex.am patching file source/texk/web2c/uptexdir/am/uptex.am patching file source/texk/web2c/xetexdir/am/xetex.am patching file source/texk/kpathsea/Makefile.am patching file source/texk/kpathsea/Makefile.in Patch #15 (texlive-base-20180414-disable-omegafonts-check-test.patch): + echo 'Patch #15 (texlive-base-20180414-disable-omegafonts-check-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .disabletest --fuzz=0 patching file source/texk/web2c/omegafonts/check.test Patch #17 (texlive-20180414-annocheck.patch): + echo 'Patch #17 (texlive-20180414-annocheck.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .annocheck --fuzz=0 patching file source/libs/luajit/Makefile.in Hunk #1 succeeded at 744 (offset 64 lines). + echo 'Patch #18 (texlive-20190410-poppler-0.73.patch):' Patch #18 (texlive-20190410-poppler-0.73.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .poppler-0.73 --fuzz=0 patching file source/texk/web2c/pdftexdir/pdftoepdf.cc patching file source/texk/web2c/pdftexdir/pdftosrc.cc patching file source/texk/web2c/xetexdir/pdfimage.cpp Patch #19 (texlive-base-20180414-synctex-do-not-throw-no-file-error.patch): + echo 'Patch #19 (texlive-base-20180414-synctex-do-not-throw-no-file-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shh --fuzz=0 patching file source/texk/web2c/synctexdir/synctex_parser.c + echo 'Patch #20 (texlive-20190410-dvisvgm-fix-libgs-detection.patch):' Patch #20 (texlive-20190410-dvisvgm-fix-libgs-detection.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-libgs-detection --fuzz=0 patching file source/texk/dvisvgm/configure.ac Hunk #1 succeeded at 69 (offset 3 lines). patching file source/texk/dvisvgm/configure Hunk #1 succeeded at 22016 (offset 3 lines). Patch #23 (texlive-20200327-poppler-0.84.patch): + echo 'Patch #23 (texlive-20200327-poppler-0.84.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .poppler-0.84 --fuzz=0 patching file source/texk/web2c/pdftexdir/pdftoepdf.cc patching file source/texk/web2c/pdftexdir/pdftosrc.cc patching file source/texk/web2c/pdftexdir/utils.c patching file source/texk/web2c/xetexdir/XeTeX_ext.c Patch #28 (texlive-base-20190410-CVE-2019-19601.patch): + echo 'Patch #28 (texlive-base-20190410-CVE-2019-19601.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2019-19601 --fuzz=0 patching file source/texk/detex/detex-src/detex.l ++ unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz ++ tar t + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/apache2.txt apache2.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/artistic2.txt artistic2.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/bsd.txt bsd.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/collection.txt collection.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/fdl.txt fdl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/gfl.txt gfl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/gfsl.txt gfsl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/gpl2.txt gpl2.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/gpl3.txt gpl3.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/gpl.txt gpl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/knuth.txt knuth.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lgpl2.1.txt lgpl2.1.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lgpl.txt lgpl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl1.1.txt lppl1.1.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl1.2.txt lppl1.2.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl1.3c.txt lppl1.3c.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl1.3.txt lppl1.3.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl1.txt lppl1.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/lppl.txt lppl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/ofl.txt ofl.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/other-free.txt other-free.txt + for l in `unxz -c /builddir/build/SOURCES/texlive-licenses.tar.xz | tar t` + ln -s /usr/share/texlive/licenses/pd.txt pd.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FEZTcJ + umask 022 + cd /builddir/build/BUILD + cd texlive-20200406 + export 'CFLAGS=-O2 -g -fno-strict-aliasing -Werror=format-security' + CFLAGS='-O2 -g -fno-strict-aliasing -Werror=format-security' + export 'CXXFLAGS=-O2 -g -std=c++11 -fno-strict-aliasing -Werror=format-security' + CXXFLAGS='-O2 -g -std=c++11 -fno-strict-aliasing -Werror=format-security' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + cd source ++ pwd + PREF=/builddir/build/BUILD/texlive-20200406/source/inst + mkdir -p work + cd work + CFLAGS='-O2 -g -fno-strict-aliasing -Werror=format-security' + export CFLAGS + CXXFLAGS='-O2 -g -std=c++11 -fno-strict-aliasing -Werror=format-security' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -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 ../utils/asymptote/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../utils/asymptote/config.sub ++ basename ../utils/asymptote/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../utils/asymptote/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../utils/asymptote/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../utils/asymptote/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../utils/asymptote/config.guess ++ basename ../utils/asymptote/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../utils/asymptote/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../utils/asymptote/config.guess' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../libs/icu/icu-src/source/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../libs/icu/icu-src/source/config.sub ++ basename ../libs/icu/icu-src/source/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../libs/icu/icu-src/source/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../libs/icu/icu-src/source/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../libs/icu/icu-src/source/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../libs/icu/icu-src/source/config.guess ++ basename ../libs/icu/icu-src/source/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../libs/icu/icu-src/source/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../libs/icu/icu-src/source/config.guess' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../libs/freetype2/freetype-src/builds/unix/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../libs/freetype2/freetype-src/builds/unix/config.sub ++ basename ../libs/freetype2/freetype-src/builds/unix/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../libs/freetype2/freetype-src/builds/unix/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../libs/freetype2/freetype-src/builds/unix/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../libs/freetype2/freetype-src/builds/unix/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../libs/freetype2/freetype-src/builds/unix/config.guess ++ basename ../libs/freetype2/freetype-src/builds/unix/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../libs/freetype2/freetype-src/builds/unix/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../libs/freetype2/freetype-src/builds/unix/config.guess' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../build-aux/config.sub ++ basename ../build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> '../build-aux/config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../build-aux/config.guess ++ basename ../build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> '../build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ../configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 --prefix=/builddir/build/BUILD/texlive-20200406/source/inst --datadir=/builddir/build/BUILD/texlive-20200406/source/inst --libdir=/builddir/build/BUILD/texlive-20200406/source/inst/lib --includedir=/builddir/build/BUILD/texlive-20200406/source/inst/include --datarootdir=/builddir/build/BUILD/texlive-20200406/source/inst/share --mandir=/builddir/build/BUILD/texlive-20200406/source/inst/share/man --infodir=/builddir/build/BUILD/texlive-20200406/source/inst/share/info --exec_prefix=/builddir/build/BUILD/texlive-20200406/source/inst --bindir=/builddir/build/BUILD/texlive-20200406/source/inst/bin --with-system-zlib --with-system-libpng --with-system-xpdf --with-system-gd --with-system-teckit --with-system-freetype2 --with-system-poppler --with-system-zziplib --with-system-cairo --with-system-icu --with-system-harfbuzz --with-system-graphite2 --with-system-libgs --with-system-pixman --with-system-libpaper --with-system-potrace --with-pic --with-xdvi-x-toolkit=xaw --with-system-mpfr --with-system-gmp --disable-xindy --disable-xindy-docs --disable-xindy-make-rules --disable-ps2pk --enable-shared --enable-compiler-warnings=max --without-cxx-runtime-hack --disable-native-texlive-build --disable-t1utils --disable-t1lib --disable-psutils --disable-biber --disable-ptexenc --disable-largefile --disable-rpath checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking for loongarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/texlive-20200406/source/work': configure: error: C compiler cannot create executables See `config.log' for more details RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.FEZTcJ (%build) Macro expanded in comment on line 28244: %{_texdir}/texmf-dist/doc/latex/minitoc/ Bad exit status from /var/tmp/rpm-tmp.FEZTcJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status 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 loongarch64 --nodeps /builddir/build/SPECS/texlive.spec