Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-1705-2772/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'] warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/ndoutils-1.4-0.beta7.1.rf.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-1705-2772/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14076 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ndoutils-1.4b7 + /usr/bin/gzip -dc /builddir/build/SOURCES/ndoutils-1.4b7.tar.gz + tar -xvvf - drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:41 ndoutils-1.4b7/ drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:28 ndoutils-1.4b7/config/ -rw-rw-r-- nagios/nagios 439 2007-01-07 19:35:58 ndoutils-1.4b7/config/misccommands.cfg -rw-rw-r-- nagios/nagios 566 2007-01-07 19:35:58 ndoutils-1.4b7/config/nagios.cfg -rw-rw-r-- nagios/nagios 3860 2007-10-31 14:17:04 ndoutils-1.4b7/config/ndo2db.cfg -rw-rw-r-- nagios/nagios 4751 2007-09-27 12:47:44 ndoutils-1.4b7/config/ndomod.cfg -rw-rw-r-- nagios/nagios 16 2007-01-07 19:35:49 ndoutils-1.4b7/.cvsignore -rw-rw-r-- nagios/nagios 4958 2007-10-31 14:17:03 ndoutils-1.4b7/Changelog -rw-rw-r-- nagios/nagios 501 2007-10-03 14:58:48 ndoutils-1.4b7/Makefile.in -rw-rw-r-- nagios/nagios 6511 2007-04-23 11:49:24 ndoutils-1.4b7/README -rw-rw-r-- nagios/nagios 1054 2007-04-10 12:21:33 ndoutils-1.4b7/REQUIREMENTS -rw-rw-r-- nagios/nagios 2006 2007-01-07 19:35:49 ndoutils-1.4b7/TODO -rw-rw-r-- nagios/nagios 672 2007-04-10 12:21:33 ndoutils-1.4b7/UPGRADING -rwxrwxr-x nagios/nagios 43882 2007-01-07 19:35:49 ndoutils-1.4b7/config.guess -rwxrwxr-x nagios/nagios 32304 2007-01-07 19:35:49 ndoutils-1.4b7/config.sub -rwxrwxr-x nagios/nagios 222478 2007-10-31 14:17:03 ndoutils-1.4b7/configure -rw-rw-r-- nagios/nagios 11129 2007-10-31 14:17:03 ndoutils-1.4b7/configure.in -rw-rw-r-- nagios/nagios 597 2007-10-03 14:58:48 ndoutils-1.4b7/init-script.suse.in -rwxrwxr-x nagios/nagios 5585 2007-01-07 19:35:48 ndoutils-1.4b7/install-sh -rwxrwxr-x nagios/nagios 982 2007-10-03 14:58:49 ndoutils-1.4b7/subst.in -rwxrwxr-x nagios/nagios 3022 2007-10-31 14:17:03 ndoutils-1.4b7/update-version drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:29 ndoutils-1.4b7/db/ -rwxrwxr-x nagios/nagios 1825 2007-10-31 14:17:04 ndoutils-1.4b7/db/installdb -rw-rw-r-- nagios/nagios 770 2007-02-18 23:48:11 ndoutils-1.4b7/db/README drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:30 ndoutils-1.4b7/db/queries/ -rw-rw-r-- nagios/nagios 484 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/comment_history.sql -rw-rw-r-- nagios/nagios 447 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/comments.sql -rw-rw-r-- nagios/nagios 1284 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/contact_notification_methods.sql -rw-rw-r-- nagios/nagios 704 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/contact_notifications.sql -rw-rw-r-- nagios/nagios 545 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/contact_status.sql -rw-rw-r-- nagios/nagios 848 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/contactgroup_membership.sql -rw-rw-r-- nagios/nagios 411 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/contacts.sql -rw-rw-r-- nagios/nagios 531 2007-01-19 15:34:39 ndoutils-1.4b7/db/queries/downtime_history.sql -rw-rw-r-- nagios/nagios 477 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/event_handlers.sql -rw-rw-r-- nagios/nagios 490 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/flapping_history.sql -rw-rw-r-- nagios/nagios 421 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_comments.sql -rw-rw-r-- nagios/nagios 505 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_downtime_history.sql -rw-rw-r-- nagios/nagios 451 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_event_handlers.sql -rw-rw-r-- nagios/nagios 464 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_flapping_history.sql -rw-rw-r-- nagios/nagios 445 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_notifications.sql -rw-rw-r-- nagios/nagios 424 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_state_history.sql -rw-rw-r-- nagios/nagios 500 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/host_status.sql -rw-rw-r-- nagios/nagios 770 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/hostgroup_membership.sql -rw-rw-r-- nagios/nagios 384 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/hosts.sql -rw-rw-r-- nagios/nagios 455 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/notifications.sql -rw-rw-r-- nagios/nagios 490 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/scheduled_downtime.sql -rw-rw-r-- nagios/nagios 456 2007-01-19 15:34:42 ndoutils-1.4b7/db/queries/service_comments.sql -rw-rw-r-- nagios/nagios 540 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_downtime_history.sql -rw-rw-r-- nagios/nagios 486 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_event_handlers.sql -rw-rw-r-- nagios/nagios 499 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_flapping_history.sql -rw-rw-r-- nagios/nagios 483 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_notifications.sql -rw-rw-r-- nagios/nagios 459 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_state_history.sql -rw-rw-r-- nagios/nagios 631 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/service_status.sql -rw-rw-r-- nagios/nagios 880 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/servicegroup_membership.sql -rw-rw-r-- nagios/nagios 497 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/services.sql -rw-rw-r-- nagios/nagios 450 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/state_history.sql -rw-rw-r-- nagios/nagios 558 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/timed_event_queue.sql -rw-rw-r-- nagios/nagios 623 2007-01-19 15:34:43 ndoutils-1.4b7/db/queries/timed_events.sql -rw-rw-r-- nagios/nagios 6152 2007-08-29 11:20:42 ndoutils-1.4b7/db/mysql-mods-1.4b5.sql -rw-rw-r-- nagios/nagios 5127 2007-10-31 14:17:04 ndoutils-1.4b7/db/mysql-mods-1.4b7.sql -rw-rw-r-- nagios/nagios 24546 2007-10-31 14:17:04 ndoutils-1.4b7/db/mysql-upgrade-1.3.sql -rw-rw-r-- nagios/nagios 12246 2007-10-31 14:17:04 ndoutils-1.4b7/db/mysql-upgrade-1.4b1.sql -rw-rw-r-- nagios/nagios 11368 2007-10-31 14:17:05 ndoutils-1.4b7/db/mysql-upgrade-1.4b2.sql -rw-rw-r-- nagios/nagios 11279 2007-10-31 14:17:05 ndoutils-1.4b7/db/mysql-upgrade-1.4b3.sql -rw-rw-r-- nagios/nagios 11279 2007-10-31 14:17:05 ndoutils-1.4b7/db/mysql-upgrade-1.4b4.sql -rw-rw-r-- nagios/nagios 5127 2007-10-31 14:17:05 ndoutils-1.4b7/db/mysql-upgrade-1.4b5.sql -rw-rw-r-- nagios/nagios 5127 2007-10-31 14:17:05 ndoutils-1.4b7/db/mysql-upgrade-1.4b6.sql -rw-rw-r-- nagios/nagios 58014 2007-08-29 11:20:44 ndoutils-1.4b7/db/mysql.sql -rwxrwxr-x nagios/nagios 202 2007-02-18 23:48:11 ndoutils-1.4b7/db/prepsql -rwxrwxr-x nagios/nagios 2662 2007-10-31 14:17:05 ndoutils-1.4b7/db/upgradedb drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:39 ndoutils-1.4b7/docs/ -rw-rw-r-- nagios/nagios 390223 2007-09-27 12:47:45 ndoutils-1.4b7/docs/NDOUTILS DB Model.odt -rw-rw-r-- nagios/nagios 516941 2007-08-29 11:20:45 ndoutils-1.4b7/docs/NDOUTILS DB Model.pdf -rw-rw-r-- nagios/nagios 261868 2007-09-27 12:47:45 ndoutils-1.4b7/docs/NDOUtils Documentation.odt -rw-rw-r-- nagios/nagios 298917 2007-04-18 10:43:28 ndoutils-1.4b7/docs/NDOUtils Documentation.pdf drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:40 ndoutils-1.4b7/include/ drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:40 ndoutils-1.4b7/include/nagios-2x/ -rw-rw-r-- nagios/nagios 9990 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/broker.h -rw-rw-r-- nagios/nagios 2121 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-2x/cgiauth.h -rw-rw-r-- nagios/nagios 17573 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-2x/cgiutils.h -rw-rw-r-- nagios/nagios 4959 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/comments.h -rw-rw-r-- nagios/nagios 14116 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-2x/common.h -rw-rw-r-- nagios/nagios 12 2007-02-18 15:18:55 ndoutils-1.4b7/include/nagios-2x/config.h -rw-rw-r-- nagios/nagios 3570 2007-01-08 17:43:34 ndoutils-1.4b7/include/nagios-2x/downtime.h -rw-rw-r-- nagios/nagios 894 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-2x/epn_nagios.h -rw-rw-r-- nagios/nagios 432 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-2x/getcgi.h -rw-rw-r-- nagios/nagios 2149 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-2x/locations.h -rw-rw-r-- nagios/nagios 40235 2007-04-10 12:21:35 ndoutils-1.4b7/include/nagios-2x/nagios.h -rw-rw-r-- nagios/nagios 3306 2007-01-08 17:43:34 ndoutils-1.4b7/include/nagios-2x/nebcallbacks.h -rw-rw-r-- nagios/nagios 2036 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/neberrors.h -rw-rw-r-- nagios/nagios 1857 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/nebmods.h -rw-rw-r-- nagios/nagios 2961 2007-01-07 19:35:54 ndoutils-1.4b7/include/nagios-2x/nebmodules.h -rw-rw-r-- nagios/nagios 12653 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/nebstructs.h -rw-rw-r-- nagios/nagios 24621 2007-01-08 17:43:34 ndoutils-1.4b7/include/nagios-2x/objects.h -rw-rw-r-- nagios/nagios 1493 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/perfdata.h -rw-rw-r-- nagios/nagios 118 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-2x/snprintf.h -rw-rw-r-- nagios/nagios 1233 2007-01-07 19:35:55 ndoutils-1.4b7/include/nagios-2x/sretention.h -rw-rw-r-- nagios/nagios 5946 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-2x/statusdata.h -rw-rw-r-- nagios/nagios 415 2007-01-07 19:35:54 ndoutils-1.4b7/include/common.h -rw-rw-r-- nagios/nagios 4455 2007-10-31 14:17:05 ndoutils-1.4b7/include/config.h.in -rw-rw-r-- nagios/nagios 6119 2007-08-29 11:20:46 ndoutils-1.4b7/include/db.h -rw-rw-r-- nagios/nagios 3307 2007-01-07 19:35:54 ndoutils-1.4b7/include/dbhandlers.h -rwxrwxr-x nagios/nagios 699 2007-02-18 15:18:55 ndoutils-1.4b7/include/getheaders -rw-rw-r-- nagios/nagios 1186 2007-01-07 19:35:54 ndoutils-1.4b7/include/io.h -rw-rw-r-- nagios/nagios 8778 2007-10-31 14:17:05 ndoutils-1.4b7/include/ndo2db.h -rw-rw-r-- nagios/nagios 4010 2007-01-07 19:35:54 ndoutils-1.4b7/include/ndomod.h -rw-rw-r-- nagios/nagios 20217 2007-09-27 13:20:30 ndoutils-1.4b7/include/protoapi.h -rw-rw-r-- nagios/nagios 721 2007-10-31 14:17:05 ndoutils-1.4b7/include/utils.h drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:41 ndoutils-1.4b7/include/nagios-3x/ -rw-rw-r-- nagios/nagios 10466 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-3x/broker.h -rw-rw-r-- nagios/nagios 2121 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-3x/cgiauth.h -rw-rw-r-- nagios/nagios 18127 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/cgiutils.h -rw-rw-r-- nagios/nagios 5175 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-3x/comments.h -rw-rw-r-- nagios/nagios 18091 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/common.h -rw-rw-r-- nagios/nagios 12 2007-02-18 15:18:55 ndoutils-1.4b7/include/nagios-3x/config.h -rw-rw-r-- nagios/nagios 3515 2007-01-08 17:43:34 ndoutils-1.4b7/include/nagios-3x/downtime.h -rw-rw-r-- nagios/nagios 894 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-3x/epn_nagios.h -rw-rw-r-- nagios/nagios 432 2007-01-07 19:35:56 ndoutils-1.4b7/include/nagios-3x/getcgi.h -rw-rw-r-- nagios/nagios 2447 2007-06-19 19:20:39 ndoutils-1.4b7/include/nagios-3x/locations.h -rw-rw-r-- nagios/nagios 10485 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/macros.h -rw-rw-r-- nagios/nagios 43064 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/nagios.h -rw-rw-r-- nagios/nagios 3467 2007-01-07 19:35:57 ndoutils-1.4b7/include/nagios-3x/nebcallbacks.h -rw-rw-r-- nagios/nagios 2244 2007-01-07 19:35:57 ndoutils-1.4b7/include/nagios-3x/neberrors.h -rw-rw-r-- nagios/nagios 1857 2007-01-07 19:35:57 ndoutils-1.4b7/include/nagios-3x/nebmods.h -rw-rw-r-- nagios/nagios 2961 2007-01-07 19:35:57 ndoutils-1.4b7/include/nagios-3x/nebmodules.h -rw-rw-r-- nagios/nagios 13908 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/nebstructs.h -rw-rw-r-- nagios/nagios 28306 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/objects.h -rw-rw-r-- nagios/nagios 1493 2007-01-07 19:35:58 ndoutils-1.4b7/include/nagios-3x/perfdata.h -rw-rw-r-- nagios/nagios 121 2007-01-07 19:35:58 ndoutils-1.4b7/include/nagios-3x/snprintf.h -rw-rw-r-- nagios/nagios 1304 2007-01-07 19:35:58 ndoutils-1.4b7/include/nagios-3x/sretention.h -rw-rw-r-- nagios/nagios 6200 2007-10-31 14:17:05 ndoutils-1.4b7/include/nagios-3x/statusdata.h drwxrwxr-x nagios/nagios 0 2007-10-31 14:18:43 ndoutils-1.4b7/src/ -rw-rw-r-- nagios/nagios 3042 2007-10-02 21:02:58 ndoutils-1.4b7/src/Makefile.in -rw-rw-r-- nagios/nagios 22044 2007-10-31 14:17:05 ndoutils-1.4b7/src/db.c -rw-rw-r-- nagios/nagios 170705 2007-10-31 14:17:05 ndoutils-1.4b7/src/dbhandlers.c -rw-rw-r-- nagios/nagios 5064 2007-10-31 14:17:05 ndoutils-1.4b7/src/file2sock.c -rw-rw-r-- nagios/nagios 10351 2007-01-07 19:35:50 ndoutils-1.4b7/src/io.c -rw-rw-r-- nagios/nagios 6632 2007-10-31 14:17:05 ndoutils-1.4b7/src/log2ndo.c -rw-rw-r-- nagios/nagios 51214 2007-10-31 14:17:05 ndoutils-1.4b7/src/ndo2db.c -rw-rw-r-- nagios/nagios 134511 2007-10-31 14:17:05 ndoutils-1.4b7/src/ndomod.c -rw-rw-r-- nagios/nagios 514 2007-01-07 19:35:54 ndoutils-1.4b7/src/protonum.c -rw-rw-r-- nagios/nagios 3250 2007-10-31 14:17:05 ndoutils-1.4b7/src/sockdebug.c -rw-rw-r-- nagios/nagios 3392 2007-10-31 14:17:05 ndoutils-1.4b7/src/utils.c + STATUS=0 + '[' 0 -ne 0 ']' + cd ndoutils-1.4b7 ++ /usr/bin/id -u + '[' 73 = 0 ']' ++ /usr/bin/id -u + '[' 73 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.14076 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-1.4b7 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config.sub' + ./configure --build=i386-koji-linux-gnu --host=i386-koji-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-mysql-lib=/usr/lib/mysql/ checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i386-koji-linux-gnu checking host system type... i386-koji-linux-gnu checking for i386-koji-linux-gnu-gcc... 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 whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) 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 math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for getopt_long... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lwrap... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for strtof... yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for compress in -lz... yes checking for mysql_store_result in -lmysqlclient... yes checking for mysql_connect in -lmysqlclient... no checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes MySQL library and include file(s) were found! checking for PQconnectdb in -lpq... yes checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes PostgreSQL library and include file(s) were found! configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating subst config.status: creating include/config.h *** Configuration summary for ndoutils 1.4b7 10-31-2007 ***: General Options: ------------------------- NDO2DB user: nagios NDO2DB group: nagios Review the options above for accuracy. If they look okay, type 'make' to compile the NDO utilities. + /usr/bin/make -j4 cd ./src/; /usr/bin/make ; cd .. make[1]: Entering directory `/builddir/build/BUILD/ndoutils-1.4b7/src' gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o io.o io.c gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o utils.o utils.c /usr/bin/make ndo2db-2x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-1.4b7/src' gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o db.o db.c /usr/bin/make ndomod-2x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-1.4b7/src' gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o io.o io.c db.c: In function 'ndo2db_db_hello': db.c:294: warning: implicit declaration of function 'asprintf' db.c: In function 'ndo2db_db_query': db.c:558: warning: implicit declaration of function 'ndo2db_log_debug_info' db.c:571: warning: value computed is not used gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o utils.o utils.c utils.c: In function 'my_rename': utils.c:129: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -c -o io.o io.c gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lz -lm -lnsl utils.c: In function 'my_rename': utils.c:129: warning: ignoring return value of 'write', declared with attribute warn_unused_result gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -fPIC -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lz -lnsl gcc: io.o: No such file or directory dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:77: warning: implicit declaration of function 'asprintf' dbhandlers.c: In function 'ndo2db_handle_configfilevariables': dbhandlers.c:3086: warning: implicit declaration of function 'ndo2db_log_debug_info' /tmp/ccVhDV1X.o: In function `main': /builddir/build/BUILD/ndoutils-1.4b7/src/file2sock.c:79: undefined reference to `ndo_sink_open' /builddir/build/BUILD/ndoutils-1.4b7/src/file2sock.c:117: undefined reference to `ndo_sink_flush' /builddir/build/BUILD/ndoutils-1.4b7/src/file2sock.c:118: undefined reference to `ndo_sink_close' collect2: ld returned 1 exit status make[1]: *** [file2sock] Error 1 make[1]: *** Waiting for unfinished jobs.... ndomod.c: In function 'ndomod_rotate_sink_file': ndomod.c:577: warning: unused variable 'processed_command_line_3x' ndomod.c:575: warning: unused variable 'raw_command_line_3x' ndomod.c: In function 'ndomod_write_to_sink': ndomod.c:661: warning: implicit declaration of function 'asprintf' gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x ndo2db.c dbhandlers-2x.o io.o utils.o db.o -L/usr/lib/mysql/ -lz -lnsl -lmysqlclient -lpq -lm ndo2db.c: In function 'main': ndo2db.c:113: warning: implicit declaration of function 'ndo2db_open_debug_log' ndo2db.c:169: warning: implicit declaration of function 'ndo2db_close_debug_log' ndo2db.c: In function 'ndo2db_end_input_data': ndo2db.c:1536: warning: unused variable 'y' ndo2db.c:1536: warning: unused variable 'x' ndo2db.c: In function 'ndo2db_convert_string_to_float': ndo2db.c:1833: warning: implicit declaration of function 'strtof' ndo2db.c: In function 'ndo2db_log_debug_info': ndo2db.c:1993: warning: implicit declaration of function 'asprintf' make[2]: *** [ndomod-2x.o] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-1.4b7/src' make[1]: *** [ndomod] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-1.4b7/src' /usr/bin/make ndo2db-3x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-1.4b7/src' gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:77: warning: implicit declaration of function 'asprintf' dbhandlers.c: In function 'ndo2db_handle_configfilevariables': dbhandlers.c:3086: warning: implicit declaration of function 'ndo2db_log_debug_info' gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x ndo2db.c dbhandlers-3x.o io.o utils.o db.o -L/usr/lib/mysql/ -lz -lnsl -lmysqlclient -lpq -lm ndo2db.c: In function 'main': ndo2db.c:113: warning: implicit declaration of function 'ndo2db_open_debug_log' ndo2db.c:169: warning: implicit declaration of function 'ndo2db_close_debug_log' ndo2db.c: In function 'ndo2db_end_input_data': ndo2db.c:1536: warning: unused variable 'y' ndo2db.c:1536: warning: unused variable 'x' ndo2db.c: In function 'ndo2db_convert_string_to_float': ndo2db.c:1833: warning: implicit declaration of function 'strtof' ndo2db.c: In function 'ndo2db_log_debug_info': ndo2db.c:1993: warning: implicit declaration of function 'asprintf' make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-1.4b7/src' make[1]: Leaving directory `/builddir/build/BUILD/ndoutils-1.4b7/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.72008 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-1.4b7 + LANG=C + export LANG + unset DISPLAY + /bin/rm -rf /var/tmp/ndoutils-1.4-0.beta7.1.rf-root + /usr/bin/install -Dp -m0755 src/ndomod-3x.o /var/tmp/ndoutils-1.4-0.beta7.1.rf-root/usr/libexec/ndomod-3x.o /usr/bin/install: cannot stat `src/ndomod-3x.o': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.72008 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.72008 (%install) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/ndoutils.spec'] LEAVE do --> EXCEPTION RAISED