Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/jq.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672982609.953597/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.yjl5npyk:/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.yjl5npyk:/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', 'b3be0febe4d446ee9515807720679a14', '-D', '/var/lib/mock/centos-stream-9-s390x-1672982609.953597/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yjl5npyk:/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/jq.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=1667520000 Wrote: /builddir/build/SRPMS/jq-1.6-14.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/jq.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672982609.953597/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.yjl5npyk:/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.yjl5npyk:/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', '5007cf7b87d04bf2a433c0daa707c776', '-D', '/var/lib/mock/centos-stream-9-s390x-1672982609.953597/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yjl5npyk:/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/jq.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=1667520000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qIHo4X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jq-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/jq-1.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jq-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/jq-decimal-literal-number.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-iterration-problem-for-non-decimal-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-add-mantest.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + '[' -e /usr/lib/rpm/clang/jq-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s73flQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd jq-1.6 + autoreconf -if libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltsugar.m4' libtoolize: copying file 'config/m4/ltversion.m4' libtoolize: copying file 'config/m4/lt~obsolete.m4' configure.ac:14: installing 'config/compile' configure.ac:12: installing 'config/missing' Makefile.am: installing 'config/depcomp' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + 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 2023-01-06 05:27:53.003652346 +0000 +++ ./configure 2023-01-06 05:27:53.623652346 +0000 @@ -1828,7 +1828,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-01-06 05:27:53.623652346 +0000 +++ ./configure 2023-01-06 05:27:53.643652346 +0000 @@ -7705,7 +7705,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'" @@ -20375,7 +20375,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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 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 "~' ./config/ltmain.sh + ./configure --build=s390x-ibm-linux-gnu --host=s390x-ibm-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 --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 thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for s390x-ibm-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 we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for s390x-ibm-linux-gnu-ar... ar checking the archiver (ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... yes checking for s390x-ibm-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking for clang option to accept ISO C99... none needed checking for clang option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... clang -E checking for bison... bison -y checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu 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 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-ibm-linux-gnu file names to s390x-ibm-linux-gnu format... func_convert_file_noop checking how to convert s390x-ibm-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-ibm-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for s390x-ibm-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for s390x-ibm-linux-gnu-ar... (cached) ar checking for archiver @FILE support... @ checking for s390x-ibm-linux-gnu-strip... no checking for strip... strip checking for s390x-ibm-linux-gnu-ranlib... ranlib checking command to parse nm output from clang object... ./configure: line 7711: -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-ibm-linux-gnu-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 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 bison version... 3.7.4 checking for flex... flex checking for valgrind... valgrind checking for memmem... yes checking for mkstemp... yes checking shlwapi.h usability... no checking shlwapi.h presence... no checking for shlwapi.h... no checking for bundle... no checking for Ruby dependencies... configure: WARNING: ***************************************************************** * Ruby dependencies for building jq documentation not found. * * You can still build, install and hack on jq, but the manpage * * will not be rebuilt and some of the tests will not run. * * See docs/README.md for how to install the docs dependencies. * ***************************************************************** no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for isatty... yes checking for _isatty... no checking for strptime... yes checking for strftime... yes checking for timegm... yes checking for gmtime_r... yes checking for gmtime... yes checking for localtime_r... yes checking for localtime... yes checking for gettimeofday... yes checking for struct tm.tm_gmtoff... yes checking for struct tm.__tm_gmtoff... no checking for pthread_key_create... yes checking for pthread_once... yes checking for atexit... yes checking for acos in -lm... yes checking for acosh in -lm... yes checking for asin in -lm... yes checking for asinh in -lm... yes checking for atan2 in -lm... yes checking for atan in -lm... yes checking for atanh in -lm... yes checking for cbrt in -lm... yes checking for ceil in -lm... yes checking for copysign in -lm... yes checking for cos in -lm... yes checking for cosh in -lm... yes checking for drem in -lm... yes checking for erf in -lm... yes checking for erfc in -lm... yes checking for exp10 in -lm... yes checking for exp2 in -lm... yes checking for exp in -lm... yes checking for expm1 in -lm... yes checking for fabs in -lm... yes checking for fdim in -lm... yes checking for floor in -lm... yes checking for fma in -lm... yes checking for fmax in -lm... yes checking for fmin in -lm... yes checking for fmod in -lm... yes checking for frexp in -lm... yes checking for gamma in -lm... yes checking for hypot in -lm... yes checking for j0 in -lm... yes checking for j1 in -lm... yes checking for jn in -lm... yes checking for ldexp in -lm... yes checking for lgamma in -lm... yes checking for log10 in -lm... yes checking for log1p in -lm... yes checking for log2 in -lm... yes checking for log in -lm... yes checking for logb in -lm... yes checking for modf in -lm... yes checking for lgamma_r in -lm... yes checking for nearbyint in -lm... yes checking for nextafter in -lm... yes checking for nexttoward in -lm... yes checking for pow10 in -lm... no checking for pow in -lm... yes checking for remainder in -lm... yes checking for rint in -lm... yes checking for round in -lm... yes checking for scalb in -lm... yes checking for scalbln in -lm... yes checking for significand in -lm... yes checking for sin in -lm... yes checking for sinh in -lm... yes checking for sqrt in -lm... yes checking for tan in -lm... yes checking for tanh in -lm... yes checking for tgamma in -lm... yes checking for trunc in -lm... yes checking for y0 in -lm... yes checking for y1 in -lm... yes checking for yn in -lm... yes checking for thread-local storage... yes checking whether byte ordering is bigendian... yes checking oniguruma.h usability... yes checking oniguruma.h presence... yes checking for oniguruma.h... yes checking for onig_version in -lonig... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands config.status: executing libtool commands + make -j2 GEN src/builtin.inc GEN src/version.h make all-recursive make[1]: Entering directory '/builddir/build/BUILD/jq-1.6' make[2]: Entering directory '/builddir/build/BUILD/jq-1.6' CC src/jv_dtoa_tsd.lo CC src/lexer.lo src/jv_dtoa_tsd.c:27:41: warning: incompatible function pointer types passing 'void (struct dtoa_context *)' to parameter of type 'void (*)(void *)' [-Wincompatible-function-pointer-types] if (pthread_key_create(&dtoa_ctx_key, tsd_dtoa_ctx_dtor) != 0) { ^~~~~~~~~~~~~~~~~ /usr/include/pthread.h:1298:18: note: passing argument to parameter '__destr_function' here void (*__destr_function) (void *)) ^ src/lexer.c:1500:47: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare] 1 warning generated. if ((int) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC src/parser.lo 1 warning generated. GEN jq.1 GEN src/version.h CC src/builtin.lo src/parser.c:2111:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable] int yynerrs; ^ In file included from src/builtin.c:10: In file included from /usr/include/sys/time.h:21: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ 1 warning generated. CC src/bytecode.lo 1 warning generated. CC src/compile.lo CC src/execute.lo src/compile.c:385:7: warning: variable 'nrefs' set but not used [-Wunused-but-set-variable] int nrefs = 0; ^ CC src/jq_test.lo 1 warning generated. CC src/jv.lo CC src/jv_alloc.lo CC src/jv_aux.lo CC src/jv_dtoa.lo CC src/jv_file.lo src/jv_dtoa.c:2330:54: warning: unused variable 'test_scale' [-Wunused-variable] int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, e, e1, test_scale; ^ CC src/jv_parse.lo 1 warning generated. CC src/jv_print.lo CC src/jv_unicode.lo CC src/linker.lo CC src/locfile.lo CC src/util.lo CC src/decNumber/decContext.lo CC src/decNumber/decNumber.lo CC src/main.o CCLD libjq.la CCLD jq make[2]: Leaving directory '/builddir/build/BUILD/jq-1.6' make[1]: Leaving directory '/builddir/build/BUILD/jq-1.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.m9UeJQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x ++ dirname /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd jq-1.6 + make DESTDIR=/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x install GEN src/version.h make install-recursive make[1]: Entering directory '/builddir/build/BUILD/jq-1.6' make[2]: Entering directory '/builddir/build/BUILD/jq-1.6' GEN src/version.h make[3]: Entering directory '/builddir/build/BUILD/jq-1.6' GEN src/version.h /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c libjq.la '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64' libtool: install: /usr/bin/install -c .libs/libjq.so.1.0.4 /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 libtool: install: (cd /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64 && { ln -s -f libjq.so.1.0.4 libjq.so.1 || { rm -f libjq.so.1 && ln -s libjq.so.1.0.4 libjq.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64 && { ln -s -f libjq.so.1.0.4 libjq.so || { rm -f libjq.so && ln -s libjq.so.1.0.4 libjq.so; }; }) libtool: install: /usr/bin/install -c .libs/libjq.lai /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c jq '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin' libtool: install: /usr/bin/install -c jq /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/share/doc/jq' /usr/bin/install -c -m 644 README.md COPYING AUTHORS README '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/share/doc/jq' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/include' /usr/bin/install -c -m 644 src/jv.h src/jq.h '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/share/man/man1' /usr/bin/install -c -m 644 jq.1 '/builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/jq-1.6' make[2]: Leaving directory '/builddir/build/BUILD/jq-1.6' make[1]: Leaving directory '/builddir/build/BUILD/jq-1.6' + find /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x -name '*.la' -exec rm -f '{}' ';' + chrpath --delete /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.6-14.eln_clang_unknown --unique-debug-suffix -1.6-14.eln_clang_unknown.s390x --unique-debug-src-base jq-1.6-14.eln_clang_unknown.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/jq-1.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 extracting debug info from /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 extracting debug info from /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq original debug info size: 2164kB, size after compression: 2116kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2244 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/lib64/libjq.so.1.0.4-1.6-14.eln_clang_unknown.s390x.debug error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/lib64/libjq.so.1.0.4-1.6-14.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/jq-1.6-14.eln_clang_unknown.s390x.debug error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/jq-1.6-14.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/bin/jq error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/bin/jq-1.6-14.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib64/libjq.so.1.0.4 error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x/usr/lib/debug/usr/lib64/libjq.so.1.0.4-1.6-14.eln_clang_unknown.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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ozZFqM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd jq-1.6 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: jq-1.6-14.eln_clang_unknown.s390x Provides: jq = 1.6-14.eln_clang_unknown jq(s390-64) = 1.6-14.eln_clang_unknown libjq.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libjq.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.4)(64bit) libonig.so.5()(64bit) Processing files: jq-devel-1.6-14.eln_clang_unknown.s390x Provides: jq-devel = 1.6-14.eln_clang_unknown jq-devel(s390-64) = 1.6-14.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libjq.so.1()(64bit) Processing files: jq-debugsource-1.6-14.eln_clang_unknown.s390x Provides: jq-debugsource = 1.6-14.eln_clang_unknown jq-debugsource(s390-64) = 1.6-14.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: jq-debuginfo-1.6-14.eln_clang_unknown.s390x Provides: debuginfo(build-id) = 6865b4db052d040a628f6106e676086982a3d37f debuginfo(build-id) = 74964e7aa98913ddef0d77daa1d7af54dbfb0db0 jq-debuginfo = 1.6-14.eln_clang_unknown jq-debuginfo(s390-64) = 1.6-14.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: jq-debugsource(s390-64) = 1.6-14.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x Wrote: /builddir/build/RPMS/jq-debugsource-1.6-14.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/jq-1.6-14.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/jq-devel-1.6-14.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/jq-debuginfo-1.6-14.eln_clang_unknown.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.i72cv3 + umask 022 + cd /builddir/build/BUILD + cd jq-1.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/jq-1.6-14.eln_clang_unknown.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0