[packagers] odd rpmbuild error while building nagios-plugins
Dag Wieers
dag at wieers.com
Fri Jun 9 17:01:17 CEST 2006
On Thu, 8 Jun 2006, Bill Schwanitz wrote:
> I am getting a rather strange error while attempting to build the
> nagios-plugins package. According to svn, the spec is in revision 4481.
>
> ../libtool: line 1657: cd: yes/lib: No such file or directory
> libtool: link: cannot determine absolute directory name of `yes/lib'
> make[3]: *** [check_disk] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/nagios-plugins-1.4.3/plugins'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/nagios-plugins-1.4.3/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/nagios-plugins-1.4.3'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.6866 (%build)
>
> In reviewing the Makefile in /usr/src/redhat/BUILD/nagios-plugins-1.4.3, I
> see the following lines:
>
> LDFLAGS = -L. -Lyes/lib
> PGINCLUDE = -Iyes/include
> PGLIBS = -Lyes/lib -lpq -lcrypt
>
> As a temp hack to get around this, I tried the fllowing script just below
> the configure section in the .spec file:
>
> find . -type f -exec sed -e 's/-Lyes\/lib//' -e 's/-Iyes\/include//' -i {} \;
>
> Oddly, another configure is run somewhere in the rpmbuild process. I'm
> guessing this is part of the extramodules section of the spec file.
>
> Any thoughts? Is this something I have somehow introduced? ( the only
> modification to the .spec file is my hack to try to fix the Makefiles )
Bill,
I've seen the same problem but had no time to look into it. A lot of
people send me email in private notifying me of the new release, but it
would be easier if they'd look into my buildlogs and see why it isn't
available. And help out if they can.
Maybe I'll have more time this weekend to investigate, maybe not...
It obviously is a bug in configure, which does not surprise me as
nagios-plugins has little QA. Nearly every release has had some brown
paper bag issue that could have been prevented :(
Kind regards,
-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]
More information about the packagers
mailing list