D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ganglia-3.7.2-6.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rKCbiM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ganglia-monitor-script-0.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ganglia-monitor-script-0.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd ganglia-monitor-script-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + rm -rf ganglia-3.7.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ganglia-3.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ganglia-3.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3 (ganglia-3.7.2-tirpc-hack.patch):' Patch #3 (ganglia-3.7.2-tirpc-hack.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file configure.ac patching file gmetad/Makefile.am patching file gmetric/Makefile.am patching file gmond/Makefile.am patching file gmond/modules/cpu/Makefile.am patching file gmond/modules/disk/Makefile.am patching file gmond/modules/example/Makefile.am patching file gmond/modules/memory/Makefile.am patching file gmond/modules/network/Makefile.am patching file gmond/modules/perl/Makefile.am patching file gmond/modules/python/Makefile.am patching file gmond/modules/status/Makefile.am patching file gmond/modules/system/Makefile.am patching file lib/Makefile.am + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U1K1WT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ganglia-3.7.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + touch Makefile.am + aclocal -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory sh: line 1: git: command not found + autoheader sh: line 1: git: command not found + automake --add-missing --copy --foreign + libtoolize --automake --copy + automake --add-missing --copy --foreign configure.ac:70: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:70: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Makefile.am:14: warning: support for distribution archives compressed with legacy program 'compress' is deprecated. Makefile.am:14: It will be removed in Automake 2.0 Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmetad/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmetric/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/Makefile.am:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/cpu/Makefile.am:28: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/disk/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/example/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/memory/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/network/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/perl/Makefile.am:31: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/python/Makefile.am:30: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/status/Makefile.am:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') gmond/modules/system/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:17: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + autoconf -f sh: line 1: git: command not found configure.ac:70: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9840: AM_INIT_AUTOMAKE is expanded from... configure.ac:70: the top level configure.ac:110: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:110: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10156: AM_CONFIG_HEADER is expanded from... configure.ac:110: the top level configure.ac:124: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:124: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:124: the top level configure.ac:125: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:125: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:125: the top level configure.ac:625: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:625: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:625: the top level configure.ac:645: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:645: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:645: the top level configure.ac:647: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:647: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:647: the top level configure.ac:648: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:648: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:648: the top level configure.ac:649: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:649: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:649: the top level configure.ac:650: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:650: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:650: the top level configure.ac:651: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:651: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:651: the top level configure.ac:652: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:652: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:652: the top level configure.ac:653: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:653: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:653: the top level configure.ac:654: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:654: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:654: the top level configure.ac:655: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:655: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:655: the top level configure.ac:656: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:656: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:656: the top level configure.ac:657: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:657: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... acinclude.m4:50: AC_SEARCH_TYPE is expanded from... configure.ac:657: the top level configure.ac:707: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:707: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:707: the top level configure.ac:724: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:724: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:724: the top level configure.ac:763: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:763: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:763: the top level configure.ac:822: warning: The macro `ac_cv_prog_gcc' is obsolete. configure.ac:822: You should run autoupdate. ./lib/autoconf/c.m4:440: ac_cv_prog_gcc is expanded from... configure.ac:822: the top level configure.ac:895: warning: AC_OUTPUT should be used without arguments. configure.ac:895: You should run autoupdate. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./build/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libmetrics/build/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./libmetrics/build/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./libmetrics/build/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./libmetrics/build/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./libmetrics/build/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./libmetrics/build/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying build/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 . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-python --disable-static --with-gmetad --enable-status checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/pterjan/rpmbuild/BUILD/ganglia-3.7.2/build/missing: Unknown `--is-lightweight' option Try `/home/pterjan/rpmbuild/BUILD/ganglia-3.7.2/build/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.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 a sed that does not truncate output... (cached) /usr/bin/sed Configuring libmetrics ... checking for pthread_create in -lpthread... yes checking for pthread_create in -lpthreads... no checking for rrd.h... yes checking for rrd_create in -lrrd... yes The ganglia graphs are created using RRDTool (http://www.rrdtool.org/) checking Python support... no checking Perl support... no checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes Checking for apr checking for APR... yes Checking for tirpc checking for LIBTIRPC... yes Checking for libmemcached Checking for confuse checking for cfg_parse in -lconfuse... yes Found a suitable Confuse library Checking for expat checking for XML_ParserCreate in -lexpat... yes Found a suitable Expat library Checking for pcre checking for pcre/pcre.h... no checking for pcre.h... no checking for pcre_compile in -lpcre... no libpcre not found, specify --with-libpcre=no to build without PCRE support error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.U1K1WT (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.U1K1WT (%build) I: [iurt_root_command] ERROR: chroot