Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-268611-64025/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.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 Wrote: /builddir/build/SRPMS/gnome-calculator-3.28.2-2.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-268611-64025/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6bNgoR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnome-calculator-3.28.2 + /usr/bin/xz -dc /builddir/build/SOURCES/gnome-calculator-3.28.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnome-calculator-3.28.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Implemented-exchange-rate-refresh-interval-setting.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-currency-provider-Don-t-ever-download-rates-if-refre.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-gnome-calculator-Update-refresh-interval-when-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-Conversion-ui-improvements-72.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-math-converter-Hide-currency-conversion-UI-if-there-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PBMMsu + umask 022 + cd /builddir/build/BUILD + cd gnome-calculator-3.28.2 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /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 . aarch64-redhat-linux-gnu The Meson build system Version: 0.58.2 Source dir: /builddir/build/BUILD/gnome-calculator-3.28.2 Build dir: /builddir/build/BUILD/gnome-calculator-3.28.2/aarch64-redhat-linux-gnu Build type: native build Project name: gnome-calculator Project version: 3.28.2 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)") C linker for the host machine: cc ld.bfd 2.30-117 Vala compiler for the host machine: valac (valac 0.48.19) Host machine cpu family: aarch64 Host machine cpu: aarch64 Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency gio-2.0 found: YES 2.68.4 Run-time dependency glib-2.0 found: YES 2.68.4 Run-time dependency gmodule-export-2.0 found: YES 2.68.4 Run-time dependency gobject-2.0 found: YES 2.68.4 Run-time dependency gtk+-3.0 found: YES 3.24.31 Run-time dependency gtksourceview-3.0 found: YES 3.24.9 Run-time dependency libsoup-2.4 found: YES 2.62.3 Run-time dependency libxml-2.0 found: YES 2.9.7 Library m found: YES Library mpc found: YES Library mpc found: YES Library mpfr found: YES Library mpfr found: YES Library posix found: YES Configuring config.h using configuration Program meson_post_install.py found: YES (/builddir/build/BUILD/gnome-calculator-3.28.2/meson_post_install.py) WARNING: Project targeting '>= 0.37' but tried to use feature introduced in '0.42.0': exclude_files arg in install_subdir. Found pkg-config: /usr/bin/pkg-config (1.4.2) Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources) WARNING: Project targeting '>= 0.37' but tried to use feature introduced in '0.50.0': install arg in configure_file. Configuring org.gnome.Calculator.SearchProvider.service using configuration Build targets in project: 16 WARNING: Project specifies a minimum meson_version '>= 0.37' but uses features which were added in newer versions: * 0.42.0: {'exclude_files arg in install_subdir'} * 0.50.0: {'install arg in configure_file'} Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/meson compile -C aarch64-redhat-linux-gnu -j 80 --verbose ninja: Entering directory `aarch64-redhat-linux-gnu' [1/46] /usr/bin/glib-compile-resources ../src/gnome-calculator.gresource.xml --sourcedir ../src --internal --generate --target src/org.gnome.Calculator.h [2/46] /usr/bin/glib-compile-resources ../src/gnome-calculator.gresource.xml --sourcedir ../src --internal --generate --target src/org.gnome.Calculator.c --dependency-file src/org.gnome.Calculator.c.d [3/46] valac -C --vapidir /builddir/build/BUILD/gnome-calculator-3.28.2/vapi --pkg posix /builddir/build/BUILD/gnome-calculator-3.28.2/vapi/mpfr.vapi /builddir/build/BUILD/gnome-calculator-3.28.2/vapi/mpc.vapi --pkg libxml-2.0 --pkg libsoup-2.4 --pkg gtksourceview-3.0 --pkg gtk+-3.0 --pkg gobject-2.0 --target-glib ' 2.40.0' --pkg glib-2.0 --pkg gio-2.0 --color=always --directory lib/libcalculator.a.p --basedir ../lib --library calculator --header lib/calculator.h --vapi ../calculator.vapi --target-glib 2.40.0 ../lib/mpfr-glue.vala ../lib/currency.vala ../lib/equation.vala ../lib/equation-lexer.vala ../lib/equation-parser.vala ../lib/financial.vala ../lib/function-manager.vala ../lib/math-equation.vala ../lib/math-function.vala ../lib/math-variables.vala ../lib/number.vala ../lib/serializer.vala ../lib/unit.vala FAILED: lib/libcalculator.a.p/mpfr-glue.c lib/libcalculator.a.p/currency.c lib/libcalculator.a.p/equation.c lib/libcalculator.a.p/equation-lexer.c lib/libcalculator.a.p/equation-parser.c lib/libcalculator.a.p/financial.c lib/libcalculator.a.p/function-manager.c lib/libcalculator.a.p/math-equation.c lib/libcalculator.a.p/math-function.c lib/libcalculator.a.p/math-variables.c lib/libcalculator.a.p/number.c lib/libcalculator.a.p/serializer.c lib/libcalculator.a.p/unit.c lib/calculator.h lib/calculator.vapi valac -C --vapidir /builddir/build/BUILD/gnome-calculator-3.28.2/vapi --pkg posix /builddir/build/BUILD/gnome-calculator-3.28.2/vapi/mpfr.vapi /builddir/build/BUILD/gnome-calculator-3.28.2/vapi/mpc.vapi --pkg libxml-2.0 --pkg libsoup-2.4 --pkg gtksourceview-3.0 --pkg gtk+-3.0 --pkg gobject-2.0 --target-glib ' 2.40.0' --pkg glib-2.0 --pkg gio-2.0 --color=always --directory lib/libcalculator.a.p --basedir ../lib --library calculator --header lib/calculator.h --vapi ../calculator.vapi --target-glib 2.40.0 ../lib/mpfr-glue.vala ../lib/currency.vala ../lib/equation.vala ../lib/equation-lexer.vala ../lib/equation-parser.vala ../lib/financial.vala ../lib/function-manager.vala ../lib/math-equation.vala ../lib/math-function.vala ../lib/math-variables.vala ../lib/number.vala ../lib/serializer.vala ../lib/unit.vala libsoup-2.4.vapi:151.3-151.13: warning: Creation method of abstract class cannot be public. public Auth (GLib.Type type, Soup.Message msg, string auth_header); ^^^^^^^^^^^ ../lib/equation-parser.vala:104.5-104.16: error: Creation method of abstract class cannot be public. public RNode (Parser parser, LexerToken? token, uint precedence, Associativity associativity) ^^^^^^^^^^^^ ../lib/equation-parser.vala:135.5-135.17: error: Creation method of abstract class cannot be public. public LRNode (Parser parser, LexerToken? token, uint precedence, Associativity associativity) ^^^^^^^^^^^^^ Compilation failed: 2 error(s), 1 warning(s) [4/46] /usr/bin/meson --internal msgfmthelper ../data/org.gnome.Calculator.appdata.xml.in data/org.gnome.Calculator.appdata.xml xml /builddir/build/BUILD/gnome-calculator-3.28.2/po [5/46] /usr/bin/meson --internal msgfmthelper ../data/org.gnome.Calculator.desktop.in data/org.gnome.Calculator.desktop desktop /builddir/build/BUILD/gnome-calculator-3.28.2/po ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.PBMMsu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PBMMsu (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.spec\n', 1)] 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 598, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/gnome-calculator.spec