Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tftp.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-258237-24615/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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', '501734bc13214c0b8dc603299e06dfa2', '-D', '/home/lib/mock/dist-ocs23-base-build-258237-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tftp.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/tftp-5.2-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tftp.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-258237-24615/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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', '743b5c2b821b4b4aa3340ffbd56f3374', '-D', '/home/lib/mock/dist-ocs23-base-build-258237-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pvwf5z16:/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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/tftp.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wo0V5J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tftp-hpa-5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tftp-hpa-5.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd tftp-hpa-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-0.40-remap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-hpa-0.39-tzfix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-0.42-tftpboot.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-0.49-chk_retcodes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-hpa-0.49-fortify-strcpy-crash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-0.49-cmd_arg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-hpa-0.49-stats.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-hpa-5.2-pktinfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-doc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-enhanced-logging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-hpa-5.2-gcc10.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tftp-off-by-one.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lNhLm9 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 tftp-hpa-5.2 + autoreconf autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:10: warning: The macro `AC_ISC_POSIX' is obsolete. configure.in:10: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.in:10: the top level configure.in:16: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:16: the top level configure.in:17: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:17: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:17: the top level configure.in:18: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:18: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:18: the top level configure.in:19: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:19: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:19: the top level configure.in:20: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:20: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:20: the top level configure.in:21: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:21: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:21: the top level configure.in:22: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:22: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:22: the top level configure.in:23: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:23: the top level configure.in:24: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:24: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:24: the top level configure.in:25: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:25: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:25: the top level configure.in:26: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:26: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:26: the top level configure.in:27: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:27: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:27: the top level configure.in:28: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:28: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:28: the top level configure.in:29: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:29: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:29: the top level configure.in:30: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:30: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:30: the top level configure.in:31: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:31: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:18: PA_ADD_CFLAGS is expanded from... configure.in:31: the top level configure.in:33: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:33: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:33: the top level configure.in:36: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:36: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... lib/m4sugar/m4sh.m4:651: AS_FOR is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... aclocal.m4:193: PA_CHECK_INTTYPES_H_SANE is expanded from... configure.in:36: the top level configure.in:56: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:56: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:56: the top level configure.in:140: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:140: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:140: the top level configure.in:141: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:141: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:141: the top level configure.in:142: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:142: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:142: the top level configure.in:144: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:144: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:144: the top level configure.in:146: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:146: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:146: the top level configure.in:147: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:147: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:147: the top level configure.in:151: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:151: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:34: PA_SIGSETJMP is expanded from... configure.in:151: the top level configure.in:200: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:200: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... aclocal.m4:236: PA_HEADER_DEFINES is expanded from... configure.in:200: the top level configure.in:202: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:202: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:164: PA_HAVE_TCPWRAPPERS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... aclocal.m4:218: PA_WITH_BOOL is expanded from... configure.in:202: the top level configure.in:202: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:202: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:164: PA_HAVE_TCPWRAPPERS 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:1553: AC_ARG_WITH is expanded from... aclocal.m4:218: PA_WITH_BOOL is expanded from... configure.in:202: the top level configure.in:304: warning: AC_OUTPUT should be used without arguments. configure.in:304: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' + '[' '-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 2024-08-27 16:53:35.330903510 +0800 +++ ./configure 2024-08-27 16:53:35.942914319 +0800 @@ -1646,7 +1646,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 + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for loongarch64-opencloudos-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 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required checking for loongarch64-opencloudos-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 for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -W... yes checking if gcc accepts -Wall... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wwrite-strings... yes checking if gcc accepts -Wundef... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -pipe... yes checking if gcc accepts -fno-strict-aliasing... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking if inttypes.h is sane... yes checking for fcntl.h... yes checking for grp.h... yes checking for libgen.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sysexits.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/filio.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for machine/param.h... no checking for sys/socket.h... yes checking for winsock2.h... no checking for winsock.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for intmax_t... yes checking for long long... yes checking for uint16_t... yes checking for uint32_t... yes checking for u_short... yes checking for u_long... yes checking for socklen_t... yes checking for library containing socket... none required checking for fcntl... yes checking for setsid... yes checking for recvmsg... yes checking for ftruncate... yes checking for setreuid... yes checking for setregid... yes checking for initgroups... yes checking for setgroups... yes checking for strtoumax... yes checking for strtoull... yes checking for struct msghdr.msg_control... yes checking for struct in_pktinfo.ipi_addr... yes checking for struct addrinfo.ai_addr... yes checking if fcntl.h defines O_NONBLOCK... yes checking if fcntl.h defines O_BINARY... no checking if fcntl.h defines O_TEXT... no checking if fcntl.h defines F_SETLK... yes checking if sys/file.h defines LOCK_SH... yes checking if sys/file.h defines LOCK_EX... yes checking for sigsetjmp... yes checking for library containing xmalloc... no checking for library containing xrealloc... no checking for library containing xstrdup... no checking for library containing bsd_signal... none required checking for library containing getopt_long... none required checking for library containing getaddrinfo... none required checking for library containing freeaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing inet_ntop... none required checking for library containing inet_aton... none required checking for daemon... yes checking for dup2... yes checking if netinet/in.h defines IPPORT_TFTP... yes checking for library containing yp_get_default_domain... no checking for main in -lwrap... no checking for tcpwrappers... no checking for regex.h... yes checking for library containing regcomp... none required checking for readline/readline.h... yes checking for library containing tputs... -ltermcap checking for library containing readline... -lreadline checking for readline/history.h... yes checking for struct sockaddr_in6.sin6_addr... yes checking for IPv6 support... yes checking for struct in6_pktinfo.ipi6_addr... yes checking whether ln -s works... yes checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating MCONFIG config.status: creating aconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 echo \#define VERSION \"tftp-hpa `cat version`\" > version.h rm -f aconfig.h.in aconfig.h autoheader autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' if test -x config.status; then \ ./config.status --recheck && ./config.status ; \ else \ ./configure ; \ fi running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 build_alias=loongarch64-opencloudos-linux-gnu host_alias=loongarch64-opencloudos-linux-gnu CC=gcc 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 --no-create --no-recursion checking for loongarch64-opencloudos-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 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required checking for loongarch64-opencloudos-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 for an ANSI C-conforming const... yes checking for inline... inline checking if gcc accepts -W... yes checking if gcc accepts -Wall... yes checking if gcc accepts -Wpointer-arith... yes checking if gcc accepts -Wbad-function-cast... yes checking if gcc accepts -Wcast-equal... no checking if gcc accepts -Wstrict-prototypes... yes checking if gcc accepts -Wmissing-prototypes... yes checking if gcc accepts -Wmissing-declarations... yes checking if gcc accepts -Wnested-externs... yes checking if gcc accepts -Winline... yes checking if gcc accepts -Wwrite-strings... yes checking if gcc accepts -Wundef... yes checking if gcc accepts -Wshadow... yes checking if gcc accepts -Wsign-compare... yes checking if gcc accepts -pipe... yes checking if gcc accepts -fno-strict-aliasing... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking if inttypes.h is sane... yes checking for fcntl.h... yes checking for grp.h... yes checking for libgen.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sysexits.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/filio.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for machine/param.h... no checking for sys/socket.h... yes checking for winsock2.h... no checking for winsock.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for off_t... yes checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for intmax_t... yes checking for long long... yes checking for uint16_t... yes checking for uint32_t... yes checking for u_short... yes checking for u_long... yes checking for socklen_t... yes checking for library containing socket... none required checking for fcntl... yes checking for setsid... yes checking for recvmsg... yes checking for ftruncate... yes checking for setreuid... yes checking for setregid... yes checking for initgroups... yes checking for setgroups... yes checking for strtoumax... yes checking for strtoull... yes checking for struct msghdr.msg_control... yes checking for struct in_pktinfo.ipi_addr... yes checking for struct addrinfo.ai_addr... yes checking if fcntl.h defines O_NONBLOCK... yes checking if fcntl.h defines O_BINARY... no checking if fcntl.h defines O_TEXT... no checking if fcntl.h defines F_SETLK... yes checking if sys/file.h defines LOCK_SH... yes checking if sys/file.h defines LOCK_EX... yes checking for sigsetjmp... yes checking for library containing xmalloc... no checking for library containing xrealloc... no checking for library containing xstrdup... no checking for library containing bsd_signal... none required checking for library containing getopt_long... none required checking for library containing getaddrinfo... none required checking for library containing freeaddrinfo... none required checking for library containing gai_strerror... none required checking for library containing inet_ntop... none required checking for library containing inet_aton... none required checking for daemon... yes checking for dup2... yes checking if netinet/in.h defines IPPORT_TFTP... yes checking for library containing yp_get_default_domain... no checking for main in -lwrap... no checking for tcpwrappers... no checking for regex.h... yes checking for library containing regcomp... none required checking for readline/readline.h... yes checking for library containing tputs... -ltermcap checking for library containing readline... -lreadline checking for readline/history.h... yes checking for struct sockaddr_in6.sin6_addr... yes checking for IPv6 support... yes checking for struct in6_pktinfo.ipi6_addr... yes checking whether ln -s works... yes checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating MCONFIG config.status: creating aconfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-dependency-tracking : Generated by side effect /usr/bin/make -C lib /usr/bin/make -C common make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xrealloc.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xmalloc.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c xstrdup.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/common' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftpsubs.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' rm -f libxtra.a ar cq libxtra.a xmalloc.o xrealloc.o xstrdup.o ranlib libxtra.a make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/common' rm -f libcommon.a ar cq libcommon.a tftpsubs.o ranlib libcommon.a make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/common' /usr/bin/make -C tftp /usr/bin/make -C tftpd make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' sed -e 's/@@VERSION@@/5.2/g' < tftp.1.in > tftp.1 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' sed -e 's/@@VERSION@@/5.2/g' < tftpd.8.in > tftpd.8 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c misc.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c recvfrom.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftp.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' tftp.c: In function 'tftp_sendfile': tftp.c:88:5: warning: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 88 | bsd_signal(SIGALRM, timer); | ^~~~~~~~~~ | ssignal tftp.c:88:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c remap.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c main.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' main.c: In function 'main': main.c:313:5: warning: implicit declaration of function 'bsd_signal'; did you mean 'ssignal'? [-Wimplicit-function-declaration] 313 | bsd_signal(SIGINT, intr); | ^~~~~~~~~~ | ssignal main.c:313:5: warning: nested extern declaration of 'bsd_signal' [-Wnested-externs] main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:249:25: note: called from here 249 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:271:25: note: called from here 271 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:284:21: note: called from here 284 | usage(*optx == 'h' ? 0 : EX_USAGE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^~~~~ main.c:289:17: note: called from here 289 | usage(EX_USAGE); | ^~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -W -Wall -Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow -Wsign-compare -pipe -fno-strict-aliasing -I/builddir/build/BUILD/tftp-hpa-5.2 -c tftpd.c make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' tftpd.c: In function 'main': tftpd.c:392:46: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 392 | snprintf(envtz, sizeof(envtz) - 1, "UTC%+d", (p_tm->tm_gmtoff * -1)/3600); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %+ld tftpd.c: In function 'tftp_recvfile': tftpd.c:1674:69: warning: argument 'oap' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 1674 | static void tftp_recvfile(const struct formats *pf, struct tftphdr *oap, int oacklen) | ~~~~~~~~~~~~~~~~^~~ make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 tftp.o main.o ../common/libcommon.a -lreadline -ltermcap /builddir/build/BUILD/tftp-hpa-5.2/lib/libxtra.a -o tftp make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' main.c: In function 'main': main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^ main.c:249:25: note: called from here 249 | usage(EX_USAGE); | ^ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^ main.c:271:25: note: called from here 271 | usage(EX_USAGE); | ^ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^ main.c:284:21: note: called from here 284 | usage(*optx == 'h' ? 0 : EX_USAGE); | ^ main.c:194:20: warning: inlining failed in call to 'usage': call is unlikely and code size would grow [-Winline] 194 | static inline void usage(int errcode) | ^ main.c:289:17: note: called from here 289 | usage(EX_USAGE); | ^ make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 tftpd.o recvfrom.o misc.o remap.o ../common/libcommon.a /builddir/build/BUILD/tftp-hpa-5.2/lib/libxtra.a -o tftpd make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MdzScD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 + cd tftp-hpa-5.2 + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/bin + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man1 /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/var/lib/tftpboot + mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/lib/systemd/system + make INSTALLROOT=/builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 SBINDIR=/usr/sbin MANDIR=/usr/share/man 'INSTALL=install -p' install make -C lib install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/lib' make -C common install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/common' make -C tftp install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/bin /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man1 install -p tftp /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/bin install -p -m 644 tftp.1 /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftp' make -C tftpd install make[1]: Entering directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/sbin /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man8 install -p tftpd /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/sbin/in.tftpd install -p -m 644 tftpd.8 /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man8/in.tftpd.8 cd /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/man/man8 && ln -s -f in.tftpd.8 tftpd.8 make[1]: Leaving directory '/builddir/build/BUILD/tftp-hpa-5.2/tftpd' + install -p -m 644 /builddir/build/SOURCES/tftp.socket /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/tftp.service /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/lib/systemd/system + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.2-5.ocs23 --unique-debug-suffix -5.2-5.ocs23.loongarch64 --unique-debug-src-base tftp-5.2-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/tftp-hpa-5.2 extracting debug info from /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/sbin/in.tftpd extracting debug info from /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/bin/tftp 277 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: tftp-5.2-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zlV4zU + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + DOCDIR=/builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp + cp -pr README /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp + cp -pr README.security /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp + cp -pr CHANGES /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp + RPM_EC=0 ++ jobs -p + exit 0 Provides: tftp = 5.2-5.ocs23 tftp(loongarch-64) = 5.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: tftp-server-5.2-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CHo0Xc + umask 022 + cd /builddir/build/BUILD + cd tftp-hpa-5.2 + DOCDIR=/builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp-server + cp -pr README /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp-server + cp -pr README.security /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp-server + cp -pr CHANGES /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64/usr/share/doc/tftp-server + RPM_EC=0 ++ jobs -p + exit 0 Provides: tftp-server = 5.2-5.ocs23 tftp-server(loongarch-64) = 5.2-5.ocs23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh Requires(postun): /bin/sh systemd-units Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: tftp-debugsource-5.2-5.ocs23.loongarch64 Provides: tftp-debugsource = 5.2-5.ocs23 tftp-debugsource(loongarch-64) = 5.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tftp-debuginfo-5.2-5.ocs23.loongarch64 Provides: debuginfo(build-id) = e55d7252b7e204ce89d7c7905b3bde7f7c566473 tftp-debuginfo = 5.2-5.ocs23 tftp-debuginfo(loongarch-64) = 5.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tftp-debugsource(loongarch-64) = 5.2-5.ocs23 Processing files: tftp-server-debuginfo-5.2-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 1e52645f1df64668efed10ae87faec80851066d0 tftp-server-debuginfo = 5.2-5.ocs23 tftp-server-debuginfo(loongarch-64) = 5.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tftp-debugsource(loongarch-64) = 5.2-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tftp-5.2-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/tftp-debuginfo-5.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/tftp-server-5.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/tftp-debugsource-5.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/tftp-5.2-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/tftp-server-debuginfo-5.2-5.ocs23.loongarch64.rpm Child return code was: 0