+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/fbterm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kd2OTA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fbterm-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/fbterm-1.7.tar.gz + /usr/bin/tar -xof - + 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 -p1 -b --suffix .u16 --fuzz=0 patching file src/lib/vterm.cpp patching file src/lib/vterm_states.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DvdcQ4 + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + autoreconf -iv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level autoreconf: configure.ac: tracing configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level autoreconf: running: /usr/bin/autoheader configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level autoreconf: running: automake --add-missing --copy --no-force configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level configure.ac:14: installing './compile' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./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 --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 thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking linux/fb.h usability... yes checking linux/fb.h presence... yes checking for linux/fb.h... yes checking linux/kd.h usability... yes checking linux/kd.h presence... yes checking for linux/kd.h... yes checking linux/keyboard.h usability... yes checking linux/keyboard.h presence... yes checking for linux/keyboard.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes 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 gpm.h usability... yes checking gpm.h presence... yes checking for gpm.h... yes checking libx86.h usability... no checking libx86.h presence... no 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 (CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader) configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libshell_a-io.o `test -f 'io.cpp' || echo './'`io.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libshell_a-shell.o `test -f 'shell.cpp' || echo './'`shell.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libshell_a-vterm.o `test -f 'vterm.cpp' || echo './'`vterm.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o libshell_a-wcwidth.o `test -f 'wcwidth.cpp' || echo './'`wcwidth.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-fbshellman.o `test -f 'fbshellman.cpp' || echo './'`fbshellman.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-fbterm.o `test -f 'fbterm.cpp' || echo './'`fbterm.cpp fbconfig.cpp: In constructor 'Config::Config()': fbconfig.cpp:62:6: warning: unused variable 'ret' [-Wunused-variable] s32 ret = read(fd, mConfigBuf, cstat.st_size); ^~~ fbconfig.cpp: In member function 'void Config::checkConfigFile(const s8*)': fbconfig.cpp:218:6: warning: unused variable 'ret' [-Wunused-variable] 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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-font.o `test -f 'font.cpp' || echo './'`font.cpp g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-input.o `test -f 'input.cpp' || echo './'`input.cpp fbterm.cpp: In member function 'void FbTerm::initChildProcess()': fbterm.cpp:282:8: warning: ignoring return value of 'int setuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ~~~~~~^~~~~~~~~~ fbterm.cpp: In function 'int main(int, char**)': fbterm.cpp:293:9: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ~~~~~~~^~~~~~~~~~ fbshell.cpp: In member function 'void FbShell::changeMode(VTerm::ModeType, u16)': fbshell.cpp:725:7: warning: unused variable 'ret' [-Wunused-variable] s32 ret = ::write(STDIN_FILENO, str, strlen(str)); ^~~ fbshell.cpp: In member function 'void FbShell::switchVt(bool, FbShell*)': fbshell.cpp:557:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ~~~~~~~^~~ fbshell.cpp:564:10: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-mouse.o `test -f 'mouse.cpp' || echo './'`mouse.cpp font.cpp: In static member function 'static Font* Font::createInstance()': font.cpp:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (u32 i = 0; i < fs->nfont; i++) { ~~^~~~~~~~~~~ font.cpp:78:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (u32 j = 0; j < fontList->nfont; j++) { ~~^~~~~~~~~~~~~~~~~ font.cpp: In constructor 'Font::Font()': font.cpp:133:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (u32 i = 0; i < face->num_fixed_sizes; i++) { ~~^~~~~~~~~~~~~~~~~~~~~~~ font.cpp: In destructor 'virtual Font::~Font()': font.cpp:185:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (u32 i = 0; i < fontList->nfont; i++) { ~~^~~~~~~~~~~~~~~~~ font.cpp: In member function 'void Font::showInfo(bool)': font.cpp:208:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (index = 0; index < fontList->nfont - 1; index++) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~ font.cpp: In function 'void openFont(u32)': font.cpp:219:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index >= fontList->nfont) return; ~~~~~~^~~~~~~~~~~~~~~~~~ font.cpp: In function 'int fontIndex(u32)': font.cpp:271:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-improxy.o `test -f 'improxy.cpp' || echo './'`improxy.cpp mouse.cpp: In function 's32 open_gpm(Gpm_Connect*)': mouse.cpp:43:6: warning: unused variable 'ret' [-Wunused-variable] s32 ret = ttyname_r(STDIN_FILENO, buf, sizeof(buf)); ^~~ input.cpp: In member function 'void TtyInput::setupSysKey(bool)': input.cpp:142:9: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ~~~~~~~^~~ input.cpp:168:9: warning: ignoring return value of 'int seteuid(__uid_t)', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ~~~~~~~^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-screen_render.o `test -f 'screen_render.cpp' || echo './'`screen_render.cpp In file included from screen.cpp:25:0: screen.cpp: In static member function 'static Screen* Screen::createInstance()': font.h:27:45: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define FW(cols) (Font::instance()->width() * (cols)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ screen.cpp:48:28: note: in expansion of macro 'FW' if (!Font::instance() || !FW(1) || !FH(1)) { ^~ font.h:28:46: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] #define FH(rows) (Font::instance()->height() * (rows)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ screen.cpp:48:38: note: in expansion of macro 'FH' if (!Font::instance() || !FW(1) || !FH(1)) { ^~ screen.cpp: In constructor 'Screen::Screen()': screen.cpp:112:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] s32 ret = write(STDIN_FILENO, hide_cursor, sizeof(hide_cursor) - 1); ^~~ screen.cpp: In destructor 'virtual Screen::~Screen()': screen.cpp:121:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o fbterm-vesadev.o `test -f 'vesadev.cpp' || echo './'`vesadev.cpp fbdev.cpp: In member function 'virtual void FbDev::setupPalette(bool)': fbdev.cpp:201:31: warning: 'bcols' may be used uninitialized in this function [-Wmaybe-uninitialized] blue[i] = (65535 / (bcols - 1)) * i; ~~~~~~~^~~~ fbdev.cpp:197:32: warning: 'gcols' may be used uninitialized in this function [-Wmaybe-uninitialized] green[i] = (65535 / (gcols - 1)) * i; ~~~~~~~^~~~ fbdev.cpp:193:30: warning: 'rcols' may be used uninitialized in this function [-Wmaybe-uninitialized] red[i] = (65535 / (rcols - 1)) * i; ~~~~~~~^~~~ g++ -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lhFsOS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 + cd fbterm-1.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/fbterm-1.7-13.fc28.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-13.fc28.riscv64/usr/bin' /usr/bin/install -c fbterm '/builddir/build/BUILDROOT/fbterm-1.7-13.fc28.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-13.fc28.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 fbterm.1 '/builddir/build/BUILDROOT/fbterm-1.7-13.fc28.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-13.fc28.riscv64//usr/bin/fbterm + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: fbterm-1.7-13.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ktLbJp + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + DOCDIR=/builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + cp -pr AUTHORS /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + cp -pr ChangeLog /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + cp -pr COPYING /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + cp -pr README /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64/usr/share/doc/fbterm + exit 0 Provides: fbterm = 1.7-13.fc28 fbterm(riscv-64) = 1.7-13.fc28 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) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(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) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Obsoletes: fbterm-udevrules < 1.7-13.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 Wrote: /builddir/build/SRPMS/fbterm-1.7-13.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/fbterm-1.7-13.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZTInJi + umask 022 + cd /builddir/build/BUILD + cd fbterm-1.7 + rm -rf /builddir/build/BUILDROOT/fbterm-1.7-13.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff