Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1746286652.244128/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libxkbcommon-1.9.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1746286652.244128/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libxkbcommon-1.9.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1746286652.244128/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27JHHc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libxkbcommon-xkbcommon-1.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xkbcommon-1.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libxkbcommon-xkbcommon-1.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1WapAX + umask 022 + cd /builddir/build/BUILD + cd libxkbcommon-xkbcommon-1.9.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fexceptions -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld ' + export LDFLAGS + /usr/bin/meson setup --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 . x86_64-openEuler-linux-gnu -Denable-docs=false -Denable-x11=true -Denable-wayland=false The Meson build system Version: 1.3.1 Source dir: /builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1 Build dir: /builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/x86_64-openEuler-linux-gnu Build type: native build Project name: libxkbcommon Project version: 1.9.1 C compiler for the host machine: cc (gcc 12.3.1 "cc (GCC) 12.3.1 (openEuler 12.3.1-38.oe2403)") C linker for the host machine: cc ld.bfd 2.41 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wbad-function-cast: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wno-documentation-deprecated-sync: NO Compiler for C supports arguments -Wno-pedantic: YES Compiler for C supports arguments /utf-8: NO Compiler for C supports arguments /wd4100: NO Found pkg-config: YES (/usr/bin/pkg-config) 1.9.5 Run-time dependency xkeyboard-config found: YES 2.39 Has header "unistd.h" : YES Checking if "__builtin_expect" : links: YES Header "unistd.h" has symbol "eaccess" : YES Header "unistd.h" has symbol "euidaccess" : YES Header "sys/mman.h" has symbol "mmap" : YES Header "stdlib.h" has symbol "mkostemp" : YES Header "fcntl.h" has symbol "posix_fallocate" : YES Header "string.h" has symbol "strndup" : YES Header "stdio.h" has symbol "asprintf" : YES Header "stdio.h" has symbol "open_memstream" : YES Header "stdlib.h" has symbol "secure_getenv" : YES Header "limits.h" has symbol "PATH_MAX" : YES Checking if "-Wl,--version-script" : links: YES Program scripts/map-to-def found: YES (/builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/scripts/map-to-def) Program bison found: YES 3.8.2 3.8.2 (/usr/bin/bison) Run-time dependency xcb found: YES 1.16 Run-time dependency xcb-xkb found: YES 1.16 Run-time dependency libxml-2.0 found: YES 2.11.5 Header "libxml/parser.h" has symbol "xmlCtxtSetErrorHandler" : NO Header "libxml/parser.h" has symbol "xmlCtxtParseDtd" : NO Did not find CMake 'cmake' Found CMake: NO Run-time dependency icu-uc found: NO (tried pkgconfig and cmake) Header "getopt.h" has symbol "getopt_long" : YES Run-time dependency bash-completion found: YES 2.12.0 Has header "linux/input.h" : YES Configuring xkeyboard-config-test using configuration Configuring test-config.h using configuration Library m found: YES Program python3 (jinja2) found: NO Program test/symbols-leak-test.py found: YES (/builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/test/symbols-leak-test.py) Program Xvfb found: NO Program xkbcomp found: NO meson.build:948: WARNING: Xvfb program not found, but is required to run X11 tests. meson.build:951: WARNING: xkbcomp program not found, but is required to run X11 tests. Program test/tool-option-parsing.py found: YES (/builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/test/tool-option-parsing.py) Program test/test-keysym.py found: YES (/builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/test/test-keysym.py) Program valgrind found: NO Message: valgrind not found, disabling valgrind test setup Header "getopt.h" has symbol "getopt_long" : YES (cached) Configuring config.h using configuration Build targets in project: 51 libxkbcommon 1.9.1 Compiler backend : ninja buildtype : plain id : gcc c_args : -O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection c_link_args : -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection yacc : /usr/bin/bison 3.8.2 Directories prefix : /usr bindir : bin libdir : lib64 datadir : share xkb-config-root : /usr/share/X11/xkb xkb-config-extra-path: /etc/xkb xlocaledir : /usr/share/X11/locale Features docs : false tools : true wayland : false x11 : true Defaults layout : us model : pc105 options : rules : evdev variant : Tests merge-modes : false 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 enable-docs : false enable-wayland : false enable-x11 : true Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C x86_64-openEuler-linux-gnu -j 4 --verbose ninja: Entering directory `/builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/x86_64-openEuler-linux-gnu' [1/354] /usr/bin/bison --defines=libxkbcommon.so.0.9.1.p/parser.h -o libxkbcommon.so.0.9.1.p/parser.c -p _xkbcommon_ ../src/xkbcomp/parser.y FAILED: libxkbcommon.so.0.9.1.p/parser.c libxkbcommon.so.0.9.1.p/parser.h /usr/bin/bison --defines=libxkbcommon.so.0.9.1.p/parser.h -o libxkbcommon.so.0.9.1.p/parser.c -p _xkbcommon_ ../src/xkbcomp/parser.y /usr/bin/bison: m4 subprocess failed: No such file or directory [2/354] cc -Ilibxkbregistry.so.0.9.1.p -I. -I.. -I../src -I../include -I/usr/include/libxml2 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -Wno-pedantic -O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ libxkbregistry.so.0.9.1.p/src_util-list.c.o -MF libxkbregistry.so.0.9.1.p/src_util-list.c.o.d -o libxkbregistry.so.0.9.1.p/src_util-list.c.o -c ../src/util-list.c [3/354] cc -Ilibxkbregistry.so.0.9.1.p -I. -I.. -I../src -I../include -I/usr/include/libxml2 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -Wno-pedantic -O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ libxkbregistry.so.0.9.1.p/src_utils.c.o -MF libxkbregistry.so.0.9.1.p/src_utils.c.o.d -o libxkbregistry.so.0.9.1.p/src_utils.c.o -c ../src/utils.c [4/354] cc -Ilibxkbregistry.so.0.9.1.p -I. -I.. -I../src -I../include -I/usr/include/libxml2 -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wlogical-op -Wdate-time -Wwrite-strings -Wno-pedantic -O2 -flto=auto -ffat-lto-objects -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MQ libxkbregistry.so.0.9.1.p/src_registry.c.o -MF libxkbregistry.so.0.9.1.p/src_registry.c.o.d -o libxkbregistry.so.0.9.1.p/src_registry.c.o -c ../src/registry.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/libxkbcommon-xkbcommon-1.9.1/x86_64-openEuler-linux-gnu -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.1WapAX (%build) Bad exit status from /var/tmp/rpm-tmp.1WapAX (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 --target x86_64 --nodeps /builddir/build/SPECS/libxkbcommon.spec