D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/nagios-check_mysql_health-2.1.7-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.590EZI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf check_mysql_health-2.1.7 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/check_mysql_health-2.1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd check_mysql_health-2.1.7 + /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.E59yih + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd check_mysql_health-2.1.7 + '[' 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 -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 + 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=noarch-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 --build=x86_64-mandriva-linux-gnu --libexecdir=/usr/share/nagios/plugins --with-statefiles-dir=/var/lib/nagios 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 how to create a pax tar archive... gnutar checking build system type... x86_64-mandriva-linux-gnu checking host system type... x86_64-mandriva-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes variable with_statefiles_dir is /var/lib/nagios variable with_mymodules_dir is /usr/local/nagios/libexec variable with_mymodules_dyn_dir is /usr/local/nagios/libexec checking for sh... /usr/bin/sh checking for perl... /usr/bin/perl checking for gzip... /usr/bin/gzip checking for gawk... /usr/bin/gawk checking for grep... /usr/bin/grep checking for echo... /usr/bin/echo checking for sed... /usr/bin/sed checking for cat... /usr/bin/cat configure: creating ./config.status config.status: creating Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating t/Makefile --with-perl: /usr/bin/perl --with-statefiles-dir: /var/lib/nagios --with-nagios-user: nagios --with-nagios-group: nagios --with-mymodules-dir: /usr/local/nagios/libexec --with-mymodules-dyn-dir: /usr/local/nagios/libexec + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j4 Making all in plugins-scripts make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' /usr/bin/echo "#! #PERL# -w" | /usr/bin/gawk -f ./subst > check_mysql_health /usr/bin/echo "# nagios: -epn" >> check_mysql_health /usr/bin/echo >> check_mysql_health /usr/bin/echo "my %ERRORS=( OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 );" >> check_mysql_health /usr/bin/echo "my %ERRORCODES=( 0 => 'OK', 1 => 'WARNING', 2 => 'CRITICAL', 3 => 'UNKNOWN' );" >> check_mysql_health for m in Nagios/DBD/MySQL/Server/Instance/Innodb.pm Nagios/DBD/MySQL/Server/Instance/Myisam.pm Nagios/DBD/MySQL/Server/Instance/Replication.pm Nagios/DBD/MySQL/Server/Instance.pm Nagios/DBD/MySQL/Server.pm Nagios/DBD/MySQL/Cluster.pm Nagios/Extraopts.pm; do \ /usr/bin/sed -e 's/^1;//g' < $m | /usr/bin/gawk -f ./subst | /usr/bin/grep -v "my %ERROR" >> check_mysql_health; \ done if [ -d "/usr/local/nagios/libexec" ]; then \ for m in /usr/local/nagios/libexec/CheckMySQLHealthExt*.pm; do \ if [ -f $m ]; then \ /usr/bin/echo found $m; \ /usr/bin/sed -e 's/^1;//g' < $m | /usr/bin/gawk -f ./subst | /usr/bin/grep -v "my %ERROR" >> check_mysql_health; \ fi \ done \ fi /usr/bin/cat check_mysql_health.pl | /usr/bin/grep -v "^use Nagios" | /usr/bin/grep -v "^my %ERROR" | /usr/bin/gawk -f ./subst >> check_mysql_health chmod +x check_mysql_health make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' Making all in t make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JXPCIS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 + cd check_mysql_health-2.1.7 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall_std is deprecated, try %make_install instead' warning: %makeinstall_std is deprecated, try %make_install instead + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 install Making install in plugins-scripts make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' test -z "/usr/share/nagios/plugins" || mkdir -p -- "/home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64/usr/share/nagios/plugins" /usr/bin/install -c 'check_mysql_health' '/home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64/usr/share/nagios/plugins/check_mysql_health' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/plugins-scripts' Making install in t make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/t' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/t' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/t' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7/t' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7' + install -d -m 755 /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64/etc/nagios/plugins.d + cat + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 2.1.7-6.mga7 --unique-debug-suffix -2.1.7-6.mga7.x86_64 --unique-debug-src-base nagios-check_mysql_health-2.1.7-6.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/check_mysql_health-2.1.7 + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: nagios-check_mysql_health-2.1.7-6.mga7.noarch Provides: config(nagios-check_mysql_health) = 2.1.7-6.mga7 nagios-check_mysql_health = 2.1.7-6.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl(Data::Dumper) perl(File::Basename) perl(File::Copy) perl(File::Path) perl(File::Temp) perl(Getopt::Long) perl(IO::File) perl(Net::Ping) perl(POSIX) perl(Time::HiRes) perl(lib) perl(strict) perl(vars) perl-base >= 2:5.26.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/noarch/nagios-check_mysql_health-2.1.7-6.mga7.noarch.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0eoNOu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd check_mysql_health-2.1.7 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/nagios-check_mysql_health-2.1.7-6.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1GI0V6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf check_mysql_health-2.1.7 + exit 0 D: [iurt_root_command] Success!