D: [iurt_root_command] chroot warning: line 49: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64Eterm0.9.5 warning: line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64Eterm-static-devel Installing /home/pterjan/rpmbuild/SRPMS/eterm-0.9.7-5.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.H7vTDW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/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 . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/CVE-2021-33477.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.26Mqtx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + 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:10230: 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:540: 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:550: 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:545: 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:319: 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: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:743: 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:776: 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:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4: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:699: 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:699: 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:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + 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 --enable-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 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 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... no checking for 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 x86_64-mageia-linux-gnu-file... no 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-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 for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib 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 checking whether gcc needs -traditional... no 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 in sys/types.h... 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... yes 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... yes (32-bit) 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables Linker: gcc -L/usr/lib64 -L/usr/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -L/usr/lib64 -L/usr/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lImlib2 -ldl -L/usr/lib64 -lImlib2 -lSM -lICE -lpcre -lX11 -lXRes -lSM -lICE -lutempter -last -lXext -lX11 -lm -lTw Install path: /usr See src/feature.h for further configuration information. Now type 'make' to build Eterm 0.9.7. + /usr/bin/make -O -j16 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/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o main.o main.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c grkelot.c -fPIC -DPIC -o .libs/grkelot.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c draw.c -fPIC -DPIC -o .libs/draw.o In file included from draw.h:29, from draw.c:29: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from draw.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: draw.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c e.c -fPIC -DPIC -o .libs/e.o In file included from e.c:40: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from e.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: e.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c script.c -fPIC -DPIC -o .libs/script.o In file included from menus.h:29, from script.c:37: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from script.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: script.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c actions.c -fPIC -DPIC -o .libs/actions.o In file included from menus.h:29, from actions.h:31, from actions.c:33: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from actions.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ actions.h:58: warning: "BUTTON_ANY" redefined 58 | #define BUTTON_ANY (0xff) | In file included from /usr/include/Tw/Tw.h:91, from scream.h:13, from startup.h:35, from actions.c:32: /usr/include/Tw/mouse.h:18: note: this is the location of the previous definition 18 | #define BUTTON_ANY (BUTTON_LEFT|BUTTON_MIDDLE|BUTTON_RIGHT|BUTTON_WHEEL_REV|BUTTON_WHEEL_FWD) | make[2]: *** [Makefile:632: actions.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c scrollbar.c -fPIC -DPIC -o .libs/scrollbar.o In file included from menus.h:29, from actions.h:31, from buttons.h:28, from scrollbar.c:31: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from scrollbar.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: scrollbar.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c buttons.c -fPIC -DPIC -o .libs/buttons.o In file included from menus.h:29, from actions.h:31, from buttons.h:28, from buttons.c:31: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from buttons.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: buttons.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c menus.c -fPIC -DPIC -o .libs/menus.o In file included from draw.h:29, from menus.c:32: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from menus.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:632: menus.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c events.c -fPIC -DPIC -o .libs/events.o In file included from menus.h:29, from actions.h:31, from events.c:35: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from events.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ actions.h:58: warning: "BUTTON_ANY" redefined 58 | #define BUTTON_ANY (0xff) | In file included from /usr/include/Tw/Tw.h:91, from scream.h:13, from startup.h:35, from events.c:34: /usr/include/Tw/mouse.h:18: note: this is the location of the previous definition 18 | #define BUTTON_ANY (BUTTON_LEFT|BUTTON_MIDDLE|BUTTON_RIGHT|BUTTON_WHEEL_REV|BUTTON_WHEEL_FWD) | make[2]: *** [Makefile:632: events.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pixmap.c -fPIC -DPIC -o .libs/pixmap.o In file included from menus.h:29, from actions.h:31, from buttons.h:28, from pixmap.c:41: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from pixmap.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ pixmap.c:175:1: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 175 | imlib_strerror(Imlib_Load_Error err) | ^~~~~~~~~~~~~~ /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ 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:632: pixmap.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c screen.c -fPIC -DPIC -o .libs/screen.o In file included from menus.h:29, from actions.h:31, from buttons.h:28, from screen.c:30: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from screen.c:9: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ screen.c: In function 'selection_delimit_word': screen.c:2916:8: warning: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 2916 | w1 = DELIMIT_TEXT(*stp); | ^ screen.c:2927:33: warning: comparison between pointer and integer 2927 | if (DELIMIT_TEXT(t) != w1 || (w1 && *stp1 != t && BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:2961:37: warning: comparison between pointer and integer 2961 | if (DELIMIT_TEXT(t) == w1 && (!w1 || *stp == t || !(BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:2991:33: warning: comparison between pointer and integer 2991 | if (DELIMIT_TEXT(t) != w1 || (w1 && *stp1 != t && BITFIELD_IS_SET(eterm_options, ETERM_OPTIONS_XTERM_SELECT))) | ^~ screen.c:3023:40: warning: comparison between pointer and integer 3023 | if (DELIMIT_TEXT(*stp) == w1 | ^~ 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:632: screen.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c startup.c -fPIC -DPIC -o .libs/startup.o In file included from menus.h:29, from actions.h:31, from startup.c:44: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from startup.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ actions.h:58: warning: "BUTTON_ANY" redefined 58 | #define BUTTON_ANY (0xff) | In file included from /usr/include/Tw/Tw.h:91, from scream.h:13, from startup.h:35, from startup.c:43: /usr/include/Tw/mouse.h:18: note: this is the location of the previous definition 18 | #define BUTTON_ANY (BUTTON_LEFT|BUTTON_MIDDLE|BUTTON_RIGHT|BUTTON_WHEEL_REV|BUTTON_WHEEL_FWD) | startup.c: In function 'eterm_bootstrap': 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:632: startup.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c command.c -fPIC -DPIC -o .libs/command.o In file included from command.c:114: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from command.c:28: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ In file included from buttons.h:28, from command.c:126: actions.h:58: warning: "BUTTON_ANY" redefined 58 | #define BUTTON_ANY (0xff) | In file included from /usr/include/Tw/Tw.h:91, from scream.h:13, from startup.h:35, from command.c:109: /usr/include/Tw/mouse.h:18: note: this is the location of the previous definition 18 | #define BUTTON_ANY (BUTTON_LEFT|BUTTON_MIDDLE|BUTTON_RIGHT|BUTTON_WHEEL_REV|BUTTON_WHEEL_FWD) | 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: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 '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: At top level: command.c:1448:28: warning: 'ttydev' is static but used in inline function 'gen_get_pty' which is not static 1448 | if (access(ttydev, R_OK | W_OK) == 0) | ^~~~~~ command.c:1447:28: warning: 'ptydev' is static but used in inline function 'gen_get_pty' which is not static 1447 | if ((fd = open(ptydev, O_RDWR)) >= 0) { | ^~~~~~ command.c:1446:31: warning: 'ttydev' is static but used in inline function 'gen_get_pty' which is not static 1446 | ptydev[len - 2] = ttydev[len - 2] = *c2; | ^~~~~~ command.c:1446:13: warning: 'ptydev' is static but used in inline function 'gen_get_pty' which is not static 1446 | ptydev[len - 2] = ttydev[len - 2] = *c2; | ^~~~~~ command.c:1444:27: warning: 'ttydev' is static but used in inline function 'gen_get_pty' which is not static 1444 | ptydev[len - 3] = ttydev[len - 3] = *c1; | ^~~~~~ command.c:1444:9: warning: 'ptydev' is static but used in inline function 'gen_get_pty' which is not static 1444 | ptydev[len - 3] = ttydev[len - 3] = *c1; | ^~~~~~ command.c:1441:5: warning: 'ttydev' is static but used in inline function 'gen_get_pty' which is not static 1441 | ttydev = tty_name; | ^~~~~~ command.c:1440:5: warning: 'ptydev' is static but used in inline function 'gen_get_pty' which is not static 1440 | ptydev = pty_name; | ^~~~~~ command.c:1435:17: warning: 'tty_name' is static but declared in inline function 'gen_get_pty' which is not static 1435 | static char tty_name[] = "/dev/tty??"; | ^~~~~~~~ command.c:1434:17: warning: 'pty_name' is static but declared in inline function 'gen_get_pty' which is not static 1434 | static char pty_name[] = "/dev/pty??"; | ^~~~~~~~ command.c:1415:18: warning: 'ttydev' is static but used in inline function 'posix_get_pty' which is not static 1415 | if (!ttydev) { | ^~~~~~ command.c:1414:22: warning: 'ttydev' is static but used in inline function 'posix_get_pty' which is not static 1414 | ptydev = ttydev = ptsname(fd); | ^~~~~~ command.c:1414:13: warning: 'ptydev' is static but used in inline function 'posix_get_pty' which is not static 1414 | ptydev = ttydev = ptsname(fd); | ^~~~~~ 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:632: command.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c options.c -fPIC -DPIC -o .libs/options.o In file included from menus.h:29, from actions.h:31, from options.c:42: pixmap.h:224:20: error: conflicting types for 'imlib_strerror'; have 'const char *(Imlib_Load_Error)' 224 | extern const char *imlib_strerror(Imlib_Load_Error); | ^~~~~~~~~~~~~~ In file included from /usr/include/libast.h:79, from feature.h:100, from options.c:27: /usr/include/Imlib2.h:2896:21: note: previous declaration of 'imlib_strerror' with type 'const char *(int)' 2896 | EAPI const char *imlib_strerror(int err); | ^~~~~~~~~~~~~~ options.c: In function 'save_config': options.c:3891:94: warning: pointer type mismatch in conditional expression 3891 | fprintf(fp, " beep_command \"%s\"\n", (char *) ((rs_beep_command) ? (rs_beep_command) : (""))); | ^ 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:632: options.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c misc.c -fPIC -DPIC -o .libs/misc.o misc.c: In function 'str_trim': misc.c:101:17: warning: comparison of distinct pointer types lacks a cast 101 | if (tmp != str) { | ^~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c system.c -fPIC -DPIC -o .libs/system.o 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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[2]: Entering directory '/home/pterjan/rpmbuild/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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c font.c -fPIC -DPIC -o .libs/font.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/Eterm-0.9.7/src' make[1]: *** [Makefile:443: all-recursive] Error 1 make: *** [Makefile:375: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.26Mqtx (%build) RPM build warnings: line 49: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64Eterm0.9.5 line 69: It's not recommended to have unversioned Obsoletes: Obsoletes: lib64Eterm-static-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.26Mqtx (%build) I: [iurt_root_command] ERROR: chroot