D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/eterm-0.9.7-8.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vNsT0y sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ex2aV5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build + rm -rf Eterm-0.9.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Eterm-0.9.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Eterm-0.9.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Eterm-bg-0.9.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (CVE-2021-33477.patch):' Patch #0 (CVE-2021-33477.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/term.c + echo 'Patch #1 (patch-src_pixmap.c):' Patch #1 (patch-src_pixmap.c): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/pixmap.c + echo 'Patch #2 (patch-src_pixmap.h):' Patch #2 (patch-src_pixmap.h): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/pixmap.h + echo 'Patch #3 (eterm-0.9.6-gcc10.patch):' Patch #3 (eterm-0.9.6-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/command.c patching file src/screen.c + echo 'Patch #4 (eterm-0.9.6-gcc14.patch):' Patch #4 (eterm-0.9.6-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/options.c patching file src/screen.c Hunk #1 succeeded at 2911 (offset 1 line). + echo 'Patch #5 (eterm-c99-headers.patch):' Patch #5 (eterm-c99-headers.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/libscream.c + mv ChangeLog ChangeLog.old + iconv -f ISO-8859-1 -t UTF8 -o ChangeLog ChangeLog.old + find themes/ -name theme.cfg.in -print0 + xargs -0 -r perl -pi -e 's/term_name Eterm/term_name xterm/' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o8H0kK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Eterm-0.9.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:25: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10350: AM_INIT_AUTOMAKE is expanded from... configure.ac:25: the top level configure.ac:117: warning: The macro 'AC_AIX' is obsolete. configure.ac:117: You should run autoupdate. ./lib/autoconf/specific.m4:722: AC_AIX is expanded from... configure.ac:117: the top level configure.ac:118: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.ac:118: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.ac:118: the top level configure.ac:119: warning: The macro 'AC_MINIX' is obsolete. configure.ac:119: You should run autoupdate. ./lib/autoconf/specific.m4:727: AC_MINIX is expanded from... configure.ac:119: the top level configure.ac:122: warning: The macro 'AC_CYGWIN' is obsolete. configure.ac:122: You should run autoupdate. ./lib/autoconf/specific.m4:496: AC_CYGWIN is expanded from... configure.ac:122: the top level configure.ac:125: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.ac:125: You should run autoupdate. aclocal.m4:814: AM_PROG_LIBTOOL is expanded from... configure.ac:125: the top level configure.ac:126: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:126: You should run autoupdate. aclocal.m4:813: AC_PROG_LIBTOOL is expanded from... configure.ac:126: the top level configure.ac:134: warning: The macro 'AC_GCC_TRADITIONAL' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/oldnames.m4:59: AC_GCC_TRADITIONAL is expanded from... configure.ac:134: the top level configure.ac:134: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... ./lib/autoconf/oldnames.m4:59: AC_GCC_TRADITIONAL is expanded from... configure.ac:134: the top level configure.ac:175: warning: The macro 'AC_LN_S' is obsolete. configure.ac:175: You should run autoupdate. ./lib/autoconf/oldnames.m4:62: AC_LN_S is expanded from... configure.ac:175: the top level configure.ac:210: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:210: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:210: the top level configure.ac:219: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:219: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:219: the top level configure.ac:229: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:229: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... aclocal.m4:460: dps_snprintf_oflow is expanded from... configure.ac:229: the top level configure.ac:427: warning: The macro 'AC_WARN' is obsolete. configure.ac:427: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:427: the top level configure.ac:469: warning: The macro 'AC_WARN' is obsolete. configure.ac:469: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:469: the top level configure.ac:492: warning: The macro 'AC_WARN' is obsolete. configure.ac:492: You should run autoupdate. ./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:492: the top level configure.ac:947: warning: The macro 'AC_PREFIX' is obsolete. configure.ac:947: You should run autoupdate. ./lib/autoconf/oldnames.m4:38: AC_PREFIX is expanded from... configure.ac:947: the top level configure.ac:948: warning: The macro 'AC_PREFIX' is obsolete. configure.ac:948: You should run autoupdate. ./lib/autoconf/oldnames.m4:38: AC_PREFIX is expanded from... configure.ac:948: the top level configure.ac:1057: warning: AC_OUTPUT should be used without arguments. configure.ac:1057: You should run autoupdate. configure.ac:25: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:25: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:111: installing './compile' configure.ac:77: installing './config.guess' configure.ac:77: installing './config.sub' configure.ac:25: installing './install-sh' configure.ac:25: installing './missing' src/Makefile.am: installing './depcomp' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-etwin --enable-escreen-fx --enable-profile --enable-trans --with-backspace=bs --disable-mmx --enable-utmp --with-delete=execute --enable-auto-encoding --enable-multi-charset --enable-xim --enable-greek --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes 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 xargs -n works... yes checking for preferred libtoolize... libtoolize checking for preferred aclocal... aclocal checking for preferred autoconf... autoconf checking for preferred autoheader... autoheader checking for preferred automake... automake checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking dependency style of gcc... none 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for library containing strerror... none required checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for distribution root... /home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7 checking whether build environment is sane... yes checking whether to enable maintainer-specific portions of Makefiles... no checking if malloc debugging is wanted... no checking for sed... /usr/bin/sed checking for rm... rm -f checking for cp... cp -f checking for chmod... chmod checking for tar... tar checking for mkdir... mkdir checking for ctags... ctags checking for ar... ar checking for mv... mv -f checking for tic... tic checking whether ln -s works... yes checking for perl... /usr/bin/perl checking for gawk... (cached) gawk checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for termios.h... yes checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/time.h... (cached) yes checking for sys/sockio.h... no checking for sys/byteorder.h... no checking for malloc.h... yes checking for utmpx.h... yes checking for unistd.h... (cached) yes checking for bsd/signal.h... no checking for regex.h... yes checking for regexp.h... no checking for stdarg.h... yes checking for X11/X.h... yes checking for X11/Xlib.h... yes checking for X11/Sunkeysym.h... yes checking for X11/Xlocale.h... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for uid_t... yes checking for gid_t... yes checking return type of signal handlers... void checking for atexit... yes checking for _exit... yes checking for unsetenv... yes checking for setutent... yes checking for seteuid... yes checking for memmove... yes checking for putenv... yes checking for strsep... yes checking for setresuid... yes checking for setresgid... yes checking for memmem... yes checking for usleep... yes checking for snprintf... yes checking for strcasestr... yes checking for strcasechr... no checking for strcasepbrk... no checking for strrev... no checking for nl_langinfo... yes checking whether snprintf ignores n... no, snprintf is ok checking for pow in -lm... yes checking for library containing login... none required checking for library containing logout... none required checking for library containing getpwuid... none required checking for debugging level... 4 checking for posix_openpt... yes checking for ptsname... yes checking for grantpt... yes checking for unlockpt... yes checking for pty mechanism... SVR4 POSIX checking for pty group... tty checking for saved uids... yes checking if strict ICCCM compliance should be enabled... no checking for XOpenDisplay in -lX11... yes checking for XextAddDisplay in -lXext... yes checking for XShapeQueryExtension in -lXext... yes checking if Pablo support is wanted... no checking for Escreen support... yes checking for Etwin support... checking for Tw_Open in -lTw... no configure: WARNING: *** Twin support has been disabled because libTw was not found *** checking for Escreen startup effects... yes checking if profiling macros should be included... yes checking for pixmap support... yes checking for dlopen in -ldl... yes checking for TT_Init_FreeType in -lttf... no checking for imlib_create_image in -lImlib2... yes checking for transparency support... yes checking for MMX support... no (no MMX detected) checking for SSE2 support... yes checking for libast-config... libast-config checking for libast_set_program_name in -last... yes checking for utmp support... yes checking for addToUtmp in -lutempter... yes checking for backspace key configuration... forcing Backspace to send Ctrl-H checking for delete key configuration... send execute sequence checking for home key configuration... default checking for end key configuration... default checking if mousewheel support should be enabled... yes checking for automatic encoding... yes checking for multi-charset support... ISO-10646 checking for XIM support... yes checking for XRegisterIMInstantiateCallback in -lX11... yes checking for X11/extensions/XRes.h... yes checking for XResQueryExtension in -lXRes... yes checking for Greek keyboard support... yes checking for dbx... no checking for gdb... /usr/bin/gdb checking for pstack... /usr/bin/pstack checking for U_STACK_TRACE in -lcl... no checking for Linux 2.1 or higher... yes checking if we should enable name reporting escape sequences... no checking for life_signs in -lKenny... no Oh my god, they killed Kenny! You bastards! checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bg/Makefile config.status: creating doc/Makefile config.status: creating utils/Makefile config.status: creating pix/Makefile config.status: creating src/Makefile config.status: creating themes/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands creating utils/kEsetroot creating themes/Eterm/theme.cfg creating themes/auto/theme.cfg creating themes/Escreen/theme.cfg creating themes/trans/theme.cfg Eterm 0.9.7 Configuration: -------------- Source code location: . Host System Type: x86_64-mageia-linux-gnu Preprocessor: gcc -E -I/usr/include Compiler: gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full Linker: gcc -L/usr/lib64 -L/usr/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64 -L/usr/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lImlib2 -ldl -lImlib2 -lfreetype -lX11 -lSM -lICE -ldl -lm -lX11 -lXRes -lSM -lICE -lutempter -last -lXext -lX11 -lm Install path: /usr See src/feature.h for further configuration information. Now type 'make' to build Eterm 0.9.7. + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sse2_cmod.lo sse2_cmod.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c sse2_cmod.c -fPIC -DPIC -o .libs/sse2_cmod.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o grkelot.lo grkelot.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c grkelot.c -fPIC -DPIC -o .libs/grkelot.o In file included from /usr/include/libast.h:110, from feature.h:100, from grkelot.c:48: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards make[2]: *** [Makefile:628: grkelot.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o draw.lo draw.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c draw.c -fPIC -DPIC -o .libs/draw.o In file included from /usr/include/libast.h:110, from feature.h:100, from draw.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards make[2]: *** [Makefile:628: draw.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o defaultfont.lo defaultfont.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c defaultfont.c -fPIC -DPIC -o .libs/defaultfont.o In file included from /usr/include/libast.h:110, from feature.h:100, from defaultfont.c:6: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards make[2]: *** [Makefile:628: defaultfont.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o system.lo system.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c system.c -fPIC -DPIC -o .libs/system.o In file included from /usr/include/libast.h:110, from feature.h:100, from system.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from system.c:39: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ system.c: In function 'system_no_wait': system.c:102:9: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | setreuid(my_ruid, my_ruid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ system.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | setregid(my_rgid, my_rgid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: system.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utmp.lo utmp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c utmp.c -fPIC -DPIC -o .libs/utmp.o In file included from /usr/include/libast.h:110, from feature.h:100, from utmp.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from utmp.c:30: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ make[2]: *** [Makefile:628: utmp.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o timer.lo timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c timer.c -fPIC -DPIC -o .libs/timer.o In file included from /usr/include/libast.h:110, from feature.h:100, from timer.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from timer.c:35: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ make[2]: *** [Makefile:628: timer.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c misc.c -fPIC -DPIC -o .libs/misc.o In file included from /usr/include/libast.h:110, from feature.h:100, from misc.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from misc.c:39: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ misc.c: In function 'str_trim': misc.c:101:17: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 101 | if (tmp != str) { | ^~ make[2]: *** [Makefile:628: misc.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o e.lo e.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c e.c -fPIC -DPIC -o .libs/e.o In file included from /usr/include/libast.h:110, from feature.h:100, from e.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from e.c:37: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ e.c: In function 'enl_ipc_get_win': e.c:81:71: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 81 | XGetWindowProperty(Xdisplay, Xroot, props[PROP_ENL_COMMS], 0, 14, False, AnyPropertyType, &prop, &format, &num, &after, &str); | ^~~~~ | xFalse e.c:81:71: note: each undeclared identifier is reported only once for each function it appears in e.c: In function 'enl_ipc_send': e.c:181:29: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 181 | ev.xclient.send_event = True; | ^~~~ | xTrue e.c:198:39: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 198 | XSendEvent(Xdisplay, ipc_win, False, 0, (XEvent *) & ev); | ^~~~~ | xFalse make[2]: *** [Makefile:628: e.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o actions.lo actions.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c actions.c -fPIC -DPIC -o .libs/actions.o In file included from /usr/include/libast.h:110, from feature.h:100, from actions.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from actions.c:34: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ actions.c: In function 'action_check_button': actions.c:118:16: error: 'FALSE' undeclared (first use in this function) 118 | return FALSE; | ^~~~~ actions.c:118:16: note: each undeclared identifier is reported only once for each function it appears in actions.c:125:12: error: 'TRUE' undeclared (first use in this function) 125 | return TRUE; | ^~~~ actions.c: In function 'action_check_keysym': actions.c:135:16: error: 'FALSE' undeclared (first use in this function) 135 | return FALSE; | ^~~~~ actions.c:140:12: error: 'TRUE' undeclared (first use in this function) 140 | return TRUE; | ^~~~ actions.c: In function 'action_check_modifiers': actions.c:157:20: error: 'FALSE' undeclared (first use in this function) 157 | return FALSE; | ^~~~~ actions.c:197:12: error: 'TRUE' undeclared (first use in this function) 197 | return TRUE; | ^~~~ make[2]: *** [Makefile:628: actions.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o font.lo font.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c font.c -fPIC -DPIC -o .libs/font.o In file included from /usr/include/libast.h:110, from feature.h:100, from font.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from font.c:35: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ make[2]: *** [Makefile:628: font.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o startup.lo startup.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c startup.c -fPIC -DPIC -o .libs/startup.o In file included from /usr/include/libast.h:110, from feature.h:100, from startup.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from startup.c:46: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ startup.c: In function 'eterm_bootstrap': startup.c:141:54: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 141 | props[PROP_TEXT] = XInternAtom(Xdisplay, "TEXT", False); | ^~~~~ | xFalse startup.c:141:54: note: each undeclared identifier is reported only once for each function it appears in startup.c:151:74: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 151 | props[PROP_ENL_COMMS] = XInternAtom(Xdisplay, "ENLIGHTENMENT_COMMS", True); | ^~~~ | xTrue startup.c:94:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | getcwd(initial_dir, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: startup.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o script.lo script.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c script.c -fPIC -DPIC -o .libs/script.o In file included from /usr/include/libast.h:110, from feature.h:100, from script.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from script.c:36: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ script.c: In function 'script_handler_es_display': script.c:556:35: error: 'TRUE' undeclared (first use in this function) 556 | ns_rem_disp(sess, no, TRUE); | ^~~~ script.c:556:35: note: each undeclared identifier is reported only once for each function it appears in script.c:559:35: error: 'FALSE' undeclared (first use in this function) 559 | ns_rem_disp(sess, no, FALSE); | ^~~~~ script.c: In function 'script_handler_es_region': script.c:648:43: error: 'TRUE' undeclared (first use in this function) 648 | ns_rem_region(sess, disp, no, TRUE); | ^~~~ script.c:651:43: error: 'FALSE' undeclared (first use in this function) 651 | ns_rem_region(sess, disp, no, FALSE); | ^~~~~ make[2]: *** [Makefile:628: script.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o events.lo events.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c events.c -fPIC -DPIC -o .libs/events.o In file included from /usr/include/libast.h:110, from feature.h:100, from events.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from events.c:37: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ events.c: In function 'handle_property_notify': events.c:297:71: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 297 | selection_fetch(ev->xproperty.window, ev->xproperty.atom, True); | ^~~~ | xTrue events.c:297:71: note: each undeclared identifier is reported only once for each function it appears in events.c: In function 'handle_client_message': events.c:365:52: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 365 | if ((XInternAtom(Xdisplay, "_FVWM_COLORTUNER", True) == ev->xclient.message_type) && ev->xclient.send_event) { | ^~~~ | xTrue events.c: In function 'handle_selection_notify': events.c:596:72: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 596 | selection_fetch(ev->xselection.requestor, ev->xselection.property, True); | ^~~~ | xTrue make[2]: *** [Makefile:628: events.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o windows.lo windows.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c windows.c -fPIC -DPIC -o .libs/windows.o In file included from /usr/include/libast.h:110, from feature.h:100, from windows.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from windows.c:36: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ windows.c: In function 'set_text_property': windows.c:73:48: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 73 | atom = XInternAtom(Xdisplay, propname, True); | ^~~~ | xTrue windows.c:73:48: note: each undeclared identifier is reported only once for each function it appears in windows.c:79:48: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 79 | atom = XInternAtom(Xdisplay, propname, False); | ^~~~~ | xFalse windows.c: In function 'Create_Windows': windows.c:444:80: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 444 | wmHint.input = ((BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_NO_INPUT)) ? False : True); | ^~~~~ | xFalse windows.c:444:88: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 444 | wmHint.input = ((BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_NO_INPUT)) ? False : True); | ^~~~ | xTrue make[2]: *** [Makefile:628: windows.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o scrollbar.lo scrollbar.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c scrollbar.c -fPIC -DPIC -o .libs/scrollbar.o In file included from /usr/include/libast.h:110, from feature.h:100, from scrollbar.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from scrollbar.c:32: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ scrollbar.c: In function 'scrollbar_init': scrollbar.c:698:36: error: 'TRUE' undeclared (first use in this function) 698 | Attributes.override_redirect = TRUE; | ^~~~ scrollbar.c:698:36: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [Makefile:628: scrollbar.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o buttons.lo buttons.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c buttons.c -fPIC -DPIC -o .libs/buttons.o In file included from /usr/include/libast.h:110, from feature.h:100, from buttons.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from buttons.c:32: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ buttons.c: In function 'bbar_create': buttons.c:90:24: error: 'FALSE' undeclared (first use in this function) 90 | xattr.save_under = FALSE; | ^~~~~ buttons.c:90:24: note: each undeclared identifier is reported only once for each function it appears in buttons.c:91:31: error: 'TRUE' undeclared (first use in this function) 91 | xattr.override_redirect = TRUE; | ^~~~ buttons.c: In function 'bbar_deselect_button': buttons.c:870:81: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 870 | XClearArea(Xdisplay, bbar->win, button->x, button->y, button->w, button->h, False); | ^~~~~ | xFalse buttons.c: In function 'button_check_action': buttons.c:969:64: error: 'TRUE' undeclared (first use in this function) 969 | ns_rem_disp(TermWin.screen, n, TRUE); | ^~~~ make[2]: *** [Makefile:628: buttons.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o libscream.lo libscream.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c libscream.c -fPIC -DPIC -o .libs/libscream.o In file included from /usr/include/libast.h:110, from feature.h:100, from libscream.c:46: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards libscream.c: In function 'ns_attach_by_URL': libscream.c:1490:2: warning: #warning compiling in libscream [-Wcpp] 1490 | #warning compiling in libscream | ^~~~~~~ libscream.c:1496:2: warning: #warning compiling in support for GNU screen [-Wcpp] 1496 | #warning compiling in support for GNU screen | ^~~~~~~ libscream.c: In function 'ns_parse_screen_key': libscream.c:2913:38: error: 'TRUE' undeclared (first use in this function) 2913 | ret = ns_rem_disp(s, -1, TRUE); | ^~~~ libscream.c:2913:38: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [Makefile:628: libscream.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o menus.lo menus.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c menus.c -fPIC -DPIC -o .libs/menus.o In file included from /usr/include/libast.h:110, from feature.h:100, from menus.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from menus.c:31: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ menus.c: In function 'grab_pointer': menus.c:73:43: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 73 | success = XGrabPointer(Xdisplay, win, False, | ^~~~~ | xFalse menus.c:73:43: note: each undeclared identifier is reported only once for each function it appears in menus.c: In function 'menu_handle_button_press': menus.c:271:45: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 271 | XSendEvent(Xdisplay, child_win, False, 0, ev); | ^~~~~ | xFalse menus.c: In function 'menu_create': menus.c:465:28: error: 'TRUE' undeclared (first use in this function) 465 | xattr.save_under = TRUE; | ^~~~ menus.c: In function 'menu_draw': menus.c:1006:34: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 1006 | gcvalue.graphics_exposures = False; | ^~~~~ | xFalse make[2]: *** [Makefile:628: menus.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o term.lo term.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c term.c -fPIC -DPIC -o .libs/term.o In file included from /usr/include/libast.h:110, from feature.h:100, from term.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from term.c:39: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ term.c: In function 'get_modifiers': term.c:377:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 377 | switch (XKeycodeToKeysym(Xdisplay, kc[k], 0)) { | ^~~~~~ In file included from /usr/include/X11/Intrinsic.h:53, from /usr/include/libast.h:77: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ term.c: In function 'process_window_mode': term.c:1633:33: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 1633 | XSync(Xdisplay, False); | ^~~~~ | xFalse term.c:1633:33: note: each undeclared identifier is reported only once for each function it appears in term.c: In function 'xterm_seq': term.c:2624:99: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 2624 | wm_hints->input = ((BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_NO_INPUT)) ? False : True); | ^~~~~ | xFalse term.c:2624:107: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 2624 | wm_hints->input = ((BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_NO_INPUT)) ? False : True); | ^~~~ | xTrue make[2]: *** [Makefile:628: term.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pixmap.lo pixmap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c pixmap.c -fPIC -DPIC -o .libs/pixmap.o In file included from /usr/include/libast.h:110, from feature.h:100, from pixmap.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from pixmap.c:42: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ pixmap.c: In function 'copy_buffer_pixmap': pixmap.c:979:41: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 979 | XSetGraphicsExposures(Xdisplay, gc, False); | ^~~~~ | xFalse pixmap.c:979:41: note: each undeclared identifier is reported only once for each function it appears in pixmap.c: In function 'get_desktop_window': pixmap.c:1969:81: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 1969 | if ((XQueryTree(Xdisplay, w, &root, &parent, &children, &nchildren)) == False) { | ^~~~~ | xFalse pixmap.c: In function 'get_desktop_pixmap': pixmap.c:2033:84: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 2033 | XGetWindowProperty(Xdisplay, desktop_window, props[PROP_TRANS_PIXMAP], 0L, 1L, False, AnyPropertyType, &type, &format, &length, | ^~~~~ | xFalse pixmap.c: In function 'search_path': pixmap.c:1325:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1325 | getcwd(name, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: pixmap.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o command.lo command.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c command.c -fPIC -DPIC -o .libs/command.o In file included from /usr/include/libast.h:110, from feature.h:100, from command.c:28: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from command.c:108: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ command.c: In function 'handle_exit_signal': command.c:1081:5: warning: 'removeFromUtmp' is deprecated: better use utempter_remove_added_record instead [-Wdeprecated-declarations] 1081 | remove_utmp_entry(); | ^~~~~~~~~~~~~~~~~ In file included from eterm_utmp.h:78, from command.c:123: /usr/include/utempter.h:46:13: note: declared here 46 | extern void removeFromUtmp(void) | ^~~~~~~~~~~~~~ command.c: In function 'x_resource_dump': command.c:1126:51: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 1126 | pixmap_atom = XInternAtom(Xdisplay, "PIXMAP", False); | ^~~~~ | xFalse command.c:1126:51: note: each undeclared identifier is reported only once for each function it appears in command.c:1203:74: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 1203 | fprintf(stderr, "Process %lu, window 0x%08x (%s): %d GC's (%d bytes).\n", (unsigned long) my_pid, | ~^ | | | int | %ld 1204 | (unsigned int) TermWin.parent, NONULL(title), types[i].count, 1205 | types[i].count * (sizeof(XGCValues) + sizeof(GC))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int command.c:1207:75: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long unsigned int' [-Wformat=] 1207 | fprintf(stderr, "Process %lu, window 0x%08x (%s): %d fonts (%d bytes).\n", (unsigned long) my_pid, | ~^ | | | int | %ld 1208 | (unsigned int) TermWin.parent, NONULL(title), types[i].count, 1209 | types[i].count * (sizeof(XFontStruct) + sizeof(Font))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int command.c: In function 'clean_exit': command.c:1300:5: warning: 'removeFromUtmp' is deprecated: better use utempter_remove_added_record instead [-Wdeprecated-declarations] 1300 | remove_utmp_entry(); | ^~~~~~~~~~~~~~~~~ /usr/include/utempter.h:46:13: note: declared here 46 | extern void removeFromUtmp(void) | ^~~~~~~~~~~~~~ command.c: In function 'posix_get_pty': command.c:1414:31: error: too many arguments to function 'ptsname'; expected 0, have 1 1414 | ptydev = ttydev = ptsname(fd); | ^~~~~~~ ~~ command.h:356:14: note: declared here 356 | extern char *ptsname(); | ^~~~~~~ command.c: In function 'run_command': command.c:2422:9: warning: 'addToUtmp' is deprecated: better use utempter_add_record instead [-Wdeprecated-declarations] 2422 | add_utmp_entry(ttydev, display_name, ptyfd); | ^~~~~~~~~~~~~~ /usr/include/utempter.h:44:13: note: declared here 44 | extern void addToUtmp(const char *pty, const char *hostname, int master_fd) | ^~~~~~~~~ command.c: In function 'inp_text': command.c:2702:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2702 | int which = (int) xd; | ^ command.c: In function 'privileges': command.c:201:13: warning: ignoring return value of 'setresgid' declared with attribute 'warn_unused_result' [-Wunused-result] 201 | setresgid(my_rgid, my_rgid, my_egid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:210:13: warning: ignoring return value of 'setresuid' declared with attribute 'warn_unused_result' [-Wunused-result] 210 | setresuid(my_ruid, my_ruid, my_euid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:230:13: warning: ignoring return value of 'setresuid' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | setresuid(my_ruid, my_euid, my_euid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:239:13: warning: ignoring return value of 'setresgid' declared with attribute 'warn_unused_result' [-Wunused-result] 239 | setresgid(my_rgid, my_egid, my_egid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'get_tty': command.c:1552:9: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 1552 | fchown(fd, my_ruid, gid); /* fail silently */ | ^~~~~~~~~~~~~~~~~~~~~~~~ command.c:1583:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1583 | dup(fd); /* 0: stdin */ | ^~~~~~~ command.c:1584:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1584 | dup(fd); /* 1: stdout */ | ^~~~~~~ command.c:1585:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1585 | dup(fd); /* 2: stderr */ | ^~~~~~~ command.c: In function 'run_command': command.c:2367:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 2367 | setregid(my_rgid, my_rgid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:2368:9: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2368 | setreuid(my_ruid, my_ruid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: command.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o screen.lo screen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c screen.c -fPIC -DPIC -o .libs/screen.o In file included from /usr/include/libast.h:110, from feature.h:100, from screen.c:9: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from screen.c:31: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ screen.c: In function 'scr_bell': screen.c:1569:17: error: 'TRUE' undeclared (first use in this function) 1569 | } else if (!SPIF_PTR_ISNULL(rs_beep_command) && (*rs_beep_command)) { | ^~~~~~~~~~~~~~~ screen.c:1569:17: note: each undeclared identifier is reported only once for each function it appears in screen.c:1569:17: error: 'FALSE' undeclared (first use in this function) 1569 | } else if (!SPIF_PTR_ISNULL(rs_beep_command) && (*rs_beep_command)) { | ^~~~~~~~~~~~~~~ screen.c: In function 'scr_refresh': screen.c:1712:17: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 1712 | draw_string = XDrawString; | ^ In file included from /usr/include/X11/Intrinsic.h:53, from /usr/include/libast.h:77: /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ screen.c:1713:23: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 1713 | draw_image_string = XDrawImageString; | ^ /usr/include/X11/Xlib.h:2332:12: note: 'XDrawImageString' declared here 2332 | extern int XDrawImageString( | ^~~~~~~~~~~~~~~~ screen.c:1803:37: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 1803 | draw_string = XDrawString16; | ^ /usr/include/X11/Xlib.h:2424:12: note: 'XDrawString16' declared here 2424 | extern int XDrawString16( | ^~~~~~~~~~~~~ screen.c:1804:43: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 1804 | draw_image_string = XDrawImageString16; | ^ /usr/include/X11/Xlib.h:2342:12: note: 'XDrawImageString16' declared here 2342 | extern int XDrawImageString16( | ^~~~~~~~~~~~~~~~~~ screen.c:1846:37: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 1846 | draw_string = XDrawString; | ^ /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ screen.c:1847:43: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 1847 | draw_image_string = XDrawImageString; | ^ /usr/include/X11/Xlib.h:2332:12: note: 'XDrawImageString' declared here 2332 | extern int XDrawImageString( | ^~~~~~~~~~~~~~~~ In file included from screen.c:34: screen.c:1995:29: error: too many arguments to function 'draw_string'; expected 0, have 7 1995 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, 1); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:1998:33: error: too many arguments to function 'draw_string'; expected 0, have 7 1998 | DRAW_STRING(draw_string, xpixel + 1, ypixel, buffer, 1); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2030:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2030 | DRAW_STRING(draw_string, xpixel - 1, ypixel - 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2037:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2037 | DRAW_STRING(draw_string, xpixel, ypixel - 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2044:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2044 | DRAW_STRING(draw_string, xpixel + 1, ypixel - 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2051:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2051 | DRAW_STRING(draw_string, xpixel - 1, ypixel, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2058:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2058 | DRAW_STRING(draw_string, xpixel + 1, ypixel, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2065:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2065 | DRAW_STRING(draw_string, xpixel - 1, ypixel + 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2072:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2072 | DRAW_STRING(draw_string, xpixel, ypixel + 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2079:41: error: too many arguments to function 'draw_string'; expected 0, have 7 2079 | DRAW_STRING(draw_string, xpixel + 1, ypixel + 1, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2085:37: error: too many arguments to function 'draw_string'; expected 0, have 7 2085 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2089:37: error: too many arguments to function 'draw_string'; expected 0, have 7 2089 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2098:33: error: too many arguments to function 'draw_image_string'; expected 0, have 7 2098 | DRAW_STRING(draw_image_string, xpixel, ypixel, buffer, wlen); | ^~~~~~~~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2126:29: error: too many arguments to function 'draw_string'; expected 0, have 7 2126 | DRAW_STRING(draw_string, xpixel + 1, ypixel, buffer, wlen); | ^~~~~~~~~~~ screen.h:61:45: note: in definition of macro 'DRAW_STRING' 61 | # define DRAW_STRING(Func, x, y, str, len) Func(Xdisplay, draw_buffer, TermWin.gc, x, y, str, len) | ^~~~ screen.c:2190:96: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 2190 | XClearArea(Xdisplay, TermWin.vt, low_x, low_y, high_x - low_x + 1, high_y - low_y + 1, False); | ^~~~~ | xFalse screen.c: In function 'selection_paste': screen.c:2608:37: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 2608 | selection_fetch(Xroot, sel, False); | ^~~~~ | xFalse screen.c: In function 'selection_delimit_word': screen.c:2915:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2915 | w1 = (int) DELIMIT_TEXT(*stp); | ^ screen.c:2926:33: warning: comparison between pointer and integer 2926 | if (DELIMIT_TEXT(t) != w1 || (w1 && *stp1 != t && BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:2960:37: warning: comparison between pointer and integer 2960 | if (DELIMIT_TEXT(t) == w1 && (!w1 || *stp == t || !(BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:2990:33: warning: comparison between pointer and integer 2990 | if (DELIMIT_TEXT(t) != w1 || (w1 && *stp1 != t && BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:3022:40: warning: comparison between pointer and integer 3022 | if (DELIMIT_TEXT(*stp) == w1 | ^~ screen.c: In function 'selection_send': screen.c:3382:41: error: 'False' undeclared (first use in this function); did you mean 'xFalse'? 3382 | XSendEvent(Xdisplay, rq->requestor, False, 0, &ev); | ^~~~~ | xFalse screen.c: In function 'scr_dump_to_file': screen.c:2395:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2395 | write(outfd, buff, dest - buff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: screen.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o options.lo options.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c options.c -fPIC -DPIC -o .libs/options.o In file included from /usr/include/libast.h:110, from feature.h:100, from options.c:27: /usr/include/libast/types.h:939:3: error: cannot use keyword 'false' as enumeration constant 939 | false = 0, | ^~~~~ /usr/include/libast/types.h:939:3: note: 'false' is a keyword with '-std=c23' onwards In file included from options.c:44: command.h:356:14: error: conflicting types for 'ptsname'; have 'char *(void)' 356 | extern char *ptsname(); | ^~~~~~~ In file included from feature.h:98: /usr/include/stdlib.h:1127:14: note: previous declaration of 'ptsname' with type 'char *(int)' 1127 | extern char *ptsname (int __fd) __THROW __wur; | ^~~~~~~ options.c: In function 'save_config': options.c:3642:75: error: 'True' undeclared (first use in this function); did you mean 'xTrue'? 3642 | if ((XGetFontProperty(menu->font, XA_FONT_NAME, &tmp)) == True) { | ^~~~ | xTrue options.c:3642:75: note: each undeclared identifier is reported only once for each function it appears in options.c:3194:9: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result] 3194 | link(path, bak_path); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: options.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/eterm-0.9.7-build/Eterm-0.9.7/src' make[1]: *** [Makefile:449: all-recursive] Error 1 make: *** [Makefile:381: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.o8H0kK (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.o8H0kK (%build) I: [iurt_root_command] ERROR: chroot