Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/screen.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1643133396.596187/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'cf4074d3f67f4a6fb93b7268b323b538', '-D', '/var/lib/mock/centos-stream-9-x86_64-1643133396.596187/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/screen.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1534118400 Wrote: /builddir/build/SRPMS/screen-4.6.2-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/screen.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1643133396.596187/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'bd06e0dea62c465994e395dbfce48dd1', '-D', '/var/lib/mock/centos-stream-9-x86_64-1643133396.596187/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rb90s36e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/screen.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1534118400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ITezle + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf screen-4.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/screen-4.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd screen-4.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/screen-4.3.1-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/screen-4.3.1-screenrc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/screen-E3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/screen-4.3.1-suppress_remap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/screen-4.3.1-crypt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/screen-4.5.1-texinfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7KUAAU + umask 022 + cd /builddir/build/BUILD + cd screen-4.6.2 + ./autogen.sh autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-01-25 17:58:59.136659193 +0000 +++ ./configure 2022-01-25 17:58:59.294660907 +0000 @@ -1743,7 +1743,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/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ getent group tty ++ cut -d : -f 3 + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pam --enable-colors256 --enable-rxvt_osc --enable-use-locale --enable-telnet --with-pty-mode=0620 --with-pty-group=5 --with-sys-screenrc=/etc/screenrc --with-socket-dir=/run/screen configure: WARNING: unrecognized options: --disable-dependency-tracking this is screen version 4.6.2 checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c configure: checking for buggy tools... - sh is 'GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu)'. checking if a system-wide socket dir should be used... yes checking for the socket dir... "/run/screen" configure: checking for MIPS... configure: checking for Ultrix... configure: checking for butterfly... configure: checking for POSIX.1... - you have a POSIX system configure: checking for System V... configure: checking for sequent/ptx... configure: checking SVR4... checking dwarf.h usability... no checking dwarf.h presence... no checking for dwarf.h... no checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking for string.h... (cached) yes checking for strings.h... (cached) yes configure: checking for Solaris 2.x... configure: checking BSD job jontrol... - you have jobcontrol configure: checking setresuid... configure: checking setreuid... configure: checking seteuid... configure: checking execvpe... configure: checking select... configure: checking fifos... - your fifos are usable configure: checking for broken fifo implementation... - your implementation is ok configure: checking sockets... - your sockets are usable configure: checking socket implementation... - you are normal - select can't count configure: checking for tgetent... configure: checking libtinfo... - you use the terminfo database configure: checking ospeed... configure: checking for /dev/ptc... configure: checking for SVR4 ptys... checking for getpt... yes configure: checking for ptyranges... configure: checking getutent... configure: checking ut_host... checking utempter.h usability... no checking utempter.h presence... no checking for utempter.h... no configure: checking getloadavg... assuming posix signal definition configure: checking for crypt and sec libraries... configure: checking crypt... configure: checking IRIX sun library... configure: checking syslog... configure: checking wait union... configure: checking for termio or termios... configure: checking getspnam... configure: checking getttyent... configure: checking fdwalk... configure: checking whether memcpy/memmove/bcopy handles overlapping arguments... checking for long file names... yes checking for vsprintf... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for setenv... checking for nl_langinfo(CODESET)... yes checking for library containing gethostname... none required checking for rename... yes checking for fchmod... yes checking for fchown... yes checking for strerror... yes checking for lstat... yes checking for _exit... yes checking for utimes... yes checking for vsnprintf... yes checking for getcwd... yes checking for setlocale... yes checking for strftime... yes checking for PAM support... yes checking for the global screenrc file... configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing default commands configure: WARNING: unrecognized options: --disable-dependency-tracking Now please check the pathnames in the Makefile and in the user configuration section in config.h. Then type 'make' to make screen. Good luck. + sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h + sed -i -e 's/\(\/usr\)\?\/local\/etc/\/etc/g;' doc/screen.1 doc/screen.texinfo + for i in doc/screen.texinfo + iconv -f iso8859-1 -t utf-8 + mv -f doc/screen.texinfo.utf8 doc/screen.texinfo + rm -f 'doc/screen.info*' + make CPP="gcc -E -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh AWK=gawk CC="gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE" srcdir=. sh ./comm.sh AWK=gawk srcdir=. sh ./term.sh gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE screen.c screen.c: In function 'main': screen.c:624:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 624 | if (--ac == 0) | ^~ screen.c:626:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 626 | nwin_options.histheight = atoi(*++av); | ^~~~~~~~~~~~ screen.c: In function 'Finit': screen.c:1818:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1818 | if (D_status) | ^~ screen.c:1820:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1820 | FinitTerm(); | ^~~~~~~~~ screen.c: In function 'backtick_fn': screen.c:2293:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2293 | for (k = i - j - 2; k >= 0; k--) | ^~~ screen.c:2296:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2296 | k++; | ^ screen.c: In function 'MakeWinMsgEv': screen.c:2677:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2677 | for (bt = backticks; bt; bt = bt->next) | ^~~ screen.c:2680:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 2680 | if (bt == 0) { | ^~ screen.c:2713:15: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 2713 | char *ss; | ^~ screen.c:2773:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2773 | if (i != 1 || rbuf[0] != '-') | ^~ screen.c:2775:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2775 | if (r != -1 || (i == 1 && rbuf[0] == '-')) { | ^~ screen.c: In function 'serv_select_fn': screen.c:3180:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3180 | for (cv = D_cvlist; cv; cv = cv->c_next) | ^~~ screen.c:3183:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3183 | if (cv) | ^~ screen.c:3208:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3208 | if (D_status == STATUS_ON_WIN) | ^~ screen.c:3211:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3211 | for (cv = D_cvlist; cv; cv = cv->c_next) { | ^~~ screen.c: In function 'ParseChar': screen.c:3349:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 3349 | else | ^~~~ screen.c:3351:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 3351 | ++p; | ^~ screen.c: In function 'main': screen.c:1118:16: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1118 | (void) chown(SockPath, real_uid, real_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ screen.c:1178:5: note: in expansion of macro 'SET_GUID' 1178 | SET_GUID(); | ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ screen.c:1178:5: note: in expansion of macro 'SET_GUID' 1178 | SET_GUID(); | ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ screen.c:1197:5: note: in expansion of macro 'SET_GUID' 1197 | SET_GUID(); | ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ screen.c:1197:5: note: in expansion of macro 'SET_GUID' 1197 | SET_GUID(); | ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ screen.c:1224:5: note: in expansion of macro 'SET_GUID' 1224 | SET_GUID(); | ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ screen.c:1224:5: note: in expansion of macro 'SET_GUID' 1224 | SET_GUID(); | ^~~~~~~~ screen.c:981:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | setgid(real_gid); \ | ^~~~~~~~~~~~~~~~ screen.c:1258:5: note: in expansion of macro 'SET_GUID' 1258 | SET_GUID(); | ^~~~~~~~ screen.c:982:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | setuid(real_uid); \ | ^~~~~~~~~~~~~~~~ screen.c:1258:5: note: in expansion of macro 'SET_GUID' 1258 | SET_GUID(); | ^~~~~~~~ screen.c:1306:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1306 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1307:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1307 | freopen("/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:1312:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 1312 | freopen("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'serv_select_fn': screen.c:3134:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3134 | write(W_UWP(fore) ? fore->w_pwin->p_ptyfd : fore->w_ptyfd, &ibuf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'CoreDump': screen.c:1650:3: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1650 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ screen.c:1651:3: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1651 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ screen.c:1665:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1665 | write(disp->d_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'eexit': screen.c:1843:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1843 | setgid(real_gid); | ^~~~~~~~~~~~~~~~ screen.c:1844:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1844 | setuid(real_uid); | ^~~~~~~~~~~~~~~~ screen.c: In function 'Msg': screen.c:2110:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2110 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'Panic': screen.c:2148:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2148 | write(D_userfd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:2149:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2149 | write(D_userfd, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'QueryMsg': screen.c:2179:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2179 | write(queryflag, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c: In function 'WindowDied': screen.c:1546:35: warning: '%s' directive writing up to 99 bytes into a region of size 86 [-Wformat-overflow=] 1546 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); | ^~ ~~~~~~ screen.c:1546:18: note: assuming directive output of 1 byte 1546 | sprintf(buf, "\n\r=== Command %s (%s) ===", reason, s ? s : "?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from os.h:30, from screen.h:30, from screen.c:98: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 22 or more bytes (assuming 122) into a destination of size 100 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from screen.c:47: In function 'strncpy', inlined from 'main' at screen.c:1274:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE ansi.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE fileio.c fileio.c: In function 'WriteFile': fileio.c:455:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 455 | for (j = fore->w_width - 2; j > 0; j--) | ^~~ fileio.c:457:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 457 | fputs("<\n", f); | ^~~~~ fileio.c:465:21: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 465 | for (j = 0; j <= k; j++) | ^~~ fileio.c:467:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 467 | putc('\n', f); | ^~~~ fileio.c:475:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 475 | for (j = 0; j <= k; j++) | ^~~ fileio.c:477:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 477 | putc('\n', f); | ^~~~ fileio.c:491:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 491 | for (i = user->u_plop.len; i-- > 0; p++) | ^~~ fileio.c:496:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 496 | break; | ^~~~~ fileio.c:426:13: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ fileio.c: In function 'printpipe': fileio.c:716:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 716 | dup(pi[0]); | ^~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE mark.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE misc.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE resize.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE socket.c socket.c: In function 'SendErrorMsg': socket.c:754:10: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 754 | (void) write(s, (char *) &m, sizeof m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'CreateTempDisplay': socket.c:958:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 958 | write(i, "Attaching from inside of screen?\n", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:969:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 969 | write(i, "Access to session denied.\n", 26); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c:993:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 993 | write(i, "Could not make display.\n", 24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE search.c search.c: In function 'matchword': search.c:148:18: warning: unused variable 'ip' [-Wunused-variable] 148 | unsigned char *ip, *cp, *pp, *cpe; | ^~ sh ./tty.sh tty.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE tty.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE term.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE window.c window.c: In function 'ForkWindow': window.c:1295:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1295 | dup(slave); | ^~~~~~~~~~ window.c:1346:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1346 | dup(newfd); | ^~~~~~~~~~ window.c:1350:15: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | dup(win->w_ptyfd); | ^~~~~~~~~~~~~~~~~ window.c: In function 'CloseDevice': window.c:982:13: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 982 | (void)chown(wp->w_tty, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'FreePseudowin': window.c:1702:9: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 1702 | (void)chown(pwin->p_tty, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ window.c: In function 'RemakeWindow': window.c:924:19: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] 924 | p->w_writeev.fd = f; | ~~~~~~~~~~~~~~~~^~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE utmp.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE loadav.c loadav.c: In function 'GetLoadav': loadav.c:89:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | fgets(buf, sizeof(buf), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE putenv.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE help.c help.c: In function 'bindkeypage': help.c:807:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 807 | if ((kme->fl & KMAP_NOTIMEOUT) != 0) | ^~ help.c:809:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 809 | act = bindkeydata->tab == dmtab ? &kme->dm : bindkeydata->tab == mmtab ? &kme->mm : &kme->um; | ^~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE termcap.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE input.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE attacher.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE pty.c In file included from /usr/include/string.h:519, from os.h:86, from screen.h:30, from pty.c:35: In function 'strncpy', inlined from 'OpenPTY' at pty.c:282:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE process.c process.c: In function 'DoAction': process.c:3857:11: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 3857 | else | ^~~~ process.c:3859:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 3859 | break; | ^~~~~ process.c: In function 'pow_detach_fn': process.c:6277:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6277 | write(D_userfd, "\007", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE display.c display.c: In function 'RefreshHStatus': display.c:2282:60: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] 2282 | int extrabytes = strlen(hstatusstring) - strlen_onscreen(hstatusstring, NULL); | ^~~~~~~~~~~~~ | | | char * display.c:2129:32: note: expected 'unsigned char *' but argument is of type 'char *' 2129 | strlen_onscreen(unsigned char *c, unsigned char *end) | ~~~~~~~~~~~~~~~^ display.c: In function 'RefreshLine': display.c:2385:72: warning: pointer targets in passing argument 1 of 'strlen_onscreen' differ in signedness [-Wpointer-sign] 2385 | int extrabytes = strlen(captionstring) - strlen_onscreen(captionstring, NULL); | ^~~~~~~~~~~~~ | | | char * display.c:2129:32: note: expected 'unsigned char *' but argument is of type 'char *' 2129 | strlen_onscreen(unsigned char *c, unsigned char *end) | ~~~~~~~~~~~~~~~^ display.c: In function 'DisplaySleep1000': display.c:3147:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3147 | read(D_userfd, &buf, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'RunBlanker': display.c:3782:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 3782 | dup(0); | ^~~~~~ display.c:3783:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 3783 | dup(0); | ^~~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE comm.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE kmapdef.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE acls.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE braille.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE braille_tsi.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE logfile.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE layer.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE list_generic.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE list_display.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE list_window.c list_window.c: In function 'WListUpdatecv': list_window.c:674:26: warning: variable 'wdata' set but not used [-Wunused-but-set-variable] 674 | struct gl_Window_Data *wdata; | ^~~~~ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE sched.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE teln.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE nethack.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE encoding.c In file included from screen.h:150, from encoding.c:27: encoding.c: In function 'AddUtf8': display.h:311:18: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] 311 | *D_obufp++ = (c); \ | ^ encoding.c:682:11: note: in expansion of macro 'AddChar' 682 | AddChar((c & 0x3000000) >> 12 ^ 0xf8); | ^~~~~~~ encoding.c: In function 'ToUtf8': encoding.c:727:20: warning: overflow in conversion from 'int' to 'char' changes value from 'c >> 12 & 12288^ 248' to '-8' [-Woverflow] 727 | *p++ = (c & 0x3000000) >> 12 ^ 0xf8; | ^ gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE canvas.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE layout.c gcc -c -I. -I. -DETCSCREENRC='"/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE viewport.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -ltinfo -lcrypt -lpam + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.adwpns + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 + cd screen-4.6.2 + rm -rf /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 ./etc/mkinstalldirs /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/screen/utf8encodings mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/screen mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/screen/utf8encodings cd doc ; make installdirs make[1]: Entering directory '/builddir/build/BUILD/screen-4.6.2/doc' ./../etc/mkinstalldirs /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info make[1]: Leaving directory '/builddir/build/BUILD/screen-4.6.2/doc' if [ -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 ] && [ ! -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2.old ]; \ then mv /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2.old; fi /usr/bin/install -c screen /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 chown root /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 && chmod 4755 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 chown: changing ownership of '/builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2': Operation not permitted if [ -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen ] && [ ! -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen.old ]; then mv /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen.old; fi make: [Makefile:88: install_bin] Error 1 (ignored) rm -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen (cd /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin && ln -f -s screen-4.6.2 screen) cp ./utf8encodings/?? /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/screen/utf8encodings cd doc ; make install make[1]: Entering directory '/builddir/build/BUILD/screen-4.6.2/doc' ./../etc/mkinstalldirs /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info /usr/bin/install -c -m 644 ./screen.1 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/man/man1/screen.1 make screen.info make[2]: Entering directory '/builddir/build/BUILD/screen-4.6.2/doc' makeinfo ./screen.texinfo -o screen.info make[2]: Leaving directory '/builddir/build/BUILD/screen-4.6.2/doc' if test -f screen.info; then d=.; else d=.; fi; \ if test -f $d/screen.info; then \ for f in $d/screen.info*; do /usr/bin/install -c -m 644 $f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info;done; \ if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --info-dir=/builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info $d/screen.info; \ else true; fi; \ fi make[2]: makeinfo: No such file or directory make[2]: *** [Makefile:31: screen.info] Error 127 make[1]: [Makefile:35: install] Error 2 (ignored) make[1]: Leaving directory '/builddir/build/BUILD/screen-4.6.2/doc' if [ -d /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/lib/terminfo ]; then \ PATH="$PATH:/usr/5bin" tic ./terminfo/screeninfo.src; \ chmod 644 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/lib/terminfo/s/screen*; \ fi termcap entry (./terminfo/screencap) should be installed manually. You may also want to install ./etc/etcscreenrc in /etc/screenrc + mv -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen-4.6.2 /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen + mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/etc + install -m 0644 etc/etcscreenrc /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/etc/screenrc + cat etc/screenrc + mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/etc/pam.d + install -p -m 0644 /builddir/build/SOURCES/screen.pam /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/etc/pam.d/screen + mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/run/screen + mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/lib/tmpfiles.d + cat + rm -f /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 4.6.2-5.el9 --unique-debug-suffix -4.6.2-5.el9.x86_64 --unique-debug-src-base screen-4.6.2-5.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/screen-4.6.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen extracting debug info from /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/bin/screen original debug info size: 1552kB, size after compression: 1288kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2278 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: screen-4.6.2-5.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qTGuuI + umask 022 + cd /builddir/build/BUILD + cd screen-4.6.2 + DOCDIR=/builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + cp -pr README /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + cp -pr doc/FAQ /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + cp -pr doc/README.DOTSCREEN /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + cp -pr ChangeLog /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/doc/screen + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.d2MYYd + umask 022 + cd /builddir/build/BUILD + cd screen-4.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/licenses/screen + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/licenses/screen + cp -pr COPYING /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64/usr/share/licenses/screen + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(screen) = 4.6.2-5.el9 screen = 4.6.2-5.el9 screen(x86-64) = 4.6.2-5.el9 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(pre): /bin/sh /usr/sbin/groupadd Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info 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) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: screen-debugsource-4.6.2-5.el9.x86_64 Provides: screen-debugsource = 4.6.2-5.el9 screen-debugsource(x86-64) = 4.6.2-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: screen-debuginfo-4.6.2-5.el9.x86_64 Provides: debuginfo(build-id) = dc235cd3154738348116a66af73b0202bf56e45e screen-debuginfo = 4.6.2-5.el9 screen-debuginfo(x86-64) = 4.6.2-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: screen-debugsource(x86-64) = 4.6.2-5.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 Wrote: /builddir/build/RPMS/screen-debuginfo-4.6.2-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/screen-debugsource-4.6.2-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/screen-4.6.2-5.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MA6zyU + umask 022 + cd /builddir/build/BUILD + cd screen-4.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/screen-4.6.2-5.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0