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/freetype.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-182661-60012/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/freetype.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/freetype-2.10.4-9.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/freetype.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-182661-60012/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/freetype.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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fovk2K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freetype-2.10.4 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/freetype-doc-2.10.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/freetype-2.10.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd freetype-2.10.4 + /usr/bin/xz -dc /builddir/build/SOURCES/ft2demos-2.10.4.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (freetype-2.3.0-enable-spr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .enable-spr --fuzz=0 Patch #0 (freetype-2.3.0-enable-spr.patch): patching file include/freetype/config/ftoption.h Hunk #1 succeeded at 124 (offset 32 lines). Patch #1 (freetype-2.2.1-enable-valid.patch): + echo 'Patch #1 (freetype-2.2.1-enable-valid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .enable-valid --fuzz=0 patching file modules.cfg Hunk #1 succeeded at 111 (offset 1 line). Hunk #2 succeeded at 130 (offset 6 lines). ~/build/BUILD/freetype-2.10.4/ft2demos-2.10.4 ~/build/BUILD/freetype-2.10.4 Patch #2 (freetype-2.5.2-more-demos.patch): + pushd ft2demos-2.10.4 + echo 'Patch #2 (freetype-2.5.2-more-demos.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .more-demos --fuzz=0 patching file Makefile Hunk #1 succeeded at 311 (offset 15 lines). ~/build/BUILD/freetype-2.10.4 Patch #3 (freetype-2.6.5-libtool.patch): + popd + echo 'Patch #3 (freetype-2.6.5-libtool.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libtool --fuzz=0 patching file builds/unix/freetype-config.in Patch #4 (freetype-2.8-multilib.patch): + echo 'Patch #4 (freetype-2.8-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multilib --fuzz=0 patching file builds/unix/freetype-config.in Patch #5 (freetype-2.10.0-internal-outline.patch): + echo 'Patch #5 (freetype-2.10.0-internal-outline.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .internal-outline --fuzz=0 patching file include/freetype/ftoutln.h Hunk #1 succeeded at 164 (offset -1 lines). Hunk #2 succeeded at 200 (offset -1 lines). patching file src/base/ftoutln.c Hunk #1 succeeded at 289 (offset -2 lines). Hunk #2 succeeded at 434 (offset -2 lines). Patch #6 (freetype-2.10.1-debughook.patch): + echo 'Patch #6 (freetype-2.10.1-debughook.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debughook --fuzz=0 patching file include/freetype/ftmodapi.h Hunk #1 succeeded at 622 (offset -1 lines). Patch #7 (freetype-2.10.4-png-memory-leak.patch): + echo 'Patch #7 (freetype-2.10.4-png-memory-leak.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .png-memory-leak --fuzz=0 patching file ChangeLog patching file src/sfnt/pngshim.c + echo 'Patch #8 (freetype-2.10.4-covscan.patch):' Patch #8 (freetype-2.10.4-covscan.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .covscan --fuzz=0 patching file builds/unix/freetype-config.in patching file ft2demos-2.10.4/src/ftbench.c Hunk #1 succeeded at 808 (offset 59 lines). Hunk #2 succeeded at 818 (offset 59 lines). patching file ft2demos-2.10.4/src/ftgrid.c Hunk #1 succeeded at 512 (offset -150 lines). + echo 'Patch #9 (freetype-2.10.4-avoid-invalid-face-index.patch):' Patch #9 (freetype-2.10.4-avoid-invalid-face-index.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .avoid-invalid-face-index --fuzz=0 patching file src/sfnt/sfobjs.c Hunk #1 succeeded at 553 (offset -13 lines). patching file src/sfnt/sfwoff2.c Hunk #1 succeeded at 2098 (offset 13 lines). + echo 'Patch #10 (freetype-2.10.4-properly-guard-face_index.patch):' Patch #10 (freetype-2.10.4-properly-guard-face_index.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .properly-guard-face_index --fuzz=0 patching file src/base/ftobjs.c Hunk #1 succeeded at 2407 (offset -120 lines). + echo 'Patch #11 (freetype-2.10.4-guard-face-size.patch):' Patch #11 (freetype-2.10.4-guard-face-size.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .guard-face-size --fuzz=0 patching file src/base/ftobjs.c Hunk #1 succeeded at 3274 (offset -135 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pvDraS + umask 022 + cd /builddir/build/BUILD + cd freetype-2.10.4 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + 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 ./builds/unix/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./builds/unix/config.sub ++ basename ./builds/unix/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./builds/unix/config.sub '/usr/lib/rpm/redhat/config.sub' -> './builds/unix/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./builds/unix/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./builds/unix/config.guess ++ basename ./builds/unix/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./builds/unix/config.guess '/usr/lib/rpm/redhat/config.guess' -> './builds/unix/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./builds/unix/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 --disable-static --with-zlib=yes --with-bzip2=yes --with-png=yes --enable-freetype-config --with-harfbuzz=yes --with-brotli=yes FreeType build system -- automatic system detection The following settings are used: platform unix compiler cc configuration directory ./builds/unix configuration rules ./builds/unix/unix.mk If this does not correspond to your system or settings please remove the file `config.mk' from this directory then read the INSTALL file for help. Otherwise, simply type `make' again to build the library, or `make refdoc' to build the API reference (this needs Python >= 3.5). Generating modules list in ./objs/ftmodule.h... done. * module: truetype (Windows/Mac font files with extension *.ttf or *.ttc) * module: type1 (Postscript font files with extension *.pfa or *.pfb) * module: cff (OpenType fonts with extension *.otf) * module: cid (Postscript CID-keyed fonts, no known extension) * module: pfr (PFR/TrueDoc font files with extension *.pfr) * module: type42 (Type 42 font files with no known extension) * module: winfnt (Windows bitmap fonts with extension *.fnt or *.fon) * module: pcf (pcf bitmap fonts) * module: bdf (bdf bitmap fonts) * module: sfnt (helper module for TrueType & OpenType formats) * module: autofit (automatic hinting module) * module: pshinter (Postscript hinter module) * module: raster (monochrome bitmap renderer) * module: smooth (anti-aliased bitmap renderer) * module: gxvalid (TrueTypeGX/AAT validation module) * module: otvalid (OpenType validation module) * module: psaux (Postscript Type 1 & Type 2 helper module) * module: psnames (Postscript & Unicode Glyph name handling) cd builds/unix; \ ./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' '--disable-static' '--with-zlib=yes' '--with-bzip2=yes' '--with-png=yes' '--enable-freetype-config' '--with-harfbuzz=yes' '--with-brotli=yes' configure: WARNING: unrecognized options: --disable-dependency-tracking 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... 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 how to run the C preprocessor... gcc -E checking for loongarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.24... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert loongarch64-Anolis-linux-gnu file names to loongarch64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-Anolis-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-Anolis-linux-strip... no checking for strip... strip checking for loongarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking size of int... 4 checking size of long... 8 checking for unsigned long long int... yes checking for long long int... yes checking whether cpp computation of bit length in ftconfig.h.in works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether munmap is declared... yes checking for munmap's first parameter type... void * checking for memcpy... yes checking for memmove... yes checking gcc compiler flag -pedantic to assure ANSI C works correctly... ok, adding to XX_ANSIFLAGS checking gcc compiler flag -ansi to assure ANSI C works correctly... ok, adding to XX_ANSIFLAGS checking for -fvisibility=hidden compiler flag... yes checking for ZLIB... yes checking for BZIP2... yes checking for LIBPNG... yes checking for HARFBUZZ... no configure: error: harfbuzz support requested but library not found make: *** [builds/unix/detect.mk:91: setup] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.pvDraS (%build) Bad exit status from /var/tmp/rpm-tmp.pvDraS (%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/freetype.spec