Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-425240-72958/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=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '7dd3900a6f944fddbafc0849c46fc654', '-D', '/var/lib/mock/dist-an23.3-build-425240-72958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.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 warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1742774400 Wrote: /builddir/build/SRPMS/torque-6.1.3-1.an23.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-425240-72958/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=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'b9649c8d56d5450a948d798110d28670', '-D', '/var/lib/mock/dist-an23.3-build-425240-72958/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.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 warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1742774400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5XRUc6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf torque + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/torque-6.1.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd torque + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (torque-munge-size.patch):' Patch #1 (torque-munge-size.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .munge-size --fuzz=0 patching file src/include/libpbs.h Patch #2 (torque-6.1.3-port-args.patch): + echo 'Patch #2 (torque-6.1.3-port-args.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .port-args --fuzz=0 patching file contrib/init.d/pbs_mom.in + echo 'Patch #4 (torque-6.1.3-system-jsoncpp.patch):' Patch #4 (torque-6.1.3-system-jsoncpp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .system-jsoncpp --fuzz=0 patching file configure.ac patching file src/include/machine.hpp patching file src/include/Makefile.am patching file src/include/pbs_job.h patching file src/lib/Libutils/Makefile.am patching file src/resmom/catch_child.c patching file src/resmom/mom_server.c patching file src/resmom/parse_config.c patching file src/resmom/prolog.c patching file src/resmom/requests.c patching file src/server/job.cpp patching file src/server/node_manager.c patching file src/server/pbsnode.cpp patching file src/test/catch_child/scaffolding.c patching file src/test/job/test_uut.c patching file src/test/machine/scaffolding.c patching file src/test/machine/test_uut.c patching file src/test/node_manager/scaffolding.c patching file src/test/node_manager/test_uut.c patching file src/test/numa_chip/scaffolding.c patching file src/test/numa_chip/test_uut.c patching file src/test/numa_socket/scaffolding.c patching file src/test/numa_socket/test_uut.c patching file src/test/parse_config/scaffolding.c patching file src/test/parse_config/test_uut.c patching file src/test/prolog/scaffolding.c + echo 'Patch #5 (torque-6.1.3-bool-fix.patch):' Patch #5 (torque-6.1.3-bool-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bool-fix --fuzz=0 patching file src/drmaa/src/compat.h patching file src/include/pbs_ifl.h Patch #6 (torque-6.1.3-autoconf-fixes.patch): + echo 'Patch #6 (torque-6.1.3-autoconf-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cleanup --fuzz=0 patching file acinclude.m4 patching file buildutils/ac_c_bigendian_cross.m4 patching file buildutils/acx_pthread.m4 patching file buildutils/ax_cflags_gcc_option.m4 patching file buildutils/tac_tcltk.m4 patching file buildutils/tcl.m4 patching file configure.ac + rm -rf src/lib/Libutils/jsoncpp.cpp src/include/json + sed -i /LATEX_BATCHMODE/d src/drmaa/Doxyfile.in + install -pm 644 /builddir/build/SOURCES/xpbs.desktop /builddir/build/SOURCES/xpbsmon.desktop /builddir/build/SOURCES/xpbs.png /builddir/build/SOURCES/xpbsmon.png /builddir/build/SOURCES/README.Fedora /builddir/build/SOURCES/config . + autoreconf -ifv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I buildutils autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'buildutils'. libtoolize: copying file 'buildutils/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'buildutils'. libtoolize: copying file 'buildutils/libtool.m4' libtoolize: copying file 'buildutils/ltoptions.m4' libtoolize: copying file 'buildutils/ltsugar.m4' libtoolize: copying file 'buildutils/ltversion.m4' libtoolize: copying file 'buildutils/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I buildutils autoreconf: running: /usr/bin/autoconf --force configure.ac:863: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:863: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:863: the top level configure.ac:2479: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:20: AC_DECL_H_ERRNO is expanded from... configure.ac:2479: the top level configure.ac:2504: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2504: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:110: TAC_SOCKLEN_EQUIV is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from... ./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from... configure.ac:2504: the top level configure.ac:2508: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2508: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:223: TAC_PAM_GET_USER_2ND_ARG is expanded from... configure.ac:2508: the top level configure.ac:2551: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:2551: You should run autoupdate. buildutils/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... buildutils/tcl.m4:2513: TEA_INIT is expanded from... buildutils/tcl.m4:35: TEA_PATH_TCLCONFIG is expanded from... buildutils/tac_tcltk.m4:5: TAC_TCLTK is expanded from... configure.ac:2551: the top level configure.ac:2563: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:2563: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... buildutils/ac_c_bigendian_cross.m4:18: AC_C_BIGENDIAN_CROSS is expanded from... configure.ac:2563: the top level configure.ac:2564: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:2564: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... buildutils/acx_pthread.m4:56: ACX_PTHREAD is expanded from... configure.ac:2564: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:45: installing 'buildutils/ar-lib' configure.ac:43: installing 'buildutils/compile' configure.ac:40: installing 'buildutils/config.guess' configure.ac:40: installing 'buildutils/config.sub' configure.ac:57: installing 'buildutils/install-sh' configure.ac:57: installing 'buildutils/missing' doc/Makefile.am: installing 'buildutils/depcomp' parallel-tests: installing 'buildutils/test-driver' configure.ac: installing 'buildutils/ylwrap' autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GlzCwu + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd torque + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -fpermissive' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -fpermissive' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + 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 2025-03-24 16:21:21.227690460 +0800 +++ ./configure 2025-03-24 16:21:39.639283203 +0800 @@ -2303,7 +2303,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 2025-03-24 16:21:39.639283203 +0800 +++ ./configure 2025-03-24 16:21:39.659283846 +0800 @@ -7784,7 +7784,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'" @@ -27990,7 +27990,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 ./buildutils/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./buildutils/config.guess ++ basename ./buildutils/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./buildutils/config.guess '/usr/lib/rpm/anolis/config.guess' -> './buildutils/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./buildutils/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./buildutils/config.sub ++ basename ./buildutils/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./buildutils/config.sub '/usr/lib/rpm/anolis/config.sub' -> './buildutils/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./buildutils/ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --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 --includedir=/usr/include/torque --with-server-home=/var/lib/torque --with-pam=/usr/lib64/security --with-sendmail=/usr/sbin/sendmail --disable-static --with-tcp-retry-limit=2 --without-debug --enable-drmaa --enable-munge-auth --with-munge --enable-cpuset --enable-numa-support --with-default-server=localhost --enable-gui --with-tcl --with-tk --with-rcp=/usr/bin/scp configure: WARNING: unrecognized options: --with-munge checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking for x86_64-Anolis-linux-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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking for x86_64-Anolis-linux-ar... no checking for x86_64-Anolis-linux-lib... no checking for x86_64-Anolis-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-Anolis-linux-gnu file names to x86_64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert x86_64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-Anolis-linux-file... no checking for file... file checking for x86_64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-Anolis-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7790: -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 x86_64-Anolis-linux-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 elf_x86_64) 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... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for make... make 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 whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking dependency style of g++... none checking whether to enable maintainer-specific portions of Makefiles... no /usr/bin/which: no git in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) cat: current_hash: No such file or directory checking for x86_64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking PBS machine type... linux checking whether make supports nested variables... (cached) yes checking whether to turn on the AUTORUN_JOBS flag... no checking whether to turn on the RESOURCEMAXDEFAULT flag... no checking whether to turn on the QUICKCOMMIT flag... no checking whether to include server and scheduler... yes checking whether to include the mom daemon... yes checking whether to include the clients... yes checking whether to build DRMAA lib... yes checking for ar... (cached) ar checking whether ln -s works... yes checking for flex... no checking for lex... no checking for bison... no checking for byacc... no checking for gtbl... gtbl checking for gpic... gpic checking for groff... groff checking whether to turn on the compilation of DEBUG code... no checking whether to compile with debugging symbols... DEBUG_SYMBOLS=no checking whether to disable strict gcc warnings... no checking for stat64... yes checking for open64... yes checking for lseek64... yes ./configure: line 19144: ac_fn_c_check_member: command not found checking for struct stat64.st_mode... yes checking if largefile compiles... checking for pthread_create in -lpthread... yes checking for xmlGetProp in -lxml2... yes checking for gzopen in -lz... yes checking whether to create only the top temporary job directory... no checking whether to force XOPEN networking stack... no... phew! checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for float.h... yes checking for limits.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for sys/file.h... yes checking for sys/param.h... yes checking for sys/tty.h... no checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/ioctl.h... yes checking for sys/mount.h... yes checking for sys/vfs.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/ucred.h... no checking for sys/un.h... yes checking for sys/uio.h... yes checking for syslog.h... yes checking for readline/readline.h... yes checking for termios.h... yes checking for err.h... yes checking for sys/poll.h... yes checking for pam/pam_modules.h... no checking for security/pam_appl.h... yes checking for mach/shared_region.h... no checking for security/pam_modules.h... yes checking whether to enable maxint job ids... no checking Whether to use the resource plugin libary... no checking whether to enable cgroups... no checking whether to enable cpusets... yes checking whether to allow geometry requests... no checking whether to support NUMA systems... yes checking whether to compile with coverage... no checking whether to compile with MIC support... no checking whether boost is installed... checking how to run the C preprocessor... gcc -E yes checking for minimum boost version (>=1.36.0)... yes checking whether to build Nvidia gpu support... no checking for hwloc >= 1.9... yes checking for jsoncpp... yes checking whether to build libcpuset support... no checking whether to build libmemacct support... no checking if user requested PMIx support()... no checking building PMIx support... no checking whether add memory alignment flags... default yes checking whether to build BLCR support... no checking for src/test/req_jobobit/scaffolding.c... yes checking whether to add x attributes to accounting... no checking whether to build Cray's CPA support... no checking whether to build Cray's CSA support... no checking whether to enable libjob job_create support... disabled checking whether to support exec based munge authorization... no checking whether to support MUNGE library based authentication... yes checking for munge_ctx_create in -lmunge... yes checking for munge.h... yes checking for openpty... yes checking whether to build with bind() calls before connect() calls... no checking if enabling Unix Domain socket support... Setting reserved port to get ports from 144 to 1023 inclusive. configure: remote file copy program... /usr/bin/scp -rpB checking for PAM install directory... /usr/lib64/security checking for xauth... /usr/bin/xauth checking whether to install modulefiles... no checking for xdr_int... no checking for xdr_int in -lnsl... no checking for ruserok... yes checking for hstrerror... yes checking for initscr in -lncurses... yes checking for rl_callback_handler_install in -lreadline... yes checking for h_errno declaration in netdb.h... no checking for FD_SET declaration in sys/select.h... yes checking size of int... 4 checking size of long... 8 checking size of float... 4 checking size of double... 8 checking size of long double... 16 checking size of short... 2 checking size of unsigned... 4 checking size of unsigned int... 4 checking size of unsigned short... 2 checking size of unsigned char... 1 checking size of unsigned long... 8 checking size of signed char... 1 checking whether char is unsigned... no checking for socklen_t... yes checking for pam_get_user() calling type... const char checking for seteuid... yes checking for setegid... yes checking for gettimeofday... yes checking for rresvport... yes checking for bindresvport... yes checking for wordexp... yes checking for poll... yes checking for getaddrinfo... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for size_t... yes checking for getgroups... yes checking for working getgroups... yes checking for atexit... yes checking for ntohl... yes checking for correct TEA configuration... ok configure: Starting Tcl/Tk configuration checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for Tcl public headers... /usr/include checking for tclx configuration... none checking for Tk configuration... found /usr/lib64/tkConfig.sh checking for existence of /usr/lib64/tkConfig.sh... loading checking for Tk public headers... /usr/include checking for Tcl_Init... yes checking for Tk_Init... no configure: error: Your Tk install is broken. Rerun configure with --without-tk error: Bad exit status from /var/tmp/rpm-tmp.GlzCwu (%build) %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.GlzCwu (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b9649c8d56d5450a948d798110d28670 -D /var/lib/mock/dist-an23.3-build-425240-72958/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b9649c8d56d5450a948d798110d28670 -D /var/lib/mock/dist-an23.3-build-425240-72958/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.lfdv3z9u:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --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 --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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/torque.spec'