Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 230288 - can't rebuild nagios-plugins from srpm on fc5
can't rebuild nagios-plugins from srpm on fc5
Product: Fedora
Classification: Fedora
Component: nagios-plugins (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-02-27 18:20 EST by Joe Rhodes
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-27 18:48:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
updates nagios-plugins-1.4.6-radius-ng.patch file (3.17 KB, application/octet-stream)
2007-02-27 20:47 EST, Joe Rhodes
no flags Details

  None (edit)
Description Joe Rhodes 2007-02-27 18:20:10 EST
Description of problem:
Can't rebuild nagios-plugins from srpm on fc5.

Version-Release number of selected component (if applicable):

How reproducible:
Every Time.

Steps to Reproduce:
1.  rpmbuild --rebuild nagios-plugins-1.4.6-1.fc5.src.rpm
Actual results:
RPM runs thru the %prep section and then bombs in the %build section after configure with:
+ make -j2
cd . && /bin/sh /home/jrhodes/rpmbuild/BUILD/nagios-plugins-1.4.6/build-aux/missing --run 
aclocal-1.9 -I gl/m4 -I m4
aclocal: couldn't open directory `m4': No such file or directory
make: *** [aclocal.m4] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.21135 (%build)

Expected results:
Binary RPMS to be built

Additional info:
It shouldn't matter, but I'm running rpmbuild as a non-root user.  I have a user owned
directory structure pointed to with %_topdir in $HOME/.rpmmacros
Comment 1 Mike McGrath 2007-02-27 18:24:17 EST
Can you try building this in mock or on a different machine.  Here are the
results from the mock build that built the official RPM's.

Comment 2 Jose Pedro Oliveira 2007-02-27 18:48:08 EST

Every package in Fedora Extras is build with mock and the mock build environment
includes a set of RPMs that we no longer need to add to the build requirements
list.  Looking at the error you pasted your machine doesn't have the m4 RPM
installed (and m4 is one of the RPMS mock installs by default).

for more information about the mock buildroot.

I'm closing this ticket as NOTABUG.

Comment 3 Joe Rhodes 2007-02-27 18:55:37 EST
m4 is installed:

[jrhodes@dns1 ~]$ rpm -q m4

Please try building a normal user outside of mock before dismissing.
Comment 4 Jose Pedro Oliveira 2007-02-27 19:43:32 EST

1) I no longer have a Fedora Core 5 system installed

2) The package builds with problems in mock. I have just done so a couple of 
   minutes ago with

     mock -r fedora-5-i386-core in/nagios-plugins-1.4.6-1.fc5.src.rpm 

3) In the mock build log I spotted the following lines
+ make -j2
cd . && /bin/sh /builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing
--run aclocal-1.9 -I gl/m4 -I m4
/builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing: line 52:
aclocal-1.9: command not found
WARNING: `aclocal-1.9' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
cd . && /bin/sh /builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing
--run autoconf
 cd . && /bin/sh /builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing
--run automake-1.9 --gnu
/builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing: line 52:
automake-1.9: command not found
/builddir/build/BUILD/nagios-plugins-1.4.6/build-aux/missing: line 52: autoconf:
command not found
WARNING: `automake-1.9' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck

  Can you try rebuilding without the aclocal package installed (and maybe

Comment 5 Joe Rhodes 2007-02-27 20:46:24 EST
Yes, removing both the automake and libtool packages causes the build to proceed further.  However the 
check_radius plugin is not built.  

I was able to get the build to complete by removing the configure.in section from the nagios-
plugins-1.4.6-radius-ng.patch file.  This will even with automake and libtool installed.

I've attached the nagios-plugins-1.4.6-radius-ng.patch file that I used.

Comment 6 Joe Rhodes 2007-02-27 20:47:15 EST
Created attachment 148892 [details]
updates nagios-plugins-1.4.6-radius-ng.patch file
Comment 7 Mike McGrath 2007-02-27 23:24:47 EST
So the question is where did this come from


Note You need to log in before you can comment on or make changes to this bug.