Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/libnatspec.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671984977.249793/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.d2vv8ppi:/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.d2vv8ppi:/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', '94a27a8b74a141a19195fd5b72f26207', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671984977.249793/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d2vv8ppi:/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/libnatspec.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=1658361600 Wrote: /builddir/build/SRPMS/libnatspec-0.2.6-25.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/libnatspec.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1671984977.249793/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.d2vv8ppi:/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.d2vv8ppi:/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', '9f4be026e49344839f2192d4c5b6f260', '-D', '/var/lib/mock/fedora-rawhide-s390x-1671984977.249793/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d2vv8ppi:/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/libnatspec.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lBYSuN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnatspec-0.2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libnatspec-0.2.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd libnatspec-0.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 profile/libnatspec.csh profile/libnatspec.sh + find examples -type f -exec chmod 644 '{}' ';' + pushd examples ~/build/BUILD/libnatspec-0.2.6/examples ~/build/BUILD/libnatspec-0.2.6 + iconv -f KOI8-R catpkt-1.0-alt-natspec.patch -t UTF-8 + mv catpkt-1.0-alt-natspec.patch.new catpkt-1.0-alt-natspec.patch + popd ~/build/BUILD/libnatspec-0.2.6 + iconv -f KOI8-R -t UTF-8 ChangeLog + mv ChangeLog.new ChangeLog + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gURPpJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libnatspec-0.2.6 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9493: AM_INIT_AUTOMAKE is expanded from... configure.ac:6: the top level configure.ac:10: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:30: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:30: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.ac:30: the top level configure.ac:45: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:45: the top level configure.ac:79: warning: The macro `AC_TRY_CPP' is obsolete. configure.ac:79: You should run autoupdate. ./lib/autoconf/general.m4:2762: AC_TRY_CPP is expanded from... acinclude.m4:4: AM_CHECK_PYTHON_HEADERS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:79: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:17: installing './compile' configure.ac:6: installing './missing' docs/Makefile.am:23: warning: shell find $(top_srcdir: non-POSIX variable name docs/Makefile.am:23: (probably a GNU make extension) lib/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' 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-12-25 16:18:28.041311300 +0000 +++ ./configure 2022-12-25 16:18:28.881311300 +0000 @@ -1831,7 +1831,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 2022-12-25 16:18:28.881311300 +0000 +++ ./configure 2022-12-25 16:18:28.901311300 +0000 @@ -8941,7 +8941,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'" @@ -19912,7 +19912,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"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./examples/mount/configure + diff -u ./examples/mount/configure.backup ./examples/mount/configure + mv ./examples/mount/configure.backup ./examples/mount/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./examples/mount/configure + diff -u ./examples/mount/configure.backup ./examples/mount/configure + mv ./examples/mount/configure.backup ./examples/mount/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./examples/mount/configure + diff -u ./examples/mount/configure.backup ./examples/mount/configure + mv ./examples/mount/configure.backup ./examples/mount/configure + /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' ./examples/mount/configure + diff -u ./examples/mount/configure.backup ./examples/mount/configure + mv ./examples/mount/configure.backup ./examples/mount/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'\''"#' ./examples/mount/configure + diff -u ./examples/mount/configure.backup ./examples/mount/configure + mv ./examples/mount/configure.backup ./examples/mount/configure + '[' 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --with-i18n-file=/etc/locale.conf 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 whether to enable maintainer-specific portions of Makefiles... no checking for s390x-redhat-linux-gnu-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking dependency style of g++... none checking for s390x-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... s390x-redhat-linux-gnu checking host system type... s390x-redhat-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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm 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... no checking for 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... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8947: -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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf64_s390) 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 main in -lpopt... yes checking for egrep... (cached) /usr/bin/grep -E checking for langinfo.h... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for iconv.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for GNU libc compatible malloc... yes checking for working alloca.h... yes checking for alloca... yes checking for nl_langinfo... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libnatspec.pc config.status: creating natspec.m4 config.status: creating lib/Makefile config.status: creating libhi/Makefile config.status: creating src/Makefile config.status: creating src/python/Makefile config.status: creating docs/libnatspecDox.cfg config.status: creating docs/Makefile config.status: creating tests/Makefile 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/libnatspec-0.2.6' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o get_charset.lo get_charset.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o get_locale.lo get_locale.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c get_charset.c -fPIC -DPIC -o .libs/get_charset.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c get_locale.c -fPIC -DPIC -o .libs/get_locale.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o enrich_fs_options.lo enrich_fs_options.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o convert.lo convert.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c enrich_fs_options.c -fPIC -DPIC -o .libs/enrich_fs_options.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c convert.c -fPIC -DPIC -o .libs/convert.o convert.c: In function 'natspec_convert': convert.c:166:16: warning: variable 'result' set but not used [-Wunused-but-set-variable] 166 | size_t result; | ^~~~~~ enrich_fs_options.c: In function 'natspec_get_enriched_fs_options': enrich_fs_options.c:115:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 115 | sprintf(codepage, "%d", codepagenum); | ^~ In function 'add_options', inlined from 'natspec_get_enriched_fs_options' at enrich_fs_options.c:160:3: enrich_fs_options.c:115:27: note: directive argument in the range [-2147483648, 999999] 115 | sprintf(codepage, "%d", codepagenum); | ^~~~ In file included from /usr/include/stdio.h:906, from enrich_fs_options.c:30: In function 'sprintf', inlined from 'add_options' at enrich_fs_options.c:115:2, inlined from 'natspec_get_enriched_fs_options' at enrich_fs_options.c:160:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o filesystem.lo filesystem.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c filesystem.c -fPIC -DPIC -o .libs/filesystem.o /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o detect.lo detect.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c detect.c -fPIC -DPIC -o .libs/detect.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libnatspec.la -rpath /usr/lib64 get_charset.lo get_locale.lo enrich_fs_options.lo convert.lo filesystem.lo detect.lo libtool: link: gcc -shared -fPIC -DPIC .libs/get_charset.o .libs/get_locale.o .libs/enrich_fs_options.o .libs/convert.o .libs/filesystem.o .libs/detect.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libnatspec.so.0 -o .libs/libnatspec.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libnatspec.so.0" && ln -s "libnatspec.so.0.0.0" "libnatspec.so.0") libtool: link: (cd ".libs" && rm -f "libnatspec.so" && ln -s "libnatspec.so.0.0.0" "libnatspec.so") libtool: link: ( cd ".libs" && rm -f "libnatspec.la" && ln -s "../libnatspec.la" "libnatspec.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[3]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/src' gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I../libhi -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o natspec-natspec.o `test -f 'natspec.c' || echo './'`natspec.c /bin/sh ../libtool --tag=CC --mode=link gcc -I../lib -I../libhi -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o natspec natspec-natspec.o ../lib/libnatspec.la -lpopt libtool: link: gcc -I../lib -I../libhi -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/natspec natspec-natspec.o ../lib/.libs/libnatspec.so -lpopt make[3]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/src' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -pedantic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -c -o test_get_charset-test_get_charset.o `test -f 'test_get_charset.c' || echo './'`test_get_charset.c test_get_charset.c: In function 'test_for_convert': test_get_charset.c:106:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 106 | printf("Before natspec_iconv: it=%d, %s, len=%d\n", (int)it, toi, li); | ^ test_get_charset.c:106:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 106 | printf("Before natspec_iconv: it=%d, %s, len=%d\n", (int)it, toi, li); | ~^ ~~ | | | | int size_t {aka long unsigned int} | %ld test_get_charset.c:109:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | printf("Result natspec_iconv: %s (lo=%d), with result=%d\n", to, lo, result); | ~^ ~~ | | | | int size_t {aka long unsigned int} | %ld test_get_charset.c:109:64: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 109 | printf("Result natspec_iconv: %s (lo=%d), with result=%d\n", to, lo, result); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %ld In file included from test_get_charset.c:16: test_get_charset.c: In function 'test_nls': test_get_charset.c:122:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 122 | assert (t=natspec_get_filename_encoding(locale)); | ^ test_get_charset.c: In function 'test_for_natspec_iconv': test_get_charset.c:172:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 172 | printf("natspec_iconv: insize=%d outsize=%d size=%d outbuf=%s\n", insize, outsize, size, buf); | ~^ ~~~~~~ | | | | int size_t {aka long unsigned int} | %ld test_get_charset.c:172:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 172 | printf("natspec_iconv: insize=%d outsize=%d size=%d outbuf=%s\n", insize, outsize, size, buf); | ~^ ~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld test_get_charset.c:172:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 172 | printf("natspec_iconv: insize=%d outsize=%d size=%d outbuf=%s\n", insize, outsize, size, buf); | ~^ ~~~~ | | | | int size_t {aka long unsigned int} | %ld test_get_charset.c: In function 'test_for_enrich': test_get_charset.c:29:34: warning: '%s' directive argument is null [-Wformat-overflow=] 29 | printf("enrich udf: ret='%s', ret1='%s'\n",ret, ret1); | ^~ /bin/sh ../libtool --tag=CC --mode=link gcc -I../lib -pedantic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_get_charset test_get_charset-test_get_charset.o ../lib/libnatspec.la libtool: link: gcc -I../lib -pedantic -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -funsigned-char -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_get_charset test_get_charset-test_get_charset.o ../lib/.libs/libnatspec.so make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6' make[1]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zWTtQa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x ++ dirname /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libnatspec-0.2.6 + make DESTDIR=/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x install Making install in lib make[1]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libnatspec.la '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64' libtool: install: /usr/bin/install -c .libs/libnatspec.so.0.0.0 /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/libnatspec.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64 && { ln -s -f libnatspec.so.0.0.0 libnatspec.so.0 || { rm -f libnatspec.so.0 && ln -s libnatspec.so.0.0.0 libnatspec.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64 && { ln -s -f libnatspec.so.0.0.0 libnatspec.so || { rm -f libnatspec.so && ln -s libnatspec.so.0.0.0 libnatspec.so; }; }) libtool: install: /usr/bin/install -c .libs/libnatspec.lai /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/libnatspec.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/include' /usr/bin/install -c -m 644 natspec.h '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/include' make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' make[1]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/lib' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[3]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c natspec '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/bin' libtool: warning: '../lib/libnatspec.la' has not been installed in '/usr/lib64' libtool: install: /usr/bin/install -c .libs/natspec /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/bin/natspec make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/src' make[1]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' make[1]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6/tests' make[1]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6' make[2]: Entering directory '/builddir/build/BUILD/libnatspec-0.2.6' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/aclocal' /usr/bin/install -c -m 644 natspec.m4 '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/aclocal' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/man/man1' /usr/bin/install -c -m 644 man/natspec.1 '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/pkgconfig' /usr/bin/install -c -m 644 libnatspec.pc '/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6' make[1]: Leaving directory '/builddir/build/BUILD/libnatspec-0.2.6' + rm -f /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/libnatspec.la + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.2.6-25.fc38 --unique-debug-suffix -0.2.6-25.fc38.s390x --unique-debug-src-base libnatspec-0.2.6-25.fc38.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libnatspec-0.2.6 extracting debug info from /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/bin/natspec extracting debug info from /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/lib64/libnatspec.so.0.0.0 original debug info size: 136kB, size after compression: 128kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 247 blocks + /usr/lib/rpm/check-buildroot + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libnatspec-0.2.6-25.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5zWG1S + umask 022 + cd /builddir/build/BUILD + cd libnatspec-0.2.6 + DOCDIR=/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr AUTHORS /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr README /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr ChangeLog /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr NEWS /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr TODO /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + cp -pr README-ru.html /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnatspec = 0.2.6-25.fc38 libnatspec(s390-64) = 0.2.6-25.fc38 libnatspec.so.0()(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.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libnatspec.so.0()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) rtld(GNU_HASH) Processing files: libnatspec-devel-0.2.6-25.fc38.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WxbwMB + umask 022 + cd /builddir/build/BUILD + cd libnatspec-0.2.6 + DOCDIR=/builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec-devel + cp -pr examples /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec-devel + cp -pr profile /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x/usr/share/doc/libnatspec-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnatspec-devel = 0.2.6-25.fc38 libnatspec-devel(s390-64) = 0.2.6-25.fc38 pkgconfig(libnatspec) = 0.2.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libnatspec.so.0()(64bit) Processing files: libnatspec-debugsource-0.2.6-25.fc38.s390x Provides: libnatspec-debugsource = 0.2.6-25.fc38 libnatspec-debugsource(s390-64) = 0.2.6-25.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnatspec-debuginfo-0.2.6-25.fc38.s390x Provides: debuginfo(build-id) = 299d3363798a6000424921ca4f55ee0d4946a81f debuginfo(build-id) = c2545ac2075a8e3a23701c5201399f724e6e36c4 libnatspec-debuginfo = 0.2.6-25.fc38 libnatspec-debuginfo(s390-64) = 0.2.6-25.fc38 libnatspec.so.0.0.0-0.2.6-25.fc38.s390x.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnatspec-debugsource(s390-64) = 0.2.6-25.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x Wrote: /builddir/build/RPMS/libnatspec-0.2.6-25.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libnatspec-devel-0.2.6-25.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libnatspec-debugsource-0.2.6-25.fc38.s390x.rpm Wrote: /builddir/build/RPMS/libnatspec-debuginfo-0.2.6-25.fc38.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SlsTCS + umask 022 + cd /builddir/build/BUILD + cd libnatspec-0.2.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnatspec-0.2.6-25.fc38.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.PhDNMT + umask 022 + cd /builddir/build/BUILD + rm -rf libnatspec-0.2.6 libnatspec-0.2.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0