Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1672967942.117975/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.qn3xfifm:/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.qn3xfifm:/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', 'ad072f11561c4bd9a7f340ed092b303a', '-D', '/var/lib/mock/centos-stream-9-aarch64-1672967942.117975/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qn3xfifm:/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 aarch64 --nodeps /builddir/build/SPECS/libffi.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1629936000 Wrote: /builddir/build/SRPMS/libffi-3.4.2-7.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/libffi.spec'], chrootPath='/var/lib/mock/centos-stream-9-aarch64-1672967942.117975/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.qn3xfifm:/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.qn3xfifm:/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', 'c9577ac9a08a4d6cb791e0fa949a0aac', '-D', '/var/lib/mock/centos-stream-9-aarch64-1672967942.117975/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qn3xfifm:/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 aarch64 --nodeps /builddir/build/SPECS/libffi.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1629936000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hSfDmz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-3.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/libffi-3.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-3.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -e /usr/lib/rpm/clang/libffi-run ']' + bash /usr/lib/rpm/clang/libffi-run + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/x86/unix64.S + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZA4dnB + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 libffi-3.4.2 + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 2021-06-29 01:09:55.000000000 +0000 +++ ./configure 2023-01-06 01:20:29.019349526 +0000 @@ -1875,7 +1875,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 01:20:29.019349526 +0000 +++ ./configure 2023-01-06 01:20:29.039350041 +0000 @@ -7094,7 +7094,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'" @@ -20206,7 +20206,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.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' + 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' + '[' 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 + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-exec-static-tramp checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu continue configure in default builddir "./aarch64-redhat-linux-gnu" ....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=aarch64-redhat-linux-gnu" "linux gnu" checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking target system type... aarch64-redhat-linux-gnu checking for gsed... sed 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 for aarch64-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 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 whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking dependency style of clang++... none checking dependency style of clang... none 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 aarch64-redhat-linux-gnu file names to aarch64-redhat-linux-gnu format... func_convert_file_noop checking how to convert aarch64-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 aarch64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ranlib... ranlib checking command to parse nm output from clang object... .././configure: line 7100: -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 aarch64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... clang -E 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 how to run the C++ preprocessor... clang++ -E checking for ld used by clang++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... 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 dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for aarch64-redhat-linux-gnu-readelf... no checking for readelf... readelf checking size of size_t... 8 checking for C compiler vendor... clang checking CFLAGS for maximum warnings... -Wall checking whether to enable maintainer-specific portions of Makefiles... no checking sys/memfd.h usability... no checking sys/memfd.h presence... no checking for sys/memfd.h... no checking for memfd_create... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking for mkostemp... yes checking for mkstemp... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for ANSI C header files... (cached) yes checking for memcpy... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking size of double... 8 checking size of long double... 16 checking whether byte ordering is bigendian... no checking assembler .cfi pseudo-op support... yes checking whether compiler supports pointer authentication... no checking for _ prefix in compiled symbols... no checking whether C compiler accepts -fno-lto... yes checking whether .eh_frame section should be read-only... yes checking for __attribute__((visibility("hidden")))... yes clang-15: error: unsupported option '-print-multi-os-directory' clang-15: error: no input files checking for ld used by clang... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for shared libgcc... yes configure: versioning on shared library symbols is gnu checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/Makefile config.status: creating include/ffi.h config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating libffi.pc config.status: creating fficonfig.h config.status: executing buildir commands config.status: create top_srcdir/Makefile guessed from local Makefile config.status: build in aarch64-redhat-linux-gnu (HOST=) config.status: executing depfiles commands config.status: executing libtool commands config.status: executing include commands config.status: executing src commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 MAKE aarch64-unknown-linux-gnu : 0 * all-all /usr/bin/make all-recursive Making all in include make[3]: Nothing to be done for 'all'. Making all in testsuite make[3]: Nothing to be done for 'all'. Making all in man make[3]: Nothing to be done for 'all'. Making all in doc make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -DAARCH64 -DGENERATE_LIBFFI_MAP \ -E -x assembler-with-cpp -o libffi.map ../libffi.map.in make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/types.lo ../src/types.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/types.c -fPIC -DPIC -o src/.libs/types.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/prep_cif.lo ../src/prep_cif.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/raw_api.lo ../src/raw_api.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/java_raw_api.lo ../src/java_raw_api.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o ../src/java_raw_api.c:328:46: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations] ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif)); ^ include/ffi.h:301:56: note: 'ffi_java_raw_size' has been explicitly marked deprecated here size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated)); ^ ../src/java_raw_api.c:331:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations] ffi_java_ptrarray_to_raw (cif, avalue, raw); ^ include/ffi.h:297:93: note: 'ffi_java_ptrarray_to_raw' has been explicitly marked deprecated here void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated)); ^ 2 warnings generated. make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/tramp.lo ../src/tramp.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/tramp.c -fPIC -DPIC -o src/.libs/tramp.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -c -o src/aarch64/sysv.lo ../src/aarch64/sysv.S libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -c ../src/aarch64/sysv.S -fPIC -DPIC -o src/aarch64/.libs/sysv.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/aarch64/ffi.lo ../src/aarch64/ffi.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/aarch64/ffi.c -fPIC -DPIC -o src/aarch64/.libs/ffi.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' ../src/aarch64/ffi.c:857:1: warning: unused label 'out' [-Wunused-label] out: ^~~~ 1 warning generated. make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c -o src/closures.lo ../src/closures.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -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 -fasynchronous-unwind-tables -Wall -fexceptions -c ../src/closures.c -fPIC -DPIC -o src/.libs/closures.o make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' In file included from ../src/closures.c:544: ../src/dlmalloc.c:3385:7: warning: variable 'nfences' set but not used [-Wunused-but-set-variable] int nfences = 0; ^ 1 warning generated. make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=link clang -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 -fasynchronous-unwind-tables -Wall -fexceptions -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/aarch64/ffi.lo src/aarch64/sysv.lo libtool: link: ar cru .libs/libffi_convenience.a src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/.libs/tramp.o src/aarch64/.libs/ffi.o src/aarch64/.libs/sysv.o libtool: link: ranlib .libs/libffi_convenience.a libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /bin/sh ./libtool --tag=CC --mode=link clang -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 -fasynchronous-unwind-tables -Wall -fexceptions -no-undefined -version-info `grep -v '^#' ../libtool-version` -Wl,--version-script,libffi.map '-Wl,-z,relro' '-Wl,--as-needed' '-Wl,-z,now' -Xcompiler '-flto' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o libffi.la -rpath /usr/lib64 src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/aarch64/ffi.lo src/aarch64/sysv.lo libtool: link: clang -shared -fPIC -DPIC src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/.libs/tramp.o src/aarch64/.libs/ffi.o src/aarch64/.libs/sysv.o -Wl,-z,now -O2 -flto -g -grecord-gcc-switches -fstack-protector-strong -Wl,--version-script -Wl,libffi.map -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -flto -Wl,-soname -Wl,libffi.so.8 -o .libs/libffi.so.8.1.0 libtool: link: (cd ".libs" && rm -f "libffi.so.8" && ln -s "libffi.so.8.1.0" "libffi.so.8") libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s "libffi.so.8.1.0" "libffi.so") libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s "../libffi.la" "libffi.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q6c6QN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 ++ dirname /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 libffi-3.4.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 'INSTALL=/usr/bin/install -p' MAKE aarch64-unknown-linux-gnu : 0 * install make[1]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/include' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/include' /usr/bin/install -c -m 644 ffi.h ffitarget.h '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/include' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/include' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/include' Making install in testsuite make[2]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' Making install in man make[2]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/man' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/man/man3' /usr/bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/man/man3' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/man' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/man' Making install in doc make[2]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/doc' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/doc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/info' /usr/bin/install -c -m 644 ../../doc/libffi.info '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/info' '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/info/libffi.info' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/doc' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/doc' make[2]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c libffi.la '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libffi.so.8.1.0 /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 libtool: install: (cd /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64 && { ln -s -f libffi.so.8.1.0 libffi.so.8 || { rm -f libffi.so.8 && ln -s libffi.so.8.1.0 libffi.so.8; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64 && { ln -s -f libffi.so.8.1.0 libffi.so || { rm -f libffi.so && ln -s libffi.so.8.1.0 libffi.so; }; }) libtool: install: /usr/bin/install -c .libs/libffi.lai /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libffi.pc '/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/pkgconfig' make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[2]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' make[1]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' + find /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 -name '*.la' -exec rm -f '{}' ';' + rm -f /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/info/dir + basearch=aarch64 + mkdir -p /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/include + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 error: write on a pipe with no reader [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 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 -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.4.2-7.eln_clang_unknown --unique-debug-suffix -3.4.2-7.eln_clang_unknown.aarch64 --unique-debug-src-base libffi-3.4.2-7.eln_clang_unknown.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/libffi-3.4.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 extracting debug info from /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 Warning, not replacing comp_dir '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu' prefix ('/builddir/build/BUILD/libffi-3.4.2' -> '/usr/src/debug/libffi-3.4.2-7.eln_clang_unknown.aarch64') encoded as DW_FORM_string. Replacement too large. original debug info size: 136kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 594 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libffi.so.8.1.0-3.4.2-7.eln_clang_unknown.aarch64.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/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libffi.so.8.1.0-3.4.2-7.eln_clang_unknown.aarch64.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib64/libffi.so.8.1.0 [ 2e] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/lib/debug/usr/lib64/libffi.so.8.1.0-3.4.2-7.eln_clang_unknown.aarch64.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.hI0jKe + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables ' + 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 libffi-3.4.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 check MAKE aarch64-unknown-linux-gnu : 0 * check Making check in include make[2]: Nothing to be done for 'check'. Making check in testsuite /usr/bin/make check-DEJAGNU make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' Making a new site.exp file ... make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' make[3]: Entering directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' srcdir='../../testsuite'; export srcdir; \ EXPECT=expect; export EXPECT; \ if /bin/sh -c "runtest --version" > /dev/null 2>&1; then \ exit_status=0; l='libffi'; for tool in $l; do \ if runtest --tool $tool --srcdir $srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo "WARNING: could not find 'runtest'" 1>&2; :;\ fi; \ exit $exit_status Using ../../testsuite/lib/libffi.exp as tool init file. Test run by mockbuild on Fri Jan 6 01:20:38 2023 Native configuration is aarch64-redhat-linux-gnu === libffi tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ../../testsuite/config/default.exp as tool-and-target-specific interface file. Running ../../testsuite/libffi.bhaible/bhaible.exp ... Running ../../testsuite/libffi.call/call.exp ... Running ../../testsuite/libffi.closures/closure.exp ... Running ../../testsuite/libffi.complex/complex.exp ... Running ../../testsuite/libffi.go/go.exp ... === libffi Summary === # of expected passes 548 # of unsupported tests 209 make[3]: Leaving directory '/builddir/build/BUILD/libffi-3.4.2/aarch64-redhat-linux-gnu/testsuite' WARNING: Couldn't find the global config file. Making check in man make[2]: Nothing to be done for 'check'. Making check in doc make[2]: Nothing to be done for 'check'. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libffi-3.4.2-7.eln_clang_unknown.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EQ1qsC + umask 022 + cd /builddir/build/BUILD + cd libffi-3.4.2 + DOCDIR=/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/doc/libffi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/doc/libffi + cp -pr README.md /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/doc/libffi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Swgklu + umask 022 + cd /builddir/build/BUILD + cd libffi-3.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/licenses/libffi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/licenses/libffi + cp -pr LICENSE /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64/usr/share/licenses/libffi + RPM_EC=0 ++ jobs -p + exit 0 Provides: libffi = 3.4.2-7.eln_clang_unknown libffi(aarch-64) = 3.4.2-7.eln_clang_unknown libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit) libffi.so.8(LIBFFI_COMPLEX_8.0)(64bit) libffi.so.8(LIBFFI_GO_CLOSURE_8.0)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) Processing files: libffi-devel-3.4.2-7.eln_clang_unknown.aarch64 Provides: libffi-devel = 3.4.2-7.eln_clang_unknown libffi-devel(aarch-64) = 3.4.2-7.eln_clang_unknown pkgconfig(libffi) = 3.4.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libffi.so.8()(64bit) Processing files: libffi-debugsource-3.4.2-7.eln_clang_unknown.aarch64 Provides: libffi-debugsource = 3.4.2-7.eln_clang_unknown libffi-debugsource(aarch-64) = 3.4.2-7.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libffi-debuginfo-3.4.2-7.eln_clang_unknown.aarch64 Provides: debuginfo(build-id) = 681cc0b3adf803cc9114be54105b689c92eaeaf3 libffi-debuginfo = 3.4.2-7.eln_clang_unknown libffi-debuginfo(aarch-64) = 3.4.2-7.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libffi-debugsource(aarch-64) = 3.4.2-7.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 Wrote: /builddir/build/RPMS/libffi-devel-3.4.2-7.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/libffi-3.4.2-7.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/libffi-debuginfo-3.4.2-7.eln_clang_unknown.aarch64.rpm Wrote: /builddir/build/RPMS/libffi-debugsource-3.4.2-7.eln_clang_unknown.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XkdJYt + umask 022 + cd /builddir/build/BUILD + cd libffi-3.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libffi-3.4.2-7.eln_clang_unknown.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0