Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libxkbfile.spec'], chrootPath='/var/lib/mock/fedora-38-s390x-1688880591.615813/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '683b8f5ec92645d6b2c0c897d9555f80', '-D', '/var/lib/mock/fedora-38-s390x-1688880591.615813/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libxkbfile.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/libxkbfile-1.1.1-2.fc38_clang16_03.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libxkbfile.spec'], chrootPath='/var/lib/mock/fedora-38-s390x-1688880591.615813/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f883aa8f31f84428884b5f55b6421109', '-D', '/var/lib/mock/fedora-38-s390x-1688880591.615813/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zd04lvsf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libxkbfile.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dtWxUz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libxkbfile-1.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libxkbfile-1.1.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libxkbfile-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -e /usr/lib/rpm/clang/libxkbfile-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.D2DE0H + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd libxkbfile-1.1.1 + export 'CFLAGS=-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-18 02:04:10.000000000 +0000 +++ ./configure 2023-07-09 05:32:49.968073500 +0000 @@ -1742,7 +1742,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-07-09 05:32:49.968073500 +0000 +++ ./configure 2023-07-09 05:32:49.988073500 +0000 @@ -6794,7 +6794,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20089,7 +20089,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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 ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ 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 "~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... s390x-redhat-linux-gnu checking host system type... s390x-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for s390x-redhat-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none 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 clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert s390x-redhat-linux-gnu file names to s390x-redhat-linux-gnu format... func_convert_file_noop checking how to convert s390x-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for s390x-redhat-linux-gnu-file... no checking for file... file checking for s390x-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for s390x-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for s390x-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for s390x-redhat-linux-gnu-strip... no checking for strip... strip checking for s390x-redhat-linux-gnu-ranlib... ranlib checking command to parse nm output from clang object... ./configure: line 6800: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 s390x-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang 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 for clang options needed to detect all undeclared functions... none needed checking whether __clang__ is declared... yes checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for s390x-redhat-linux-gnu-pkg-config... /usr/bin/s390x-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking if clang supports -Werror=unknown-warning-option... yes checking if clang supports -Werror=unused-command-line-argument... yes checking if clang supports -Wall... yes checking if clang supports -Wpointer-arith... yes checking if clang supports -Wmissing-declarations... yes checking if clang supports -Wformat=2... yes checking if clang supports -Wstrict-prototypes... yes checking if clang supports -Wmissing-prototypes... yes checking if clang supports -Wnested-externs... yes checking if clang supports -Wbad-function-cast... yes checking if clang supports -Wold-style-definition... yes checking if clang supports -Wdeclaration-after-statement... yes checking if clang supports -Wunused... yes checking if clang supports -Wuninitialized... yes checking if clang supports -Wshadow... yes checking if clang supports -Wmissing-noreturn... yes checking if clang supports -Wmissing-format-attribute... yes checking if clang supports -Wredundant-decls... yes checking if clang supports -Wlogical-op... no checking if clang supports -Werror=implicit... yes checking if clang supports -Werror=nonnull... yes checking if clang supports -Werror=init-self... yes checking if clang supports -Werror=main... yes checking if clang supports -Werror=missing-braces... yes checking if clang supports -Werror=sequence-point... yes checking if clang supports -Werror=return-type... yes checking if clang supports -Werror=trigraphs... yes checking if clang supports -Werror=array-bounds... yes checking if clang supports -Werror=write-strings... yes checking if clang supports -Werror=address... yes checking if clang supports -Werror=int-to-pointer-cast... yes checking if clang supports -Werror=pointer-to-int-cast... yes checking if clang supports -pedantic... yes checking if clang supports -Werror... yes checking if clang supports -Werror=attributes... yes Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable Package 'xorg-macros', required by 'virtual:world', not found checking whether make supports nested variables... (cached) yes checking for strcasecmp... yes checking for strndup... yes checking for getc_unlocked... yes checking for XKBFILE... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating xkbfile.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' CC cout.lo CC maprules.lo CC srvmisc.lo CC xkbatom.lo CC xkbbells.lo CC xkbconfig.lo CC xkbdraw.lo xkbdraw.c:79:23: warning: declaration shadows a local variable [-Wshadow] 79 | XkbSectionPtr section; | ^ xkbdraw.c:72:59: note: previous declaration is here 72 | XkbGetOrderedDrawables(XkbGeometryPtr geom, XkbSectionPtr section) | ^ 1 warning generated. CC xkberrs.lo CC xkbmisc.lo CC xkbout.lo CC xkbtext.lo CC xkmout.lo xkbtext.c:1476:19: warning: declaration shadows a local variable [-Wshadow] 1476 | char *tmp; | ^ xkbtext.c:1457:21: note: previous declaration is here 1457 | char buf[256], *tmp; | ^ xkmout.c:519:31: warning: declaration shadows a local variable [-Wshadow] 519 | char *name; | ^ xkmout.c:490:11: note: previous declaration is here 490 | char *name; | ^ xkmout.c:1311:25: warning: variable 'total' set but not used [-Wunused-but-set-variable] 1311 | unsigned tmp, size, total = 0; | ^ 1 warning generated. CC xkmread.lo xkmread.c:671:26: warning: declaration shadows a local variable [-Wshadow] 671 | register int g; | ^ xkmread.c:592:21: note: previous declaration is here 592 | register int i, g, s, totalVModMaps; | ^ xkmread.c:1108:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1108 | fread(file_info, SIZEOF(xkmFileInfo), 1, file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c:1118:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1118 | fread(&toc[i], SIZEOF(xkmSectionInfo), 1, file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c:1149:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1149 | fread(&tmpTOC, SIZEOF(xkmSectionInfo), 1, file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xkmread.c:1224:9: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1224 | fread(&tmpTOC, SIZEOF(xkmSectionInfo), 1, file); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. 5 warnings generated. CCLD libxkbfile.la make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[1]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jpQjPS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x ++ dirname /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd libxkbfile-1.1.1 + rm -rf /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x + make install DESTDIR=/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x Making install in src make[1]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libxkbfile.la '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64' libtool: install: /usr/bin/install -c .libs/libxkbfile.so.1.0.2 /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.so.1.0.2 libtool: install: (cd /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64 && { ln -s -f libxkbfile.so.1.0.2 libxkbfile.so.1 || { rm -f libxkbfile.so.1 && ln -s libxkbfile.so.1.0.2 libxkbfile.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64 && { ln -s -f libxkbfile.so.1.0.2 libxkbfile.so || { rm -f libxkbfile.so && ln -s libxkbfile.so.1.0.2 libxkbfile.so; }; }) libtool: install: /usr/bin/install -c .libs/libxkbfile.lai /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/include/X11/extensions' /usr/bin/install -c -m 644 ../include/X11/extensions/XKM.h ../include/X11/extensions/XKBrules.h ../include/X11/extensions/XKBbells.h ../include/X11/extensions/XKBconfig.h ../include/X11/extensions/XKMformat.h ../include/X11/extensions/XKBfile.h '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/include/X11/extensions' make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1/src' make[1]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[2]: Entering directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 xkbfile.pc '/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' make[1]: Leaving directory '/builddir/build/BUILD/libxkbfile-1.1.1' + rm -f /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.la + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.so.1.0.2 [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.so.1.0.2 built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.1.1-2.fc38_clang16_03 --unique-debug-suffix -1.1.1-2.fc38_clang16_03.s390x --unique-debug-src-base libxkbfile-1.1.1-2.fc38_clang16_03.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libxkbfile-1.1.1 extracting debug info from /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.so.1.0.2 /usr/bin/gdb.minimal original debug info size: 624kB, size after compression: 584kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 759 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/libxkbfile.so.1.0.2-1.1.1-2.fc38_clang16_03.s390x.debug [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/libxkbfile.so.1.0.2-1.1.1-2.fc38_clang16_03.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib64/libxkbfile.so.1.0.2 [ 2e] clang version 17.0.0 (Fedora 17.0.0~pre20230701.gb43375bb8195bd-1.fc38) /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/lib/debug/usr/lib64/libxkbfile.so.1.0.2-1.1.1-2.fc38_clang16_03.s390x.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libxkbfile-1.1.1-2.fc38_clang16_03.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.69ObVS + umask 022 + cd /builddir/build/BUILD + cd libxkbfile-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/share/doc/libxkbfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/share/doc/libxkbfile + cp -pr COPYING /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/share/doc/libxkbfile + cp -pr ChangeLog /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x/usr/share/doc/libxkbfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: libxkbfile = 1.1.1-2.fc38_clang16_03 libxkbfile(s390-64) = 1.1.1-2.fc38_clang16_03 libxkbfile.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: libxkbfile-devel-1.1.1-2.fc38_clang16_03.s390x Provides: libxkbfile-devel = 1.1.1-2.fc38_clang16_03 libxkbfile-devel(s390-64) = 1.1.1-2.fc38_clang16_03 pkgconfig(xkbfile) = 1.1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libxkbfile.so.1()(64bit) pkgconfig(kbproto) pkgconfig(x11) Processing files: libxkbfile-debugsource-1.1.1-2.fc38_clang16_03.s390x Provides: libxkbfile-debugsource = 1.1.1-2.fc38_clang16_03 libxkbfile-debugsource(s390-64) = 1.1.1-2.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libxkbfile-debuginfo-1.1.1-2.fc38_clang16_03.s390x Provides: debuginfo(build-id) = d026d5e9205efe362de8351969825727c317f77f libxkbfile-debuginfo = 1.1.1-2.fc38_clang16_03 libxkbfile-debuginfo(s390-64) = 1.1.1-2.fc38_clang16_03 libxkbfile.so.1.0.2-1.1.1-2.fc38_clang16_03.s390x.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libxkbfile-debugsource(s390-64) = 1.1.1-2.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x Wrote: /builddir/build/RPMS/libxkbfile-debugsource-1.1.1-2.fc38_clang16_03.s390x.rpm Wrote: /builddir/build/RPMS/libxkbfile-debuginfo-1.1.1-2.fc38_clang16_03.s390x.rpm Wrote: /builddir/build/RPMS/libxkbfile-devel-1.1.1-2.fc38_clang16_03.s390x.rpm Wrote: /builddir/build/RPMS/libxkbfile-1.1.1-2.fc38_clang16_03.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZqSRsD + umask 022 + cd /builddir/build/BUILD + cd libxkbfile-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libxkbfile-1.1.1-2.fc38_clang16_03.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.36m1D7 + umask 022 + cd /builddir/build/BUILD + rm -rf libxkbfile-1.1.1 libxkbfile-1.1.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0