D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/grail-3.0.9-9.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.leRiJx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf grail-3.0.9 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/grail-3.0.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grail-3.0.9 + /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.E3tX4L + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd grail-3.0.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi aclocal: overwriting 'm4/libtool.m4' with '/usr/share/aclocal/libtool.m4' aclocal: overwriting 'm4/ltoptions.m4' with '/usr/share/aclocal/ltoptions.m4' aclocal: overwriting 'm4/ltversion.m4' with '/usr/share/aclocal/ltversion.m4' libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config-aux'. libtoolize: copying file 'config-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:23: installing 'config-aux/compile' configure.ac:15: installing 'config-aux/missing' Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:42: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing 'config-aux/depcomp' test/gtest/Makefile.am:5: warning: source file '$(GTEST_SOURCE)/src/gtest-all.cc' is in a subdirectory, test/gtest/Makefile.am:5: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. test/gtest/Makefile.am:5: warning: source file '$(GTEST_SOURCE)/src/gtest_main.cc' is in a subdirectory, test/gtest/Makefile.am:5: but option 'subdir-objects' is disabled test/gtest/Makefile.am:13: warning: source file '$(XORG_GTEST_SOURCE)/src/xorg-gtest-all.cpp' is in a subdirectory, test/gtest/Makefile.am:13: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/fixture.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/no-premature-gestures.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/no-tap-after-drag.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/twodrag.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/dragthresh.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/timeout.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/atomic-timeout.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/tap-touch-accept.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/parallel-atomic-gestures.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:6: warning: source file 'x11/hold-reject.cpp' is in a subdirectory, test/integration/Makefile.am:6: but option 'subdir-objects' is disabled test/integration/Makefile.am:26: warning: source file '$(XORG_GTEST_SOURCE)/src/xorg-gtest_main.cpp' is in a subdirectory, test/integration/Makefile.am:26: but option 'subdir-objects' is disabled parallel-tests: installing 'config-aux/test-driver' tools/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools/Makefile.am:29: warning: source file 'common/device.c' is in a subdirectory, tools/Makefile.am:29: but option 'subdir-objects' is disabled tools/Makefile.am:29: warning: source file 'common/servertime.c' is in a subdirectory, tools/Makefile.am:29: but option 'subdir-objects' is disabled tools/Makefile.am:29: warning: source file 'common/slice.c' is in a subdirectory, tools/Makefile.am:29: but option 'subdir-objects' is disabled tools/Makefile.am:37: warning: source file 'common/device.c' is in a subdirectory, tools/Makefile.am:37: but option 'subdir-objects' is disabled tools/Makefile.am:37: warning: source file 'common/servertime.c' is in a subdirectory, tools/Makefile.am:37: but option 'subdir-objects' is disabled tools/Makefile.am:37: warning: source file 'common/slice.c' is in a subdirectory, tools/Makefile.am:37: but option 'subdir-objects' is disabled tools/Makefile.am:21: warning: source file 'common/device.c' is in a subdirectory, tools/Makefile.am:21: but option 'subdir-objects' is disabled tools/Makefile.am:21: warning: source file 'common/servertime.c' is in a subdirectory, tools/Makefile.am:21: but option 'subdir-objects' is disabled tools/Makefile.am:21: warning: source file 'common/slice.c' is in a subdirectory, tools/Makefile.am:21: but option 'subdir-objects' is disabled tools/Makefile.am:13: warning: source file 'common/device.c' is in a subdirectory, tools/Makefile.am:13: but option 'subdir-objects' is disabled tools/Makefile.am:13: warning: source file 'common/servertime.c' is in a subdirectory, tools/Makefile.am:13: but option 'subdir-objects' is disabled tools/Makefile.am:13: warning: source file 'common/slice.c' is in a subdirectory, tools/Makefile.am:13: but option 'subdir-objects' is disabled + 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 Modifying config-aux/ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /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 + '[' -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 --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 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 objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking 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 gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XINPUT... yes checking for FRAME... yes checking for /usr/src/gtest/src/gtest-all.cc... no checking for /usr/src/gtest/src/gtest_main.cc... no checking for /usr/src/gtest/src/gtest-all.cc... (cached) no checking for /usr/src/gtest/src/gtest_main.cc... (cached) no checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking if g++ supports -Werror=unknown-warning-option... yes checking if g++ supports -Werror=unused-command-line-argument... yes checking if g++ supports-Wall... yes checking if g++ supports-Wpointer-arith... yes checking if g++ supports-Wmissing-declarations... yes checking if g++ supports-Wformat=2... yes checking if g++ supports-Wunused... yes checking if g++ supports-Wuninitialized... yes checking if g++ supports-Wshadow... yes checking if g++ supports-Wcast-qual... yes checking if g++ supports-Wmissing-noreturn... yes checking if g++ supports-Wmissing-format-attribute... yes checking if g++ supports-Wredundant-decls... yes checking if g++ supports-Werror=implicit... yes checking if g++ supports-Werror=nonnull... yes checking if g++ supports-Werror=init-self... yes checking if g++ supports-Werror=main... yes checking if g++ supports-Werror=missing-braces... yes checking if g++ supports-Werror=sequence-point... yes checking if g++ supports-Werror=return-type... yes checking if g++ supports-Werror=trigraphs... yes checking if g++ supports-Werror=array-bounds... yes checking if g++ supports-Werror=write-strings... yes checking if g++ supports-Werror=address... yes checking if g++ supports-Werror=int-to-pointer-cast... yes checking if g++ supports-Werror=pointer-to-int-cast... yes Package xorg-gtest was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-gtest.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-gtest' found Package xorg-gtest was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-gtest.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-gtest' found checking for X11... yes checking for EVEMU... yes configure: WARNING: xorg-gtest is not available, tests will not be built checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tools/Makefile config.status: creating test/Makefile config.status: creating test/gtest/Makefile config.status: creating test/integration/Makefile config.status: creating test/regular/Makefile config.status: creating grail.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: configure: Open Input Framework - Grail library - 3.0.9 configure: configure: Prefix : /usr configure: CFLAGS : -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  configure: X11 support : yes configure: Build integration tests : no configure: + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX event.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX log.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX slice.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX touch.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX subscription.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX handle.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX gesture.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX recognizer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX atomic-recognizer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXX regular-recognizer.lo make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' CXXLD libgrail.la make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/src' Making all in test Making all in gtest make[3]: Nothing to be done for 'all'. Making all in regular make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in tools make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC slice.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC servertime.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC device.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC grail-test-propagation.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC grail-test-3-1.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC grail-test-atomic.o grail-test-atomic.c: In function 'process_frame_events': grail-test-atomic.c:149:9: error: this 'else' clause does not guard... [-Werror=misleading-indentation] else ^~~~ grail-test-atomic.c:152:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' subscribe(grail_handle, device, subscribe_window, subscriptions, 3, ^~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:554: grail-test-atomic.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CC grail-test-edge.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CCLD grail-test-propagation make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' CCLD grail-test-3-1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grail-3.0.9/tools' make[1]: *** [Makefile:500: all-recursive] Error 1 make: *** [Makefile:409: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E3tX4L (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.E3tX4L (%build) I: [iurt_root_command] ERROR: chroot