Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tinyfugue.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-164998-10179/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/tinyfugue.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tinyfugue-5.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tinyfugue.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-164998-10179/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/tinyfugue.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.S18KEI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tf-50b8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tf-50b8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tf-50b8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tf-50b8.pcre.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tf-allrootpatch.txt + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tf-allsrcpatch.txt + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Add-DESTDIR-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Correct-use-of-va_list.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-Minor-man-page-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-Support-GnuTLS-via-OpenSSL-compat-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Make-the-build-reproducible.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-Fix-library-install-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0007-Fix-spelling-errors.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0008-Fix-duplicate-world_decl-definitions.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0009-Fix-spelling-error-in-manual-page.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tinyfigue-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tinyfugue-malloc-c99.h + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tinyfugue-tfio-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rfv src/pcre-2.08 removed 'src/pcre-2.08/Makefile' removed 'src/pcre-2.08/ChangeLog' removed 'src/pcre-2.08/testoutput3' removed 'src/pcre-2.08/testinput1' removed 'src/pcre-2.08/get.c' removed 'src/pcre-2.08/pcre.def' removed 'src/pcre-2.08/testoutput1' removed 'src/pcre-2.08/pcre.h' removed 'src/pcre-2.08/Tech.Notes' removed 'src/pcre-2.08/internal.h' removed 'src/pcre-2.08/testoutput2' removed 'src/pcre-2.08/pgrep.1' removed 'src/pcre-2.08/pcretest.c' removed 'src/pcre-2.08/dll.mk' removed 'src/pcre-2.08/pgrep.1.html' removed 'src/pcre-2.08/testinput2' removed 'src/pcre-2.08/pcre.3' removed 'src/pcre-2.08/pcreposix.3' removed 'src/pcre-2.08/pgrep.1.txt' removed 'src/pcre-2.08/pcreposix.c' removed 'src/pcre-2.08/pcre.c' removed 'src/pcre-2.08/perltest' removed 'src/pcre-2.08/study.c' removed 'src/pcre-2.08/dftables.c' removed 'src/pcre-2.08/pcre.3.txt' removed 'src/pcre-2.08/maketables.c' removed 'src/pcre-2.08/pcre.3.html' removed 'src/pcre-2.08/testoutput4' removed 'src/pcre-2.08/RunTest' removed 'src/pcre-2.08/pgrep.c' removed 'src/pcre-2.08/README' removed 'src/pcre-2.08/testinput3' removed 'src/pcre-2.08/pcreposix.3.html' removed 'src/pcre-2.08/pcreposix.3.txt' removed 'src/pcre-2.08/LICENCE' removed 'src/pcre-2.08/testinput4' removed 'src/pcre-2.08/pcreposix.h' removed directory 'src/pcre-2.08' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HA7GnQ + 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 -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/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 tf-50b8 + export 'CPPFLAGS=-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CPPFLAGS='-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + '[' '-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 --- ./configure.backup 2024-05-14 23:08:00.553023039 +0800 +++ ./configure 2024-05-14 23:08:00.582022906 +0800 @@ -7938,7 +7938,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8115,7 +8115,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8219,7 +8219,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8340,7 +8340,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8456,7 +8456,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -8579,7 +8579,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + mv ./configure.backup ./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' ./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=x86_64-opencloudos-linux-gnu --host=x86_64-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 --enable-core --enable-inet6 --enable-ssl --enable-atcp --enable-gmcp --enable-option102 configure: Configuring TinyFugue version 5.0 beta 8 configure: configure: Core dumps enabled. checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for inline... yes checking for library containing select... none required checking for library containing gethostbyname... none required checking for main in -linet... no checking for main in -lnet... no checking for library containing connect... none required checking for library containing setlocale... none required checking for libcrypto and libssl... yes checking for ssl kerberos dependency... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for library containing tgetent... -ltermcap checking for library containing sqrt... -lm checking for inflate in -lz... no checking for pcre_compile in -lpcre... yes checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking for memory.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking whether struct sockaddr has sa_len... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for pid_t... yes checking for size_t... yes checking for time_t... yes checking for socklen_t... yes checking for strftime... yes checking for h_errno... no checking for strstr... yes checking for strtol... yes checking for bcopy... yes checking for bzero... yes checking for connect... yes checking for fileno... yes checking for getcwd... yes checking for gethostname... yes checking for gethostbyname... yes checking for getipnodebyname... no checking for getpwnam... yes checking for gettimeofday... yes checking for getwd... yes checking for hstrerror... yes checking for index... yes checking for inet_aton... yes checking for getaddrinfo... yes checking for gai_strerror... yes checking for kill... yes checking for memcpy... yes checking for memset... yes checking for raise... yes checking for setlocale... yes checking for setrlimit... yes checking for sigaction... yes checking for srand... yes checking for srandom... yes checking for strcasecmp... yes checking for strchr... yes checking for strcmpi... no checking for strcspn... yes checking for strerror... yes checking for stricmp... no checking for strtod... yes checking for tzset... yes checking for waitpid... yes checking for IPv6 address structure... in6_addr checking location of mail directory... /var/spool/mail configure: creating ./config.status config.status: creating Makefile config.status: creating unix/vars.mak config.status: creating src/tfdefs.h config.status: creating src/tfconfig.h config.status: executing default commands configure: ##################################################### ## prefix: /usr ## exec_prefix: /usr ## bindir: /usr/bin ## datadir: /usr/share ## executable: ${bindir}/tf ## library: ${datadir}/tf-lib ## ## TinyFugue configuration successful. ## Use "make" to build. + /usr/bin/make -O -j32 V=1 VERBOSE=1 if test -d ../help; then cd ../help; /usr/bin/make tf-help; fi make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' if test -d ../help; then cp ../help/tf-help ../tf-lib; fi make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o malloc.o malloc.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' malloc.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: malloc.c,v 35004.22 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tty.o tty.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' tty.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: tty.c,v 35004.38 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -o makehelp makehelp.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' makehelp.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: makehelp.c,v 35004.18 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ /usr/bin/make -f ../unix/unix.mak 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share' makehelp make[2]: 'makehelp' is up to date. make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' ./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o help.o help.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' help.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: help.c,v 35004.35 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o main.o main.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' main.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: main.c,v 35004.115 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o search.o search.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' search.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: search.c,v 35004.32 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dstring.o dstring.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' dstring.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: dstring.c,v 35004.49 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o keyboard.o keyboard.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' keyboard.c: In function 'do_kbword': keyboard.c:388:52: warning: argument 1 null where non-null expected [-Wnonnull] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:396:30: note: in expansion of macro 'is_inword' 396 | while (place != stop && !is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ In file included from port.h:85, from keyboard.c:16: /usr/include/string.h:246:14: note: in a call to function 'strchr' declared 'nonnull' 246 | extern char *strchr (const char *__s, int __c) | ^~~~~~ keyboard.c:388:52: warning: argument 1 null where non-null expected [-Wnonnull] 388 | #define is_inword(c) (is_alnum(c) || (wordpunct && strchr(wordpunct, (c)))) | ^~~~~~ keyboard.c:397:29: note: in expansion of macro 'is_inword' 397 | while (place != stop && is_inword(keybuf->data[place])) place += dir; | ^~~~~~~~~ /usr/include/string.h:246:14: note: in a call to function 'strchr' declared 'nonnull' 246 | extern char *strchr (const char *__s, int __c) | ^~~~~~ keyboard.c: At top level: keyboard.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: keyboard.c,v 35004.88 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pattern.o pattern.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' pattern.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: pattern.c,v 35004.4 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o signals.o signals.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' signals.c: In function 'get_exename': signals.c:506:32: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 506 | sprintf(exebuf, "%.*s/%s", len, dir, argv0); | ~~^~ ~~~ | | | | int size_t {aka long unsigned int} signals.c:508:35: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ~~^~ ~~~ | | | | int size_t {aka long unsigned int} signals.c: In function 'debugger_dump': signals.c:534:19: warning: variable 'wait_pid' set but not used [-Wunused-but-set-variable] 534 | pid_t wait_pid = 0; | ^~~~~~~~ signals.c: In function 'init_exename': signals.c:437:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 437 | getcwd(initial_dir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c: At top level: signals.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: signals.c,v 35004.70 2007/01/14 19:28:36 kkeys Exp $"; | ^~~~~ signals.c: In function 'debugger_dump': signals.c:508:33: warning: '%.*s' directive writing up to 2147483647 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ^~~~ In function 'get_exename', inlined from 'debugger_dump' at signals.c:526:20: signals.c:508:29: note: assuming directive output of 1 byte 508 | sprintf(exebuf, "%s/%.*s/%s", initial_dir, len, dir, argv0); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from port.h:66, from signals.c:15: In function 'sprintf', inlined from 'get_exename' at signals.c:508:6, inlined from 'debugger_dump' at signals.c:526:20: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 3 or more bytes (assuming 1028) into a destination of size 1025 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ signals.c: In function 'debugger_dump': signals.c:497:31: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 497 | sprintf(exebuf, "%s/%s", initial_dir, argv0); | ^ In function 'sprintf', inlined from 'get_exename' at signals.c:497:2, inlined from 'debugger_dump' at signals.c:526:20: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 2 or more bytes (assuming 1026) into a destination of size 1025 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ signals.c: In function 'debugger_dump': signals.c:548:65: warning: '%s' directive writing up to 1024 bytes into a region of size between 960 and 2014 [-Wformat-overflow=] 548 | sprintf(cmd, "chmod go-rwx %s; gdb -n -batch -x %s '%s' %d " | ^~ In function 'sprintf', inlined from 'debugger_dump' at signals.c:548:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 46 and 2165 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o process.o process.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' process.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: process.c,v 35004.71 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ process.c: In function 'handle_ps_command': process.c:180:13: warning: 'disp' may be used uninitialized [-Wmaybe-uninitialized] 180 | oprintf("%5d %s q %c %s %s%c\"%S\"%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 181 | p->pid, nbuf, disp, obuf, p->pre, p->type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | p->cmd, p->suf); | ~~~~~~~~~~~~~~~ process.c:174:18: note: 'disp' was declared here 174 | char disp; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o world.o world.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' world.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: world.c,v 35004.77 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o attr.o attr.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' attr.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: attr.c,v 35004.10 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ attr.c: In function 'encode_attr': attr.c:701:19: warning: 'attrs' may be used uninitialized [-Wmaybe-uninitialized] 701 | if (attrs & F_HWRITE) | ~~~~~~^~~~~~~~~~ attr.c:659:26: note: 'attrs' was declared here 659 | attr_t oldattrs = 0, attrs; | ^~~~~ attr.c: In function 'encode_ansi': attr.c:782:19: warning: 'attrs' may be used uninitialized [-Wmaybe-uninitialized] 782 | if (attrs & F_HWRITE) | ~~~~~~^~~~~~~~~~ attr.c:746:26: note: 'attrs' was declared here 746 | attr_t oldattrs = 0, attrs; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o command.o command.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' command.c: In function 'handle_limit_command': command.c:409:17: warning: variable 'had_filter' set but not used [-Wunused-but-set-variable] 409 | int result, had_filter, has_new_pat; | ^~~~~~~~~~ command.c: In function 'handle_echo_func': command.c:363:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 363 | write(STDOUT_FILENO, src->data, src->len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: At top level: command.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: command.c,v 35004.141 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o history.o history.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' history.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: history.c,v 35004.114 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o util.o util.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' In file included from util.c:29: util.c: In function 'ch_mailfile': util.h:32:37: warning: argument 1 null where non-null expected [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ util.c:640:42: note: in expansion of macro 'STRDUP' 640 | newlist = add_mail_file(newlist, STRDUP(MAIL)); | ^~~~~~ In file included from port.h:85, from util.c:27: /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ util.h:31:6: warning: argument 2 null where non-null expected [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ util.c:640:42: note: in expansion of macro 'STRDUP' 640 | newlist = add_mail_file(newlist, STRDUP(MAIL)); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/assert.h:35, from tfconfig.h:111, from util.c:20: /usr/include/bits/string_fortified.h:77:1: note: in a call to function 'strcpy' declared 'nonnull' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ util.c: At top level: util.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: util.c,v 35004.150 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o variable.o variable.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' variable.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: variable.c,v 35004.110 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tfio.o tfio.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' tfio.c: In function 'igetchar': tfio.c:774:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 774 | read(STDIN_FILENO, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ tfio.c: At top level: tfio.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: tfio.c,v 35004.114 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ tfio.c: In function 'vSprintf': tfio.c:597:46: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 597 | if (*fmt == 'b' && !is_print(*q)) { | ^ tfio.c:496:17: note: 'q' was declared here 496 | const char *q, *sval; | ^ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o macro.o macro.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' macro.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: macro.c,v 35004.188 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o expand.o expand.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' expand.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: expand.c,v 35004.232 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ expand.c: In function 'prog_interpret': expand.c:574:19: warning: 'constr' may be used uninitialized [-Wmaybe-uninitialized] 574 | str = execute_start(constr, &old_cmd); /*XXX optimize: don't dup buf */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:476:16: note: 'constr' was declared here 476 | conString *constr; | ^~~~~~ expand.c:588:16: warning: 'no_arg' may be used uninitialized [-Wmaybe-uninitialized] 588 | if (no_arg) Stringtrunc(buf, 0); | ^ expand.c:477:24: note: 'no_arg' was declared here 477 | int cip, stackbot, no_arg; | ^~~~~~ In file included from expand.c:31: parse.h: In function 'list': parse.h:137:25: warning: 'jump_point' may be used uninitialized [-Wmaybe-uninitialized] 137 | (prog)->code[(from)].arg.i = (to); \ | ^ expand.c:1318:22: note: 'jump_point' was declared here 1318 | int block_start, jump_point, oldlen; | ^~~~~~~~~~ expand.c:1318:9: warning: 'block_start' may be used uninitialized [-Wmaybe-uninitialized] 1318 | int block_start, jump_point, oldlen; | ^~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o socket.o socket.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' In file included from socket.c:68: socket.c: In function 'opensock': util.h:32:37: warning: argument 1 null where non-null expected [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ socket.c:1300:23: note: in expansion of macro 'STRDUP' 1300 | xsock->host = STRDUP(proxy_host); | ^~~~~~ In file included from /usr/include/openssl/ec.h:23, from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from socket.c:36: /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ util.h:31:6: warning: argument 2 null where non-null expected [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ socket.c:1300:23: note: in expansion of macro 'STRDUP' 1300 | xsock->host = STRDUP(proxy_host); | ^~~~~~ In file included from /usr/include/features.h:503, from /usr/include/assert.h:35, from tfconfig.h:111, from socket.c:21: /usr/include/bits/string_fortified.h:77:1: note: in a call to function 'strcpy' declared 'nonnull' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ util.h:32:37: warning: argument 1 null where non-null expected [-Wnonnull] 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~ util.h:31:28: note: in definition of macro 'STRNDUP' 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~ socket.c:1314:25: note: in expansion of macro 'STRDUP' 1314 | xsock->myhost = STRDUP(tfhost); | ^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'strlen' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ util.h:31:6: warning: argument 2 null where non-null expected [-Wnonnull] 31 | (strcpy(xmalloc(NULL, (len) + 1, __FILE__, __LINE__), (src))) | ^~~~~~ util.h:32:22: note: in expansion of macro 'STRNDUP' 32 | #define STRDUP(src) STRNDUP((src), strlen(src)) | ^~~~~~~ socket.c:1314:25: note: in expansion of macro 'STRDUP' 1314 | xsock->myhost = STRDUP(tfhost); | ^~~~~~ /usr/include/bits/string_fortified.h:77:1: note: in a call to function 'strcpy' declared 'nonnull' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ socket.c: In function 'handle_socket_lines': socket.c:2657:27: warning: assignment to 'String *' from incompatible pointer type 'conString *' [-Wincompatible-pointer-types] 2657 | incoming_text = line; | ^ socket.c: In function 'openconn': socket.c:1483:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1483 | read(xsock->fd, (char*)xsock->addrs, info.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'waitforhostname': socket.c:1809:9: warning: ignoring return value of 'writev' declared with attribute 'warn_unused_result' [-Wunused-result] 1809 | writev(fd, iov, niov); | ^~~~~~~~~~~~~~~~~~~~~ socket.c:1813:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1813 | write(fd, &hdr, sizeof(hdr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: At top level: socket.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: socket.c,v 35004.288 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ socket.c: In function 'ssl_io_err': socket.c:530:5: warning: 'fmt' may be used uninitialized [-Wmaybe-uninitialized] 530 | do_hook(hook, fmt, "%s %s %s", xsock->world->name, what, why); | ^~~~~~~ socket.c:519:17: note: 'fmt' was declared here 519 | const char *fmt; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o output.o output.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' output.c: In function 'init_term': output.c:547:13: warning: argument 1 null where non-null expected [-Wnonnull] 547 | if (strcmp(TERM, "xterm") == 0) { | ^~~~~~ In file included from port.h:85, from output.c:23: /usr/include/string.h:156:12: note: in a call to function 'strcmp' declared 'nonnull' 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ output.c:555:13: warning: argument 1 null where non-null expected [-Wnonnull] 555 | if (strcmp(TERM, "linux") == 0) { | ^~~~~~ /usr/include/string.h:156:12: note: in a call to function 'strcmp' declared 'nonnull' 156 | extern int strcmp (const char *__s1, const char *__s2) | ^~~~~~ output.c: At top level: output.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: output.c,v 35004.242 2007/01/14 00:44:19 kkeys Exp $"; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DDATADIR=/usr/share -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o expr.o expr.c make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' expr.c: In function 'reduce_arithmetic': expr.c:738:32: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] 738 | if (neg0 == neg1 && sum<0 != neg0) { | ~~~^~ expr.c: At top level: expr.c:8:19: warning: 'RCSid' defined but not used [-Wunused-const-variable=] 8 | static const char RCSid[] = "$Id: expr.c,v 35004.179 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ expr.c: In function 'reduce_arithmetic': expr.c:675:43: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized] 675 | ((res->type = TYPE_INT), (res->u.ival = (i)), 1) | ^ expr.c:667:33: note: 'sum' was declared here 667 | int int0, int1, neg0, neg1, sum; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o tf attr.o command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o output.o pattern.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o -lm -ltermcap -lssl -lcrypto -lpcre test -z ":" || : tf || true make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' ##################################################### ## TinyFugue build successful. make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' ## Use "/usr/bin/make install" to install: make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' ## tf binary: /usr/bin/tf ## library: /usr/share/tf-lib make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mmOPZY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 + cd tf-50b8 + mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64//usr + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/tf-50b8/src' if test -d ../help; then cd ../help; /usr/bin/make tf-help; fi if test -d ../help; then cp ../help/tf-help ../tf-lib; fi test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/bin" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/bin test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share cp tf /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/bin/tf chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/bin/tf ## Creating library directory... test -n "/usr/share/tf-lib" test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib" || mkdir /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib test -d "/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib" ## Copying library files... cd ../tf-lib; \ for f in *; do test -f $f && files="$files $f"; done; \ ( cd /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib; rm -f $files tf.help tf.help.index; ); \ cp $files /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib; \ cd /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib; \ chmod 755 $files; chmod ugo-wx $files rm -f /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib/CHANGES cp ../CHANGES /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib/CHANGES; chmod ugo-wx /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib/CHANGES chmod 755 /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/tf-lib ## Creating links so old library names still work... ##################################################### ## TinyFugue build successful. ## Use "/usr/bin/make install" to install: ## tf binary: /usr/bin/tf ## library: /usr/share/tf-lib test -z "default" || { rm -f default && ln -s /usr/bin/tf default; } ##################################################### ## TinyFugue installation successful. ## tf binary: /usr/bin/tf ## library: /usr/share/tf-lib make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' + install -D -p -m 644 src/tf.1.nroffman /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/man/man1/tf.1 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.0-1.ocs23 --unique-debug-suffix -5.0-1.ocs23.x86_64 --unique-debug-src-base tinyfugue-5.0-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/tf-50b8 extracting debug info from /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/bin/tf 1502 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: tinyfugue-5.0-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2vsAdY + umask 022 + cd /builddir/build/BUILD + cd tf-50b8 + DOCDIR=/builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + cp -pr CHANGES /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + cp -pr COPYING /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + cp -pr CREDITS /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + cp -pr README /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64/usr/share/doc/tinyfugue + RPM_EC=0 ++ jobs -p + exit 0 Provides: tinyfugue = 5.0-1.ocs23 tinyfugue(x86-64) = 5.0-1.ocs23 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.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpcre.so.1()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: tinyfugue-debugsource-5.0-1.ocs23.x86_64 Provides: tinyfugue-debugsource = 5.0-1.ocs23 tinyfugue-debugsource(x86-64) = 5.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tinyfugue-debuginfo-5.0-1.ocs23.x86_64 Provides: debuginfo(build-id) = 650bac4f783a399927034235f942d1ab30e894f4 tinyfugue-debuginfo = 5.0-1.ocs23 tinyfugue-debuginfo(x86-64) = 5.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tinyfugue-debugsource(x86-64) = 5.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tinyfugue-5.0-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/tinyfugue-debugsource-5.0-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/tinyfugue-5.0-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/tinyfugue-debuginfo-5.0-1.ocs23.x86_64.rpm Child return code was: 0