Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/shared-mime-info.spec'], chrootPath='/var/lib/mock/dist-an23-build-77732-40504/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/shared-mime-info.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1646870400 Wrote: /builddir/build/SRPMS/shared-mime-info-2.1-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/shared-mime-info.spec'], chrootPath='/var/lib/mock/dist-an23-build-77732-40504/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/shared-mime-info.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1646870400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gF8H2G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shared-mime-info-2.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/shared-mime-info-2.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shared-mime-info-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RrUvrz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared-mime-info-2.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . anolis-linux-build The Meson build system Version: 0.60.3 Source dir: /builddir/build/BUILD/shared-mime-info-2.1 Build dir: /builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build Build type: native build Project name: shared-mime-info Project version: 2.1 C compiler for the host machine: gcc (gcc 12.0.1 "gcc (GCC) 12.0.1 20220214 (Anolis OS 12.0.1-0)") C linker for the host machine: gcc ld.bfd 2.38-1 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program itstool found: YES (/usr/bin/itstool) Program xmllint found: YES (/usr/bin/xmllint) Program xmlto found: YES (/usr/bin/xmlto) Program ./xdgmime/src/print-mime-data found: NO Program ./xdgmime/src/test-mime-data found: NO Program ./xdgmime/src/test-mime found: NO meson.build:42: WARNING: *************************************************************************** *** xdgmime not compiled, test suite cannot run. Check HACKING for info *** *************************************************************************** Checking for function "fdatasync" : YES Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency libxml-2.0 found: YES 2.9.13 Run-time dependency glib-2.0 found: YES 2.71.2 Run-time dependency gio-2.0 found: YES 2.71.2 Program check_translations.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.1/po/check_translations.sh) Program freedesktop_generate.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.1/data/freedesktop_generate.sh) Configuring config.h using configuration Program test_generic_icons.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.1/tests/test_generic_icons.sh) Program test_duplicate_mime_types.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.1/tests/test_duplicate_mime_types.sh) Program test_case.py found: YES (/builddir/build/BUILD/shared-mime-info-2.1/tests/test_case.py) Program test_sub_class_ofs.py found: YES (/builddir/build/BUILD/shared-mime-info-2.1/tests/test_sub_class_ofs.py) Program test-case-sensitivity.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.1/tests/test-case-sensitivity.sh) Configuring shared-mime-info.pc using configuration Build targets in project: 84 shared-mime-info 2.1 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.10.2 at /usr/bin/ninja + /usr/bin/meson compile -C anolis-linux-build -j 8 --verbose ninja: Entering directory `/builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build' [1/83] msgfmt ../po/af.po -o po/af/LC_MESSAGES/shared-mime-info.mo [2/83] msgfmt ../po/ar.po -o po/ar/LC_MESSAGES/shared-mime-info.mo [3/83] msgfmt ../po/as.po -o po/as/LC_MESSAGES/shared-mime-info.mo [4/83] msgfmt ../po/ast.po -o po/ast/LC_MESSAGES/shared-mime-info.mo [5/83] msgfmt ../po/az.po -o po/az/LC_MESSAGES/shared-mime-info.mo [6/83] msgfmt ../po/be.po -o po/be/LC_MESSAGES/shared-mime-info.mo [7/83] msgfmt ../po/be@latin.po -o po/be@latin/LC_MESSAGES/shared-mime-info.mo [8/83] msgfmt ../po/bg.po -o po/bg/LC_MESSAGES/shared-mime-info.mo [9/83] msgfmt ../po/bn_IN.po -o po/bn_IN/LC_MESSAGES/shared-mime-info.mo [10/83] msgfmt ../po/ca.po -o po/ca/LC_MESSAGES/shared-mime-info.mo [11/83] msgfmt ../po/ca@valencia.po -o po/ca@valencia/LC_MESSAGES/shared-mime-info.mo [12/83] msgfmt ../po/cs.po -o po/cs/LC_MESSAGES/shared-mime-info.mo [13/83] msgfmt ../po/cy.po -o po/cy/LC_MESSAGES/shared-mime-info.mo [14/83] msgfmt ../po/da.po -o po/da/LC_MESSAGES/shared-mime-info.mo [15/83] msgfmt ../po/de.po -o po/de/LC_MESSAGES/shared-mime-info.mo [16/83] msgfmt ../po/el.po -o po/el/LC_MESSAGES/shared-mime-info.mo [17/83] msgfmt ../po/eo.po -o po/eo/LC_MESSAGES/shared-mime-info.mo [18/83] msgfmt ../po/et.po -o po/et/LC_MESSAGES/shared-mime-info.mo [19/83] msgfmt ../po/fa.po -o po/fa/LC_MESSAGES/shared-mime-info.mo [20/83] msgfmt ../po/en_GB.po -o po/en_GB/LC_MESSAGES/shared-mime-info.mo [21/83] msgfmt ../po/es.po -o po/es/LC_MESSAGES/shared-mime-info.mo [22/83] msgfmt ../po/eu.po -o po/eu/LC_MESSAGES/shared-mime-info.mo [23/83] msgfmt ../po/fi.po -o po/fi/LC_MESSAGES/shared-mime-info.mo [24/83] msgfmt ../po/fo.po -o po/fo/LC_MESSAGES/shared-mime-info.mo [25/83] msgfmt ../po/gu.po -o po/gu/LC_MESSAGES/shared-mime-info.mo [26/83] msgfmt ../po/fr.po -o po/fr/LC_MESSAGES/shared-mime-info.mo [27/83] msgfmt ../po/fur.po -o po/fur/LC_MESSAGES/shared-mime-info.mo [28/83] msgfmt ../po/ga.po -o po/ga/LC_MESSAGES/shared-mime-info.mo [29/83] msgfmt ../po/hi.po -o po/hi/LC_MESSAGES/shared-mime-info.mo [30/83] msgfmt ../po/gl.po -o po/gl/LC_MESSAGES/shared-mime-info.mo [31/83] msgfmt ../po/he.po -o po/he/LC_MESSAGES/shared-mime-info.mo [32/83] msgfmt ../po/hr.po -o po/hr/LC_MESSAGES/shared-mime-info.mo [33/83] msgfmt ../po/hu.po -o po/hu/LC_MESSAGES/shared-mime-info.mo [34/83] msgfmt ../po/ia.po -o po/ia/LC_MESSAGES/shared-mime-info.mo [35/83] msgfmt ../po/id.po -o po/id/LC_MESSAGES/shared-mime-info.mo [36/83] msgfmt ../po/it.po -o po/it/LC_MESSAGES/shared-mime-info.mo [37/83] msgfmt ../po/ja.po -o po/ja/LC_MESSAGES/shared-mime-info.mo [38/83] msgfmt ../po/ka.po -o po/ka/LC_MESSAGES/shared-mime-info.mo [39/83] msgfmt ../po/kk.po -o po/kk/LC_MESSAGES/shared-mime-info.mo [40/83] msgfmt ../po/kn.po -o po/kn/LC_MESSAGES/shared-mime-info.mo [41/83] msgfmt ../po/ko.po -o po/ko/LC_MESSAGES/shared-mime-info.mo [42/83] msgfmt ../po/ky.po -o po/ky/LC_MESSAGES/shared-mime-info.mo [43/83] msgfmt ../po/ml.po -o po/ml/LC_MESSAGES/shared-mime-info.mo [44/83] msgfmt ../po/lt.po -o po/lt/LC_MESSAGES/shared-mime-info.mo [45/83] msgfmt ../po/lv.po -o po/lv/LC_MESSAGES/shared-mime-info.mo [46/83] msgfmt ../po/mr.po -o po/mr/LC_MESSAGES/shared-mime-info.mo [47/83] msgfmt ../po/ms.po -o po/ms/LC_MESSAGES/shared-mime-info.mo [48/83] msgfmt ../po/nb.po -o po/nb/LC_MESSAGES/shared-mime-info.mo [49/83] msgfmt ../po/nl.po -o po/nl/LC_MESSAGES/shared-mime-info.mo [50/83] msgfmt ../po/nn.po -o po/nn/LC_MESSAGES/shared-mime-info.mo [51/83] msgfmt ../po/or.po -o po/or/LC_MESSAGES/shared-mime-info.mo [52/83] msgfmt ../po/pa.po -o po/pa/LC_MESSAGES/shared-mime-info.mo [53/83] msgfmt ../po/oc.po -o po/oc/LC_MESSAGES/shared-mime-info.mo [54/83] msgfmt ../po/rw.po -o po/rw/LC_MESSAGES/shared-mime-info.mo [55/83] msgfmt ../po/pl.po -o po/pl/LC_MESSAGES/shared-mime-info.mo [56/83] msgfmt ../po/pt.po -o po/pt/LC_MESSAGES/shared-mime-info.mo [57/83] msgfmt ../po/pt_BR.po -o po/pt_BR/LC_MESSAGES/shared-mime-info.mo [58/83] msgfmt ../po/ro.po -o po/ro/LC_MESSAGES/shared-mime-info.mo [59/83] msgfmt ../po/ru.po -o po/ru/LC_MESSAGES/shared-mime-info.mo [60/83] msgfmt ../po/sk.po -o po/sk/LC_MESSAGES/shared-mime-info.mo [61/83] msgfmt ../po/sl.po -o po/sl/LC_MESSAGES/shared-mime-info.mo [62/83] msgfmt ../po/sr@latin.po -o po/sr@latin/LC_MESSAGES/shared-mime-info.mo [63/83] msgfmt ../po/ta.po -o po/ta/LC_MESSAGES/shared-mime-info.mo [64/83] msgfmt ../po/te.po -o po/te/LC_MESSAGES/shared-mime-info.mo [65/83] msgfmt ../po/sq.po -o po/sq/LC_MESSAGES/shared-mime-info.mo [66/83] msgfmt ../po/th.po -o po/th/LC_MESSAGES/shared-mime-info.mo [67/83] msgfmt ../po/sr.po -o po/sr/LC_MESSAGES/shared-mime-info.mo [68/83] msgfmt ../po/sv.po -o po/sv/LC_MESSAGES/shared-mime-info.mo [69/83] msgfmt ../po/tr.po -o po/tr/LC_MESSAGES/shared-mime-info.mo [70/83] msgfmt ../po/wa.po -o po/wa/LC_MESSAGES/shared-mime-info.mo [71/83] msgfmt ../po/vi.po -o po/vi/LC_MESSAGES/shared-mime-info.mo [72/83] msgfmt ../po/zh_HK.po -o po/zh_HK/LC_MESSAGES/shared-mime-info.mo [73/83] msgfmt ../po/uk.po -o po/uk/LC_MESSAGES/shared-mime-info.mo [74/83] msgfmt ../po/zh_CN.po -o po/zh_CN/LC_MESSAGES/shared-mime-info.mo [75/83] msgfmt ../po/zh_TW.po -o po/zh_TW/LC_MESSAGES/shared-mime-info.mo [76/83] /builddir/build/BUILD/shared-mime-info-2.1/data/freedesktop_generate.sh /builddir/build/BUILD/shared-mime-info-2.1 /builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build FAILED: data/freedesktop.org.xml /builddir/build/BUILD/shared-mime-info-2.1/data/freedesktop_generate.sh /builddir/build/BUILD/shared-mime-info-2.1 /builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build ninja: Entering directory `/builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build' [1/4] Generating po/zh_HK/LC_MESSAGES/shared-mime-info-zh_HK.mo with a custom command [2/4] Generating po/zh_CN/LC_MESSAGES/shared-mime-info-zh_CN.mo with a custom command [3/4] Generating po/zh_TW/LC_MESSAGES/shared-mime-info-zh_TW.mo with a custom command [4/4] Generating po/uk/LC_MESSAGES/shared-mime-info-uk.mo with a custom command Error: cannot open mo file /builddir/build/BUILD/shared-mime-info-2.1/anolis-linux-build/po/*.gmo [77/83] gcc -Isrc/test-subclassing.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ src/test-subclassing.p/test-subclassing.c.o -MF src/test-subclassing.p/test-subclassing.c.o.d -o src/test-subclassing.p/test-subclassing.c.o -c ../src/test-subclassing.c [78/83] /usr/bin/xmlto -o data/shared-mime-info-spec-html html-nochunks ../data/shared-mime-info-spec.xml [79/83] gcc -Isrc/tree-magic.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ src/tree-magic.p/test-tree-magic.c.o -MF src/tree-magic.p/test-tree-magic.c.o.d -o src/tree-magic.p/test-tree-magic.c.o -c ../src/test-tree-magic.c [80/83] gcc -Isrc/update-mime-database.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -pthread -MD -MQ src/update-mime-database.p/update-mime-database.c.o -MF src/update-mime-database.p/update-mime-database.c.o.d -o src/update-mime-database.p/update-mime-database.c.o -c ../src/update-mime-database.c ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.RrUvrz (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RrUvrz (%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 aarch64 --nodeps /builddir/build/SPECS/shared-mime-info.spec