D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/twin-0.6.2-14.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6bTKQV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf twin-0.6.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/twin-0.6.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd twin-0.6.2 + rm -rf /home/pterjan/rpmbuild/BUILD/twin-0.6.2-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/twin-0.6.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|# DEBUG=y|DEBUG=y|' makerules.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6tQ4k1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd twin-0.6.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -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=2 -fcommon -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=2 -fcommon -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=2 -fcommon -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + 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 ./admin/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./admin/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./admin/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./admin/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./admin/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./admin/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/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./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--shlibs=yes --enable--modules=yes --enable--unicode=yes --enable--asm=yes checking whether make sets $(MAKE)... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for OS... Linux checking for shared library support... native this system is Linux/FreeBSD with GNU C assuming GNU C internally uses GNU ld using native rules to create shared libraries checking for ar... ar checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for long long... yes checking for inline... inline checking for compiler flag -g... yes checking for compiler flag -p... yes checking for compiler flag -pg... yes checking for compiler flag -O2... yes checking for compiler flag -fomit-frame-pointer... yes checking for compiler flag -fno-strict-aliasing... yes checking for compiler flag -pipe... yes checking for compiler flag -Wall... yes checking for compiler flag -Wshadow... yes checking for compiler flag -Wno-uninitialized... yes checking for compiler flag -Wno-pointer-sign... yes checking for compiler flag -Wno-unused... yes checking for compiler flag -Wundef... yes checking for compiler flag -Wstrict-prototypes... yes checking for compiler flag -Wcast-qual... yes checking for compiler flag -Wcast-align... yes checking for compiler flag -Wpointer-arith... yes checking for compiler flag -Wbad-function-cast... yes checking for compiler flag -Waggregate-return... yes checking for gcc-compatible 'static inline'... yes checking for gcc-compatible 'attribute((const))'... yes checking for gcc-compatible 'attribute((packed))'... yes checking for gcc-compatible i386 assembler... no checking for ANSI C header files... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking gpm.h usability... yes checking gpm.h presence... yes checking for gpm.h... yes checking ggi/ggi.h usability... yes checking ggi/ggi.h presence... yes checking for ggi/ggi.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking memory.h usability... yes checking memory.h presence... yes checking for memory.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking ncurses/termcap.h usability... yes checking ncurses/termcap.h presence... yes checking for ncurses/termcap.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/ttydefaults.h usability... yes checking sys/ttydefaults.h presence... yes checking for sys/ttydefaults.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for sys/wait.h... (cached) yes checking asm/page.h usability... no checking asm/page.h presence... no checking for asm/page.h... no checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no checking for uid_t... yes checking for gid_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking whether struct tm is in sys/time.h or time.h... time.h checking for /dev/ptmx... yes checking for working memcmp... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for ftime... yes checking for gettimeofday... yes checking for getspnam... yes checking for hstrerror... yes checking for initgroups... yes checking for lstat... yes checking for putenv... yes checking for setenv... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for scandir... yes checking for alphasort... yes checking for uname... yes checking for usleep... yes checking for vprintf... yes checking for vsprintf... yes checking for vsnprintf... yes checking for wait3... yes checking for wait4... yes checking for getpt... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for dlopen... yes checking for lt_dlopen in -lltdl... no checking for socket... yes checking for connect... yes checking for gethostbyname... yes checking for pthread_self... yes checking for pthread_self in -lpthread... yes checking for deflate in -lz... no checking for Gpm_Open in -lgpm... yes checking for ggiOpen in -lggi... yes checking for tgetent in -lgpm... no checking for tgetent in -ltermcap... yes checking for X... libraries , headers checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for gtk-config... no checking gtk/gtk.h usability... no checking gtk/gtk.h presence... no checking for gtk/gtk.h... no checking for gtk_init in -lgtk... no creating all the Makefiles... configure: creating ./config.status config.status: creating makeautoconf config.status: creating conf/conf.auto config.status: creating include/autoconf.h Configuration: Items in parenthesis (...) will be built as shared libraries/modules Compiler: gcc Compiler flags: -O2 -fomit-frame-pointer -fno-strict-aliasing Compiler features used: Shared libraries support: Linux-native Server features: (socket) (wm) (wm_rc) (term) term_devpts Server socket driver flags: pthreads alien Server HW drivers: (gfx) (x11) (twin) (display) (tty) (ggi) Server HW tty driver flags: linux lrawkbd twterm termcap Libraries: (libTutf) (libTw) (libTT) TT library HW targets: (twin) (twin_tunnel) (twin_detunnel) (x11) (xml) Install path: /usr/bin, /usr/lib/twin, /usr/share/twin to show/change other configuration settings, you can run one of: './configure ', 'scripts/Configure.sh ', 'make menuconfig' or 'make config' twin is now (hopefully) configured. As next step, you probably want to run 'make'. + make Updating makeversion make -C include make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include' make autogen -C Tutf make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/Tutf' make[2]: Nothing to be done for 'autogen'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/Tutf' make autogen -C Tw make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/Tw' make[2]: Nothing to be done for 'autogen'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/Tw' make autogen -C TT make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/TT' make[2]: Nothing to be done for 'autogen'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include/TT' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/include' make -C docs make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/docs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/docs' make -C themes make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/themes' make -C hw_gfx make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/themes/hw_gfx' ln -f -s ShinyMetal_6x13.xpm default_6x13.xpm ln -f -s Ganymede_8x16.xpm default_8x16.xpm ln -f -s Ganymede_9x19.xpm default_9x19.xpm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/themes/hw_gfx' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/themes' make -C libs make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs' make -C libTutf make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTutf' building ../../include/Tw/Twautoconf.h /bin/bash ../../scripts/Configure.tty "../../" "../../" < /dev/null > /dev/null || \ /bin/sh ../../scripts/Configure.fallback "../../" "../../" < /dev/null > /dev/null building .modules gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -I../../include -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g ../../scripts/endianity.c -o ../../scripts/Endianity ../../scripts/Endianity > ../../include/Tw/endianity.h gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -I../../include -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g ../../scripts/getsizes.c -o ../../scripts/Getsizes ../../scripts/Getsizes > ../../include/Tw/datasizes.h gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -I../../include -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g ../../scripts/mkdep.c -o ../../scripts/Mkdep ../../scripts/mkdep.c: In function 'do_depend': ../../scripts/mkdep.c:526:9: warning: unused variable 'pagesizem1' [-Wunused-variable] 526 | int pagesizem1 = getpagesize()-1; | ^~~~~~~~~~ building .depend cat ../../scripts/unitypes32.in > ../../include/Tw/uni_types.h building ../../.hdepend gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -I../../include -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g ../../scripts/getsizes.c -o ../../scripts/Getsizes ../../scripts/Getsizes > ../../include/Tw/datasizes.h gcc -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -g -DINLINE=static -Wall -Wshadow -Wno-uninitialized -Wno-pointer-sign -D_GNU_SOURCE -I../../include -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g ../../scripts/mkdep.c -o ../../scripts/Mkdep ../../scripts/mkdep.c: In function 'do_depend': ../../scripts/mkdep.c:526:9: warning: unused variable 'pagesizem1' [-Wunused-variable] 526 | int pagesizem1 = getpagesize()-1; | ^~~~~~~~~~ building .depend cat ../../scripts/unitypes32.in > ../../include/Tw/uni_types.h building ../../.hdepend gcc -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c libTutf.c -o libTutf.o rm -f libTutf.a && ar cr libTutf.a libTutf.o && ranlib libTutf.a gcc -fPIC -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c libTutf.c -o libTutf.lo gcc -shared libTutf.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -Wl,-soname,libTutf.so.0 -o libTutf.so.0.6.2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTutf' make -C libTw make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTw' building .modules ln -f -s ../../server/md5.c md5.c ln -f -s ../../server/missing.c missing.c building .depend gcc -DCONF_SOCKET_PTHREADS -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c libTw.c -o libTw.o libTw.c: In function 'Tw_AttachConfirm': libTw.c:1329:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1329 | write(Fd, "\1", 1); | ^~~~~~~~~~~~~~~~~~ gcc -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c avl.c -o avl.o gcc -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c md5.c -o md5.o md5.c: In function 'MD5Final': md5.c:152:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 152 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ md5.c: In function 'MD5Update': md5.c:91:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 91 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:91:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c:100:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 100 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:100:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c: In function 'MD5Final': md5.c:135:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 135 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:135:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c:149:5: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 149 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:149:5: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ gcc -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c missing.c -o missing.o rm -f libTw.a && ar cr libTw.a libTw.o avl.o md5.o missing.o && ranlib libTw.a gcc -fPIC -DCONF_SOCKET_PTHREADS -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c libTw.c -o libTw.lo libTw.c: In function 'Tw_AttachConfirm': libTw.c:1329:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1329 | write(Fd, "\1", 1); | ^~~~~~~~~~~~~~~~~~ gcc -fPIC -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c avl.c -o avl.lo gcc -fPIC -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c md5.c -o md5.lo md5.c: In function 'MD5Final': md5.c:152:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 152 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ md5.c: In function 'MD5Update': md5.c:91:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 91 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:91:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c:100:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 100 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:100:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c: In function 'MD5Final': md5.c:135:9: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 135 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:135:9: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ md5.c:149:5: warning: 'MD5Transform' reading 128 bytes from a region of size 64 [-Wstringop-overread] 149 | MD5Transform(ctx->buf, (uint32 *) ctx->in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:149:5: note: referencing argument 2 of type 'const uint32[16]' {aka 'const long unsigned int[16]'} md5.c:174:6: note: in a call to function 'MD5Transform' 174 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ gcc -fPIC -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c missing.c -o missing.lo gcc -shared libTw.lo avl.lo md5.lo missing.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -Wl,-soname,libTw.so.4 -o libTw.so.4.6.2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTw' make -C libTT make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTT' building .modules ln -f -s ../../libs/libTw/avl.c avl.c ln -f -s ../../server/missing.c missing.c building .depend building .depend "Support Text Toolkit library (libTT)" has been disabled, so the library libTT will NOT be compiled or installed! make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs/libTT' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/libs' make -C clients make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/clients' building .modules building .depend gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c attach.c -o attach.o gcc attach.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twattach gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c cat.c -o cat.o gcc cat.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twcat gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c clip.c -o clip.o clip.c: In function 'main': clip.c:68:10: warning: variable 'Code' set but not used [-Wunused-but-set-variable] 68 | udat Code; | ^~~~ gcc clip.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twclip gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c cuckoo.c -o cuckoo.o gcc cuckoo.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twcuckoo gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c dialog.c -o dialog.o gcc dialog.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twdialog gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c event.c -o event.o gcc event.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twevent gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c findtwin.c -o findtwin.o findtwin.c: In function 'match_twsocket': findtwin.c:45:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 45 | char *s = d->d_name; | ^ gcc findtwin.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twfindtwin gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c lsmsgport.c -o lsmsgport.o gcc lsmsgport.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twlsmsgport gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c lsobj.c -o lsobj.o gcc lsobj.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twlsobj gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c sendmsg.c -o sendmsg.o gcc sendmsg.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twsendmsg gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c setroot.c -o setroot.o gcc setroot.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twsetroot gcc -DCONF_TERM_DEVPTS -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c pty.c -o pty.o In file included from ../include/Tw/Tw.h:407, from pty.c:42: pty.c: In function 'Spawn': ../include/Tw/common_m4.h:66:28: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | #define Tw_GetPrivileges() seteuid(0) | ^~~~~~~~~~ ../include/Tw/common1_m4.h:64:33: note: in expansion of macro 'Tw_GetPrivileges' 64 | #define TwGetPrivileges Tw_GetPrivileges | ^~~~~~~~~~~~~~~~ pty.c:221:5: note: in expansion of macro 'TwGetPrivileges' 221 | TwGetPrivileges(); | ^~~~~~~~~~~~~~~ ../include/Tw/common_m4.h:65:30: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define Tw_DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ ../include/Tw/common1_m4.h:63:41: note: in expansion of macro 'Tw_DropPrivileges' 63 | #define TwDropPrivileges Tw_DropPrivileges | ^~~~~~~~~~~~~~~~~ pty.c:224:9: note: in expansion of macro 'TwDropPrivileges' 224 | TwDropPrivileges(); | ^~~~~~~~~~~~~~~~ ../include/Tw/common_m4.h:65:49: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define Tw_DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ ../include/Tw/common1_m4.h:63:41: note: in expansion of macro 'Tw_DropPrivileges' 63 | #define TwDropPrivileges Tw_DropPrivileges | ^~~~~~~~~~~~~~~~~ pty.c:224:9: note: in expansion of macro 'TwDropPrivileges' 224 | TwDropPrivileges(); | ^~~~~~~~~~~~~~~~ ../include/Tw/common_m4.h:65:30: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define Tw_DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ ../include/Tw/common1_m4.h:63:41: note: in expansion of macro 'Tw_DropPrivileges' 63 | #define TwDropPrivileges Tw_DropPrivileges | ^~~~~~~~~~~~~~~~~ pty.c:229:5: note: in expansion of macro 'TwDropPrivileges' 229 | TwDropPrivileges(); | ^~~~~~~~~~~~~~~~ ../include/Tw/common_m4.h:65:49: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | #define Tw_DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ ../include/Tw/common1_m4.h:63:41: note: in expansion of macro 'Tw_DropPrivileges' 63 | #define TwDropPrivileges Tw_DropPrivileges | ^~~~~~~~~~~~~~~~~ pty.c:229:5: note: in expansion of macro 'TwDropPrivileges' 229 | TwDropPrivileges(); | ^~~~~~~~~~~~~~~~ gcc -DCONF__UNICODE -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c term.c -o term.o term.c: In function 'TokenizeStringVec': term.c:182:21: warning: variable 'save_n' set but not used [-Wunused-but-set-variable] 182 | uldat save_len, save_n, n = 0; | ^~~~~~ term.c: In function 'TwinTermH': term.c:403:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 403 | write(Fd, Event->EventKeyboard.AsciiSeq, Event->EventKeyboard.SeqLen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term.c:429:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | write(Fd, Event->EventSelectionNotify.Data, Event->EventSelectionNotify.Len / sizeof(hwfont)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ term.c:432:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 432 | write(Fd, Event->EventSelectionNotify.Data, Event->EventSelectionNotify.Len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc pty.o term.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -L../libs/libTutf -lTutf -o twterm gcc -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c sysmon.c -o sysmon.o gcc sysmon.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -o twsysmon gcc -DBINDIR=\"/usr/bin\" -DCONF__UNICODE -DINLINE=static -D_GNU_SOURCE -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c dm.c -o dm.o gcc dm.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -lcrypt -L../libs/libTutf -lTutf -o twdm gcc -DINLINE=static -D_GNU_SOURCE -D_REENTRANT -I../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c threadtest.c -o threadtest.o gcc threadtest.o -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -L../libs/libTw -lTw -lpthread -o twthreadtest ln -f -s twattach twdetach make -C mapscrn make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/clients/mapscrn' building .modules building .depend gcc -DCONF__UNICODE -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -DMAIN -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c mapscrn.c -o mapscrn.o gcc -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c findfile.c -o findfile.o findfile.c: In function 'findfile': findfile.c:182:38: warning: '%s' directive writing up to 1023 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 182 | sprintf(pathname, "%s%s", fnam, *sp); | ^~ In file included from /usr/include/stdio.h:980, from findfile.c:9: In function 'sprintf', inlined from 'findfile' at findfile.c:182:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 2047 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c utf8.c -o utf8.o gcc -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c xmalloc.c -o xmalloc.o gcc -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c getfd.c -o getfd.o gcc -DDATADIR=\"/usr/lib/kbd\" -DINLINE=static -D_GNU_SOURCE -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c kdmapop.c -o kdmapop.o In file included from kdmapop.c:30: m_version.h:24:1: warning: 'print_version_and_exit' defined but not used [-Wunused-function] 24 | print_version_and_exit(void) { | ^~~~~~~~~~~~~~~~~~~~~~ m_version.h:16:1: warning: 'set_progname' defined but not used [-Wunused-function] 16 | set_progname(char *name) { | ^~~~~~~~~~~~ gcc mapscrn.o findfile.o utf8.o xmalloc.o getfd.o kdmapop.o -L../../libs/libTw -lTw -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -o twmapscrn make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/clients/mapscrn' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/clients' make -C server make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server' building .modules building .depend make -C HW make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW' building .modules building .depend make -C hw_tty_common make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW/hw_tty_common' building .modules building .depend make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW/hw_tty_common' make -C hw_tty_linux make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW/hw_tty_linux' building .modules building .depend make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW/hw_tty_linux' gcc -fPIC -DCONF_HW_TTY_LINUX -DCONF_HW_TTY_LRAWKBD -DCONF_HW_TTY_TERMCAP -DCONF_HW_TTY_TWTERM -DCONF__UNICODE -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -I/usr/include/ncurses -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_tty.c -o hw_tty.lo In file included from hw_tty_linux/driver_linux.h:33, from hw_tty.c:156: hw_tty_linux/video_vcsa.h: In function 'vcsa_FlushVideo': hw_tty_linux/video_vcsa.h:143:57: warning: variable '_prevE' set but not used [-Wunused-but-set-variable] 143 | uldat prevS = (uldat)-1, prevE = (uldat)-1, _prevS, _prevE, _start, _end, start, end; | ^~~~~~ hw_tty.c: In function 'tty_InitHW': hw_tty.c:290:30: warning: variable 'tc_colorbug' set but not used [-Wunused-but-set-variable] 290 | force_mouse = FALSE, tc_colorbug = FALSE, | ^~~~~~~~~~~ In file included from hw_tty.c:23: hw_tty_linux/video_vcsa.h: In function 'vcsa_InitVideo': ../../include/twin.h:1899:28: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1899 | # define DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ hw_tty_linux/video_vcsa.h:29:5: note: in expansion of macro 'DropPrivileges' 29 | DropPrivileges(); | ^~~~~~~~~~~~~~ ../../include/twin.h:1899:47: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1899 | # define DropPrivileges() (setegid(getgid()), seteuid(getuid())) | ^~~~~~~~~~~~~~~~~ hw_tty_linux/video_vcsa.h:29:5: note: in expansion of macro 'DropPrivileges' 29 | DropPrivileges(); | ^~~~~~~~~~~~~~ hw_tty_linux/video_vcsa.h: In function 'vcsa_write': hw_tty_linux/video_vcsa.h:133:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | write(fd, vcsa_buff, chunk*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hw_tty.c:151: hw_tty_common/kbd_stdin.h: In function 'stdin_TestTty': hw_tty_common/kbd_stdin.h:30:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | write(tty_fd, "\033Z", 2); /* request ID */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ hw_tty.c: In function 'null_InitMouseConfirm': hw_tty.c:191:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | read(tty_fd, &c, 1); | ^~~~~~~~~~~~~~~~~~~ In file included from hw_tty_linux/kbd_raw1.h:46, from hw_tty_linux/kbd_raw.h:11, from hw_tty_linux/driver_linux.h:39: hw_tty_linux/kbd_bitops.h: At top level: hw_tty_linux/kbd_bitops.h:45:12: warning: 'lrawkbd_test_and_clear_bit' defined but not used [-Wunused-function] 45 | INLINE int lrawkbd_test_and_clear_bit(uldat nr, void * addr_) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ hw_tty_linux/kbd_bitops.h:11:13: warning: 'lrawkbd_set_bit' defined but not used [-Wunused-function] 11 | INLINE void lrawkbd_set_bit(uldat nr, void * addr_) | ^~~~~~~~~~~~~~~ gcc -shared hw_tty.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -lgpm -ltermcap -o hw_tty.so.0.6.2 gcc -fPIC -DCONF__UNICODE -DDATADIR=\"/usr/share\" -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_gfx.c -o hw_gfx.lo In file included from hw_gfx.c:20: hw_dirty.h:70:13: warning: 'VideoFlip' defined but not used [-Wunused-function] 70 | INLINE void VideoFlip(udat x, udat y) { | ^~~~~~~~~ hw_dirty.h:22:13: warning: 'Threshold_isDirtyVideo' defined but not used [-Wunused-function] 22 | INLINE byte Threshold_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~~~~~ hw_dirty.h:6:13: warning: 'Plain_isDirtyVideo' defined but not used [-Wunused-function] 6 | INLINE byte Plain_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~ gcc -shared hw_gfx.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -lX11 -lXpm -o hw_gfx.so.0.6.2 gcc -fPIC -DCONF__UNICODE -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_X11.c -o hw_X11.lo In file included from hw_X11.c:197: hw_X11_gfx_common2.h: In function 'X11_HideCursor': hw_X11_gfx_common2.h:8:12: warning: unused variable 'extra' [-Wunused-variable] 8 | hwattr extra = HWEXTRA32(V); | ^~~~~ In file included from hw_X11.c:27: hw_dirty.h: At top level: hw_dirty.h:70:13: warning: 'VideoFlip' defined but not used [-Wunused-function] 70 | INLINE void VideoFlip(udat x, udat y) { | ^~~~~~~~~ hw_dirty.h:22:13: warning: 'Threshold_isDirtyVideo' defined but not used [-Wunused-function] 22 | INLINE byte Threshold_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~~~~~ hw_dirty.h:6:13: warning: 'Plain_isDirtyVideo' defined but not used [-Wunused-function] 6 | INLINE byte Plain_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~ gcc -shared hw_X11.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -lX11 -o hw_X11.so.0.6.2 ln -f -s hw_X11.so.0.6.2 hw_X.so.0.6.2 gcc -fPIC -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_twin.c -o hw_twin.lo In file included from hw_twin.c:20: hw_dirty.h:70:13: warning: 'VideoFlip' defined but not used [-Wunused-function] 70 | INLINE void VideoFlip(udat x, udat y) { | ^~~~~~~~~ hw_dirty.h:22:13: warning: 'Threshold_isDirtyVideo' defined but not used [-Wunused-function] 22 | INLINE byte Threshold_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~~~~~ hw_dirty.h:6:13: warning: 'Plain_isDirtyVideo' defined but not used [-Wunused-function] 6 | INLINE byte Plain_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~ gcc -shared hw_twin.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -L../../libs/libTw -lTw -o hw_twin.so.0.6.2 gcc -fPIC -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_display.c -o hw_display.lo In file included from hw_display.c:22: hw_dirty.h:70:13: warning: 'VideoFlip' defined but not used [-Wunused-function] 70 | INLINE void VideoFlip(udat x, udat y) { | ^~~~~~~~~ hw_dirty.h:22:13: warning: 'Threshold_isDirtyVideo' defined but not used [-Wunused-function] 22 | INLINE byte Threshold_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~~~~~ hw_dirty.h:6:13: warning: 'Plain_isDirtyVideo' defined but not used [-Wunused-function] 6 | INLINE byte Plain_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../../include/osincludes.h:13, from ../../include/twin.h:26, from hw_display.c:13: In function 'sprintf', inlined from 'fix4display' at hw_display.c:404:2, inlined from 'display_InitHW' at hw_display.c:544:5: /usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 may overlap destination object '' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -shared hw_display.lo -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -g -g -g -o hw_display.so.0.6.2 gcc -fPIC -DINLINE=static -DTHIS_MODULE -D_GNU_SOURCE -I.. -I../../include -O2 -Wall -Werror=format-security -Wformat -Wno-pointer-sign -Wno-uninitialized -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -Wshadow -fasynchronous-unwind-tables -fcf-protection=full -fcommon -fstack-clash-protection -fstack-protector-strong -g -m64 -pipe -c hw_ggi.c -o hw_ggi.lo hw_ggi.c: In function 'GGI_Select': hw_ggi.c:368:11: error: implicit declaration of function 'ggiEventSelect'; did you mean 'ggiEventSend'? [-Wimplicit-function-declaration] 368 | ret = ggiEventSelect(gvis, &gmask, n, readfds, writefds, exceptfds, timeout); | ^~~~~~~~~~~~~~ | ggiEventSend hw_ggi.c: In function 'GGI_InitHW': hw_ggi.c:504:32: error: assignment to 'tany' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 504 | HW->HWSelectionPrivate = NULL; | ^ In file included from hw_ggi.c:26: hw_dirty.h: At top level: hw_dirty.h:70:13: warning: 'VideoFlip' defined but not used [-Wunused-function] 70 | INLINE void VideoFlip(udat x, udat y) { | ^~~~~~~~~ hw_dirty.h:22:13: warning: 'Threshold_isDirtyVideo' defined but not used [-Wunused-function] 22 | INLINE byte Threshold_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~~~~~ hw_dirty.h:6:13: warning: 'Plain_isDirtyVideo' defined but not used [-Wunused-function] 6 | INLINE byte Plain_isDirtyVideo(dat X, dat Y) { | ^~~~~~~~~~~~~~~~~~ make[2]: *** [../../makerules.in:695: hw_ggi.lo] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server/HW' make[1]: *** [../makerules.in:1007: build-dir-HW] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/twin-0.6.2/server' make: *** [makerules.in:1007: build-dir-server] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6tQ4k1 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6tQ4k1 (%build) I: [iurt_root_command] ERROR: chroot