Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fbterm.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1659902504.829851/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.y0bzepot:/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.y0bzepot:/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', 'b98a1fb8ed744fbf9ebeb3685258b122', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1659902504.829851/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y0bzepot:/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/fbterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/fbterm-1.7-25.fc37.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/fbterm.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1659902504.829851/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.y0bzepot:/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.y0bzepot:/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', '71997f341f1a4b0d91c73df73973bf03', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1659902504.829851/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y0bzepot:/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/fbterm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4T9kF0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fbterm-1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fbterm-1.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fbterm-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #5 (fbterm-1.7-u16-build.patch):' Patch #5 (fbterm-1.7-u16-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .u16 --fuzz=0 patching file src/lib/vterm.cpp patching file src/lib/vterm_states.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iskudn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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 -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 -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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/fbterm-1.7/.package_note-fbterm-1.7-25.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh fbterm 1.7-25.fc37 x86_64 + cd fbterm-1.7 + autoreconf -iv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.ac:19: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:19: the top level configure.ac:24: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:24: the top level configure.ac:29: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:29: the top level configure.ac:34: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:34: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:34: the top level configure.ac:45: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:45: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:45: the top level configure.ac:59: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:59: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:59: the top level configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... configure.ac:87: the top level configure.ac:95: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2962: _AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force configure.ac:14: installing './compile' configure.ac:58: installing './config.guess' configure.ac:58: installing './config.sub' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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 -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 -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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/fbterm-1.7/.package_note-fbterm-1.7-25.fc37.x86_64.ld' + 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-08-07 20:02:58.914669073 +0000 +++ ./configure 2022-08-07 20:02:59.534670447 +0000 @@ -1818,7 +1818,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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./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 --disable-static --disable-rpath configure: WARNING: unrecognized options: --disable-static, --disable-rpath checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/fbterm-1.7/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/fbterm-1.7/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for forkpty in -lutil... yes checking for FT2... yes checking for FC... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for langinfo.h... yes checking for locale.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for linux/fb.h... yes checking for linux/kd.h... yes checking for linux/keyboard.h... yes checking for linux/input.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for memset... yes checking for memmove... yes checking for munmap... yes checking for nl_langinfo... yes checking for setenv... yes checking for setlocale... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strstr... yes checking for strtol... yes checking for gpm.h... yes checking for libx86.h... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating im/Makefile config.status: creating terminfo/Makefile config.status: creating doc/Makefile config.status: creating doc/fbterm.1 config.status: creating config.h config.status: linking src/input_key.h to im/input_key.h config.status: linking src/immessage.h to im/immessage.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-static, --disable-rpath configure: WARNING: libx86.h doesn't exist! VESA support will be disabled! + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7' Making all in src make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src/lib' g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-io.o `test -f 'io.cpp' || echo './'`io.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-shell.o `test -f 'shell.cpp' || echo './'`shell.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-vterm_action.o `test -f 'vterm_action.cpp' || echo './'`vterm_action.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-vterm.o `test -f 'vterm.cpp' || echo './'`vterm.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-vterm_states.o `test -f 'vterm_states.cpp' || echo './'`vterm_states.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-wcwidth.o `test -f 'wcwidth.cpp' || echo './'`wcwidth.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o libshell_a-charsetmap.o `test -f 'charsetmap.cpp' || echo './'`charsetmap.cpp rm -f libshell.a ar cru libshell.a libshell_a-io.o libshell_a-shell.o libshell_a-vterm_action.o libshell_a-vterm.o libshell_a-vterm_states.o libshell_a-wcwidth.o libshell_a-charsetmap.o ranlib libshell.a make[3]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src/lib' make[3]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src' g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbconfig.o `test -f 'fbconfig.cpp' || echo './'`fbconfig.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbio.o `test -f 'fbio.cpp' || echo './'`fbio.cpp fbconfig.cpp: In constructor 'Config::Config()': fbconfig.cpp:62:13: warning: unused variable 'ret' [-Wunused-variable] 62 | s32 ret = read(fd, mConfigBuf, cstat.st_size); | ^~~ fbconfig.cpp: In member function 'void Config::checkConfigFile(const s8*)': fbconfig.cpp:218:13: warning: unused variable 'ret' [-Wunused-variable] 218 | s32 ret = write(fd, defaultConfig, sizeof(defaultConfig) - 1); | ^~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbshell.o `test -f 'fbshell.cpp' || echo './'`fbshell.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbshellman.o `test -f 'fbshellman.cpp' || echo './'`fbshellman.cpp fbshell.cpp: In member function 'void FbShell::changeMode(VTerm::ModeType, u16)': fbshell.cpp:725:21: warning: unused variable 'ret' [-Wunused-variable] 725 | s32 ret = ::write(STDIN_FILENO, str, strlen(str)); | ^~~ fbshell.cpp: In member function 'void FbShell::switchVt(bool, FbShell*)': fbshell.cpp:557:24: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 557 | seteuid(0); | ~~~~~~~^~~ fbshell.cpp:564:24: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 564 | seteuid(getuid()); | ~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbterm.o `test -f 'fbterm.cpp' || echo './'`fbterm.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-font.o `test -f 'font.cpp' || echo './'`font.cpp fbterm.cpp: In member function 'void FbTerm::initChildProcess()': fbterm.cpp:282:15: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 282 | setuid(getuid()); | ~~~~~~^~~~~~~~~~ fbterm.cpp: In function 'int main(int, char**)': fbterm.cpp:293:16: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 293 | seteuid(getuid()); | ~~~~~~~^~~~~~~~~~ font.cpp: In static member function 'static Font* Font::createInstance()': font.cpp:73:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 73 | for (u32 i = 0; i < fs->nfont; i++) { | ~~^~~~~~~~~~~ font.cpp:78:43: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 78 | for (u32 j = 0; j < fontList->nfont; j++) { | ~~^~~~~~~~~~~~~~~~~ font.cpp: In constructor 'Font::Font()': font.cpp:133:35: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'FT_Int' {aka 'int'} [-Wsign-compare] 133 | for (u32 i = 0; i < face->num_fixed_sizes; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~ font.cpp: In destructor 'virtual Font::~Font()': font.cpp:185:27: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 185 | for (u32 i = 0; i < fontList->nfont; i++) { | ~~^~~~~~~~~~~~~~~~~ font.cpp: In member function 'void Font::showInfo(bool)': font.cpp:208:31: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 208 | for (index = 0; index < fontList->nfont - 1; index++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ font.cpp: In function 'void openFont(u32)': font.cpp:219:19: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 219 | if (index >= fontList->nfont) return; | ~~~~~~^~~~~~~~~~~~~~~~~~ font.cpp: In function 'int fontIndex(u32)': font.cpp:271:27: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 271 | for (u32 i = 0; i < fontList->nfont; i++) { | ~~^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-input.o `test -f 'input.cpp' || echo './'`input.cpp input.cpp: In member function 'void TtyInput::setupSysKey(bool)': input.cpp:142:16: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | seteuid(0); | ~~~~~~~^~~ input.cpp:168:16: warning: ignoring return value of 'int seteuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | seteuid(getuid()); | ~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-mouse.o `test -f 'mouse.cpp' || echo './'`mouse.cpp mouse.cpp: In function 's32 open_gpm(Gpm_Connect*)': mouse.cpp:43:13: warning: unused variable 'ret' [-Wunused-variable] 43 | s32 ret = ttyname_r(STDIN_FILENO, buf, sizeof(buf)); | ^~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-screen.o `test -f 'screen.cpp' || echo './'`screen.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-improxy.o `test -f 'improxy.cpp' || echo './'`improxy.cpp In file included from screen.cpp:25: screen.cpp: In static member function 'static Screen* Screen::createInstance()': font.h:27:45: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 27 | #define FW(cols) (Font::instance()->width() * (cols)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ screen.cpp:48:35: note: in expansion of macro 'FW' 48 | if (!Font::instance() || !FW(1) || !FH(1)) { | ^~ font.h:28:46: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] 28 | #define FH(rows) (Font::instance()->height() * (rows)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ screen.cpp:48:45: note: in expansion of macro 'FH' 48 | if (!Font::instance() || !FW(1) || !FH(1)) { | ^~ screen.cpp: In constructor 'Screen::Screen()': screen.cpp:112:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 112 | s32 ret = write(STDIN_FILENO, hide_cursor, sizeof(hide_cursor) - 1); | ^~~ screen.cpp: In destructor 'virtual Screen::~Screen()': screen.cpp:121:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 121 | s32 ret = write(STDIN_FILENO, show_cursor, sizeof(show_cursor) - 1); | ^~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-screen_render.o `test -f 'screen_render.cpp' || echo './'`screen_render.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-fbdev.o `test -f 'fbdev.cpp' || echo './'`fbdev.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o fbterm-vesadev.o `test -f 'vesadev.cpp' || echo './'`vesadev.cpp fbdev.cpp: In member function 'FbDev::setupPalette(bool)': fbdev.cpp:148:33: warning: 'bcols' may be used uninitialized [-Wmaybe-uninitialized] 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ fbdev.cpp:148:26: warning: 'gcols' may be used uninitialized [-Wmaybe-uninitialized] 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ fbdev.cpp:148:19: warning: 'rcols' may be used uninitialized [-Wmaybe-uninitialized] 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ g++ -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/libxml2 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/fbterm-1.7/.package_note-fbterm-1.7-25.fc37.x86_64.ld -o fbterm fbterm-fbconfig.o fbterm-fbio.o fbterm-fbshell.o fbterm-fbshellman.o fbterm-fbterm.o fbterm-font.o fbterm-input.o fbterm-mouse.o fbterm-screen.o fbterm-improxy.o fbterm-screen_render.o fbterm-fbdev.o fbterm-vesadev.o lib/libshell.a -lfreetype -lfontconfig -lfreetype -lutil -lutil make[3]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src' make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src' Making all in im make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/im' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/im' Making all in terminfo make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/terminfo' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/terminfo' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/doc' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7' make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IHdwFc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 + 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 -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 -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 -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 -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 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/fbterm-1.7/.package_note-fbterm-1.7-25.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fbterm-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src/lib' make[3]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src/lib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src/lib' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src' make[3]: Entering directory '/builddir/build/BUILD/fbterm-1.7/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/bin' /usr/bin/install -c fbterm '/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src' make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/src' Making install in im make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7/im' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/im' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/im' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/im' Making install in terminfo make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7/terminfo' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/terminfo' make[2]: Nothing to be done for 'install-exec-am'. tic fbterm make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/terminfo' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/terminfo' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7/doc' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 fbterm.1 '/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/doc' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7/doc' make[1]: Entering directory '/builddir/build/BUILD/fbterm-1.7' make[2]: Entering directory '/builddir/build/BUILD/fbterm-1.7' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/fbterm-1.7' make[1]: Leaving directory '/builddir/build/BUILD/fbterm-1.7' + /usr/bin/chmod 755 /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64//usr/bin/fbterm + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.7-25.fc37 --unique-debug-suffix -1.7-25.fc37.x86_64 --unique-debug-src-base fbterm-1.7-25.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/fbterm-1.7 extracting debug info from /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/bin/fbterm original debug info size: 556kB, size after compression: 508kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 423 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: fbterm-1.7-25.fc37.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tz4zfq + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + DOCDIR=/builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + cp -pr AUTHORS /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + cp -pr ChangeLog /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + cp -pr COPYING /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + cp -pr README /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64/usr/share/doc/fbterm + RPM_EC=0 ++ jobs -p + exit 0 Provides: fbterm = 1.7-25.fc37 fbterm(x86-64) = 1.7-25.fc37 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(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.2)(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) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) rtld(GNU_HASH) Obsoletes: fbterm-udevrules < 1.7-25.fc37 Processing files: fbterm-debugsource-1.7-25.fc37.x86_64 Provides: fbterm-debugsource = 1.7-25.fc37 fbterm-debugsource(x86-64) = 1.7-25.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fbterm-debuginfo-1.7-25.fc37.x86_64 Provides: debuginfo(build-id) = 8996ce38565d6f007c012bc86d6ddbb6db59e10e fbterm-debuginfo = 1.7-25.fc37 fbterm-debuginfo(x86-64) = 1.7-25.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fbterm-debugsource(x86-64) = 1.7-25.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 Wrote: /builddir/build/RPMS/fbterm-debugsource-1.7-25.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/fbterm-debuginfo-1.7-25.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/fbterm-1.7-25.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.d3BQj4 + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fbterm-1.7-25.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.4p6Owx + umask 022 + cd /builddir/build/BUILD + rm -rf fbterm-1.7 fbterm-1.7.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0