Page 1 of 1

[Nagios-devel] inconsistent specfile for x86_64 arch

Posted: Wed Oct 31, 2007 2:48 am
by Guest
This is a multi-part message in MIME format.

------_=_NextPart_001_01C81BAB.80E5E89D
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi list,

=20

I just tried to buid RPM packages for nagios 3.0b5 on a x86_64 redhat
node and... compilation failed because :

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/nagios-buildroot

error: Installed (but unpackaged) file(s) found:

/usr/lib/nagios/cgi/avail.cgi

/usr/lib/nagios/cgi/cmd.cgi

/usr/lib/nagios/cgi/config.cgi

/usr/lib/nagios/cgi/extinfo.cgi

/usr/lib/nagios/cgi/histogram.cgi

/usr/lib/nagios/cgi/history.cgi

/usr/lib/nagios/cgi/notifications.cgi

/usr/lib/nagios/cgi/outages.cgi

/usr/lib/nagios/cgi/showlog.cgi

/usr/lib/nagios/cgi/status.cgi

/usr/lib/nagios/cgi/statusmap.cgi

/usr/lib/nagios/cgi/statuswml.cgi

/usr/lib/nagios/cgi/statuswrl.cgi

/usr/lib/nagios/cgi/summary.cgi

/usr/lib/nagios/cgi/tac.cgi

/usr/lib/nagios/cgi/trends.cgi

=20

When I look in the rpm buildroot, I see this :

=20

[nagios-buildroot]# ll usr/lib/nagios/cgi/

total 3292

-rwxrwxr-x 1 root root 238544 Oct 31 11:42 avail.cgi

-rwxrwxr-x 1 root root 228400 Oct 31 11:42 cmd.cgi

-rwxrwxr-x 1 root root 194160 Oct 31 11:42 config.cgi

-rwxrwxr-x 1 root root 244208 Oct 31 11:42 extinfo.cgi

-rwxrwxr-x 1 root root 198896 Oct 31 11:42 histogram.cgi

-rwxrwxr-x 1 root root 179536 Oct 31 11:42 history.cgi

-rwxrwxr-x 1 root root 177040 Oct 31 11:42 notifications.cgi

-rwxrwxr-x 1 root root 172912 Oct 31 11:42 outages.cgi

-rwxrwxr-x 1 root root 177296 Oct 31 11:42 showlog.cgi

-rwxrwxr-x 1 root root 235792 Oct 31 11:42 status.cgi

-rwxrwxr-x 1 root root 197840 Oct 31 11:42 statusmap.cgi

-rwxrwxr-x 1 root root 189904 Oct 31 11:42 statuswml.cgi

-rwxrwxr-x 1 root root 177104 Oct 31 11:42 statuswrl.cgi

-rwxrwxr-x 1 root root 197584 Oct 31 11:42 summary.cgi

-rwxrwxr-x 1 root root 189392 Oct 31 11:42 tac.cgi

-rwxrwxr-x 1 root root 203696 Oct 31 11:42 trends.cgi

[nagios-buildroot]# ll usr/lib64/nagios/cgi/

total 12

-rwxrwxr-x 1 root root 5335 Oct 31 11:42 traceroute.cgi

=20

It looks like the non-64 libs are not packaged.

=20

When I change in the spec file references to ${_libdir} and write
instead ${_prefix}/lib (i.e : replace all occurrences of libdir with
"prefix / lib" as can be found already in the specfile) , RPM creation
succeeds...

=20

Maybe someone could correct this in the sources ?

Best regards,

=20

Frederic Schaer


------_=_NextPart_001_01C81BAB.80E5E89D
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
















Hi list,

 

I just tried to buid RPM packages for nagios =
3.0b5 on
a x86_64 redhat node and… compilation failed =
because :<

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]