D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/xtrap-1.0.2-11.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UQ7KE2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xtrap-1.0.2 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/xtrap-1.0.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xtrap-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MaOVmK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xtrap-1.0.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + /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 + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --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 --x-includes=/usr/include --x-libraries=/usr/lib64 --x-includes=/usr/include --x-libraries=/usr/lib64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XTRAP_APP... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 rm -f xtrapreset.1x xtrapinfo.1x xtrapstats.1x xtrapout.1x xtrapin.1x xtrapchar.1x xtrapproto.1x (for i in xtrapreset.1x xtrapinfo.1x xtrapstats.1x xtrapout.1x xtrapin.1x xtrapchar.1x xtrapproto.1x ; do \ echo .so man1/xtrap.1x > $i; \ done) /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapchar-XEKeybCtrl.o -MD -MP -MF ".deps/xtrapchar-XEKeybCtrl.Tpo" -c -o xtrapchar-XEKeybCtrl.o `test -f 'XEKeybCtrl.c' || echo './'`XEKeybCtrl.c; \ then mv -f ".deps/xtrapchar-XEKeybCtrl.Tpo" ".deps/xtrapchar-XEKeybCtrl.Po"; else rm -f ".deps/xtrapchar-XEKeybCtrl.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapchar-chparse.o -MD -MP -MF ".deps/xtrapchar-chparse.Tpo" -c -o xtrapchar-chparse.o `test -f 'chparse.c' || echo './'`chparse.c; \ then mv -f ".deps/xtrapchar-chparse.Tpo" ".deps/xtrapchar-chparse.Po"; else rm -f ".deps/xtrapchar-chparse.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_BSD_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapin-XEKeybCtrl.o -MD -MP -MF ".deps/xtrapin-XEKeybCtrl.Tpo" -c -o xtrapin-XEKeybCtrl.o `test -f 'XEKeybCtrl.c' || echo './'`XEKeybCtrl.c; \ then mv -f ".deps/xtrapin-XEKeybCtrl.Tpo" ".deps/xtrapin-XEKeybCtrl.Po"; else rm -f ".deps/xtrapin-XEKeybCtrl.Tpo"; exit 1; fi In file included from /usr/include/signal.h:28:0, from XEKeybCtrl.c:38: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_BSD_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapout-XEKeybCtrl.o -MD -MP -MF ".deps/xtrapout-XEKeybCtrl.Tpo" -c -o xtrapout-XEKeybCtrl.o `test -f 'XEKeybCtrl.c' || echo './'`XEKeybCtrl.c; \ then mv -f ".deps/xtrapout-XEKeybCtrl.Tpo" ".deps/xtrapout-XEKeybCtrl.Po"; else rm -f ".deps/xtrapout-XEKeybCtrl.Tpo"; exit 1; fi In file included from /usr/include/signal.h:28:0, from XEKeybCtrl.c:38: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapproto-xtrapproto.o -MD -MP -MF ".deps/xtrapproto-xtrapproto.Tpo" -c -o xtrapproto-xtrapproto.o `test -f 'xtrapproto.c' || echo './'`xtrapproto.c; \ then mv -f ".deps/xtrapproto-xtrapproto.Tpo" ".deps/xtrapproto-xtrapproto.Po"; else rm -f ".deps/xtrapproto-xtrapproto.Tpo"; exit 1; fi xtrapproto.c: In function 'main': xtrapproto.c:75:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' sed -e 's|__vendorversion__|"xtrap 1.0.2" "X Version 11"|' -e 's|__xorgversion__|"xtrap 1.0.2" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1x|g' -e 's|__libmansuffix__|3x|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5x|g' < xtrap.man > xtrap.1x make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_BSD_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapout-xtrapout.o -MD -MP -MF ".deps/xtrapout-xtrapout.Tpo" -c -o xtrapout-xtrapout.o `test -f 'xtrapout.c' || echo './'`xtrapout.c; \ then mv -f ".deps/xtrapout-xtrapout.Tpo" ".deps/xtrapout-xtrapout.Po"; else rm -f ".deps/xtrapout-xtrapout.Tpo"; exit 1; fi In file included from /usr/include/stdio.h:27:0, from xtrapout.c:91: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xtrapout.c: In function 'main': xtrapout.c:227:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ xtrapout.c:268:35: warning: passing argument 3 of 'XEAddRequestCBs' from incompatible pointer type [-Wincompatible-pointer-types] XEAddRequestCBs(tc, requests, print_req_callback, NULL); ^~~~~~~~~~~~~~~~~~ In file included from xtrapout.c:93:0: /usr/include/X11/extensions/xtraplibp.h:85:5: note: expected 'void_function {aka void (*)(struct _XETC *, struct *, unsigned char *)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, char *) {aka void (*)(struct _XETC *, struct *, char *)}' int XEAddRequestCBs (XETC *tc , ReqFlags req_flags , void_function func , ^~~~~~~~~~~~~~~ xtrapout.c:269:31: warning: passing argument 3 of 'XEAddEventCBs' from incompatible pointer type [-Wincompatible-pointer-types] XEAddEventCBs(tc, events, print_evt_callback, NULL); ^~~~~~~~~~~~~~~~~~ In file included from xtrapout.c:93:0: /usr/include/X11/extensions/xtraplibp.h:88:5: note: expected 'void_function {aka void (*)(struct _XETC *, struct *, unsigned char *)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, char *) {aka void (*)(struct _XETC *, struct *, char *)}' int XEAddEventCBs (XETC *tc , EventFlags evt_flags , void_function func , ^~~~~~~~~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ In file included from /usr/include/X11/extensions/xtraplib.h:53:0, from xtrapout.c:92: xtrapout.c:276:28: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] _InitExceptionHandling((void_function)SetGlobalDone); ^ In file included from /usr/include/X11/extensions/xtrapemacros.h:47:0, from /usr/include/X11/extensions/xtraplib.h:53, from xtrapout.c:92: /usr/include/signal.h:102:23: note: expected '__sighandler_t {aka void (*)(int)}' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^~~~~~ xtrapout.c:277:28: warning: passing argument 1 of 'XEEnableCtrlKeys' from incompatible pointer type [-Wincompatible-pointer-types] (void)XEEnableCtrlKeys((void_function)SetGlobalDone); ^ In file included from xtrapout.c:99:0: XEKeybCtrl.h:3:12: note: expected 'void (*)(int)' but argument is of type 'void (*)(XETC *, XETrapDatum *, BYTE *) {aka void (*)(struct _XETC *, struct *, unsigned char *)}' extern int XEEnableCtrlKeys(void(*rtn)(int)); ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapinfo-xtrapinfo.o -MD -MP -MF ".deps/xtrapinfo-xtrapinfo.Tpo" -c -o xtrapinfo-xtrapinfo.o `test -f 'xtrapinfo.c' || echo './'`xtrapinfo.c; \ then mv -f ".deps/xtrapinfo-xtrapinfo.Tpo" ".deps/xtrapinfo-xtrapinfo.Po"; else rm -f ".deps/xtrapinfo-xtrapinfo.Tpo"; exit 1; fi xtrapinfo.c: In function 'main': xtrapinfo.c:71:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o xtrapout xtrapout-xtrapout.o xtrapout-XEKeybCtrl.o -lX11 -lXTrap /usr/bin/ld: xtrapout-xtrapout.o: undefined reference to symbol 'XtAppInitialize' /usr/lib64/libXt.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:438: xtrapout] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o xtrapproto xtrapproto-xtrapproto.o -lX11 -lXTrap /usr/bin/ld: xtrapproto-xtrapproto.o: undefined reference to symbol 'XtAppInitialize' /usr/lib64/libXt.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[1]: *** [Makefile:441: xtrapproto] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -D_BSD_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapin-xtrapin.o -MD -MP -MF ".deps/xtrapin-xtrapin.Tpo" -c -o xtrapin-xtrapin.o `test -f 'xtrapin.c' || echo './'`xtrapin.c; \ then mv -f ".deps/xtrapin-xtrapin.Tpo" ".deps/xtrapin-xtrapin.Po"; else rm -f ".deps/xtrapin-xtrapin.Tpo"; exit 1; fi In file included from /usr/include/stdio.h:27:0, from xtrapin.c:88: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ xtrapin.c: In function 'main': xtrapin.c:176:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapchar-xtrapchar.o -MD -MP -MF ".deps/xtrapchar-xtrapchar.Tpo" -c -o xtrapchar-xtrapchar.o `test -f 'xtrapchar.c' || echo './'`xtrapchar.c; \ then mv -f ".deps/xtrapchar-xtrapchar.Tpo" ".deps/xtrapchar-xtrapchar.Po"; else rm -f ".deps/xtrapchar-xtrapchar.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapreset-xtrapreset.o -MD -MP -MF ".deps/xtrapreset-xtrapreset.Tpo" -c -o xtrapreset-xtrapreset.o `test -f 'xtrapreset.c' || echo './'`xtrapreset.c; \ then mv -f ".deps/xtrapreset-xtrapreset.Tpo" ".deps/xtrapreset-xtrapreset.Po"; else rm -f ".deps/xtrapreset-xtrapreset.Tpo"; exit 1; fi xtrapreset.c: In function 'main': xtrapreset.c:70:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapstats-xtrapstats.o -MD -MP -MF ".deps/xtrapstats-xtrapstats.Tpo" -c -o xtrapstats-xtrapstats.o `test -f 'xtrapstats.c' || echo './'`xtrapstats.c; \ then mv -f ".deps/xtrapstats-xtrapstats.Tpo" ".deps/xtrapstats-xtrapstats.Po"; else rm -f ".deps/xtrapstats-xtrapstats.Tpo"; exit 1; fi xtrapstats.c: In function 'main': xtrapstats.c:78:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (Cardinal)NULL); ^ xtrapstats.c:112:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' if gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -MT xtrapinfo-XEKeybCtrl.o -MD -MP -MF ".deps/xtrapinfo-XEKeybCtrl.Tpo" -c -o xtrapinfo-XEKeybCtrl.o `test -f 'XEKeybCtrl.c' || echo './'`XEKeybCtrl.c; \ then mv -f ".deps/xtrapinfo-XEKeybCtrl.Tpo" ".deps/xtrapinfo-XEKeybCtrl.Po"; else rm -f ".deps/xtrapinfo-XEKeybCtrl.Tpo"; exit 1; fi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xtrap-1.0.2' make: *** [Makefile:350: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MaOVmK (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MaOVmK (%build) I: [iurt_root_command] ERROR: chroot