Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fbterm.spec'], chrootPath='/var/lib/mock/f38-build-692838-84500/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/fbterm-1.7-27.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fbterm.spec'], chrootPath='/var/lib/mock/f38-build-692838-84500/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AdBUkg + 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.ZZe1eh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2023-03-12 11:37:19.928004643 +0000 +++ ./configure 2023-03-12 11:37:25.977997822 +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 ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --runstatedir=/run --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 riscv64-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 riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-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... riscv64-redhat-linux-gnu checking host system type... riscv64-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 -j4 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o libshell_a-vterm.o `test -f 'vterm.cpp' || echo './'`vterm.cpp In file included from /usr/include/features.h:491, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from io.cpp:21: In function 'read', inlined from 'IoPipe::ready(bool)' at io.cpp:135:16: /usr/include/bits/unistd.h:38:10: warning: '*read' specified size between 18446744069414594561 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 38 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ io.cpp: In member function 'IoPipe::ready(bool)': io.cpp:134:12: note: destination object allocated here 134 | s8 buf[BUF_SIZE]; | ^~~ /usr/include/bits/unistd.h:26:16: note: in a call to function '*read' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-fbio.o `test -f 'fbio.cpp' || echo './'`fbio.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-fbshellman.o `test -f 'fbshellman.cpp' || echo './'`fbshellman.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-fbterm.o `test -f 'fbterm.cpp' || echo './'`fbterm.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()); | ~~~~~~~^~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-font.o `test -f 'font.cpp' || echo './'`font.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()); | ~~~~~~~^~~~~~~~~~ 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++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-input.o `test -f 'input.cpp' || echo './'`input.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-screen.o `test -f 'screen.cpp' || echo './'`screen.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-fbdev.o `test -f 'fbdev.cpp' || echo './'`fbdev.cpp fbdev.cpp: In member function 'FbDev::setupPalette(bool)': fbdev.cpp:192:43: warning: 'rcols' may be used uninitialized [-Wmaybe-uninitialized] 192 | for (u32 i = 0; i < rcols; i++) { | ~~^~~~~~~ fbdev.cpp:148:19: note: 'rcols' was declared here 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ fbdev.cpp:196:43: warning: 'gcols' may be used uninitialized [-Wmaybe-uninitialized] 196 | for (u32 i = 0; i < gcols; i++) { | ~~^~~~~~~ fbdev.cpp:148:26: note: 'gcols' was declared here 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ fbdev.cpp:200:43: warning: 'bcols' may be used uninitialized [-Wmaybe-uninitialized] 200 | for (u32 i = 0; i < bcols; i++) { | ~~^~~~~~~ fbdev.cpp:148:33: note: 'bcols' was declared here 148 | u32 cols, rcols, gcols, bcols; | ^~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fbterm-vesadev.o `test -f 'vesadev.cpp' || echo './'`vesadev.cpp 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.Gn51PK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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-27.fc38.riscv64 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 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-27.fc38.riscv64/usr/bin' /usr/bin/install -c fbterm '/builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/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-27.fc38.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 fbterm.1 '/builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/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-27.fc38.riscv64//usr/bin/fbterm + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.7-27.fc38 --unique-debug-suffix -1.7-27.fc38.riscv64 --unique-debug-src-base fbterm-1.7-27.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fbterm-1.7 extracting debug info from /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/bin/fbterm original debug info size: 1472kB, size after compression: 1428kB /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: fbterm-1.7-27.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BpmCyS + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + DOCDIR=/builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + cp -pr AUTHORS /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + cp -pr ChangeLog /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + cp -pr COPYING /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + cp -pr README /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64/usr/share/doc/fbterm + RPM_EC=0 ++ jobs -p + exit 0 Provides: fbterm = 1.7-27.fc38 fbterm(riscv-64) = 1.7-27.fc38 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(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-27.fc38 Processing files: fbterm-debugsource-1.7-27.fc38.riscv64 Provides: fbterm-debugsource = 1.7-27.fc38 fbterm-debugsource(riscv-64) = 1.7-27.fc38 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-27.fc38.riscv64 Provides: debuginfo(build-id) = 256ec1169773eae1b9767ba1774b8e8fa1422b04 fbterm-debuginfo = 1.7-27.fc38 fbterm-debuginfo(riscv-64) = 1.7-27.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fbterm-debugsource(riscv-64) = 1.7-27.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 Wrote: /builddir/build/RPMS/fbterm-1.7-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/fbterm-debugsource-1.7-27.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/fbterm-debuginfo-1.7-27.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.E3u2xe + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fbterm-1.7-27.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.nHt1g5 + 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