RPM build for argus it's OK but NOT OK for argus-clients
Guilsson Guilsson
guilsson at gmail.com
Mon Nov 2 15:02:05 EST 2009
Hey Carter,
Let's go:
cd /root/argusstuff/original
rm -rf /root/rpmbuild/*
rpmbuild -ta argus-clients-3.0.2.tar.gz
cp -p /root/rpmbuild/BUILD/argus-clients-3.0.2/Makefile
/root/argusstuff/Makefile.original.txt
===RPMBUILD ORIGINAL OUTPUT: http://pastebin.com/f4aaf6398
cd /root/argusstuff/patched
rm -rf /root/rpmbuild/*
rpmbuild -ta argus-clients-3.0.2.tar.gz
cp -p /root/rpmbuild/BUILD/argus-clients-3.0.2/Makefile
/root/argusstuff/Makefile.patched.txt
===RPMBUILD PATCHED OUTPUT: http://pastebin.com/f2d707dae
MAKEFILE ARE IDENTICAL:
diff /root/argusstuff/Makefile.original.txt
/root/argusstuff/Makefile.patched.txt ; echo $?
0
===MAKEFILE CLIENTS OUTPUT: http://pastebin.com/d5b9e796f
But I noticed the contents of /root/rpmbuild/* tree have significant
differences.
While /root/rpmbuild/BUILDROOT is EMPTY for original package, the same
directory for patched package has a lot of files (the executables and docs:
argus-clients-3.0-2.i386 tree).
/root/rpmbuild contents for ORIGINAL: http://pastebin.com/f581de74d
/root/rpmbuild contents for PATCHED: http://pastebin.com/f53e9143d
Just for comparison, the RPMBUILD for the server run smoothly:
# rm -rf /root/rpmbuild/* ; cd /root/argusstuff/server ; rpmbuild -ta
argus-3.0.2.tar.gz
# rpm -qlp /root/rpmbuild/RPMS/i386/argus-3.0-2.i386.rpm
/etc/argus.conf
/etc/rc.d/init.d/argus
/usr/local/bin/argusarchive
/usr/local/bin/argusbug
/usr/local/sbin/argus
/usr/local/share/doc/argus-3.0
/usr/local/share/man/man5/argus.conf.5
/usr/local/share/man/man8/argus.8
===SERVER OUTPUT: http://pastebin.com/f1c08bc95
Thanks
-Guilsson
On Mon, Nov 2, 2009 at 13:37, Carter Bullard <carter at qosient.com> wrote:
> Hey Guilsson,
> Can you send the entire output of rpmbuild, and the contents of the
> resulting
> ./Makefile? Seems like you're ./configure script isn't doing the right
> thing.
>
> Carter
>
>
> On Nov 1, 2009, at 5:10 PM, Guilsson Guilsson wrote:
>
> I need to install argus on some Fedora 11 machines without C compiler and
> must be in RPM format.
>
> I run these commands in a Fedora 11 with development tools installed.
>
> For ARGUS SERVER worked fine:
>
> # mkdir -p /root/argusstuff
> # cd /root/argusstuff
> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-3.0.2.tar.gz
> # rm -rf /root/rpmbuild/*
> # rpmbuild -ta argus-3.0.2.tar.gz
> ... snip ...
> # rpm -qlp /root/rpmbuild/RPMS/i386/argus-3.0-2.i386.rpm
> /etc/argus.conf
> /etc/rc.d/init.d/argus
> /usr/local/bin/argusarchive
> /usr/local/bin/argusbug
> /usr/local/sbin/argus
> /usr/local/share/doc/argus-3.0
> /usr/local/share/man/man5/argus.conf.5
> /usr/local/share/man/man8/argus.8
> For ARGUS CLIENTS didn't worked:
>
> # mkdir -p /root/argusstuff
> # cd /root/argusstuff
> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
> # rm -rf /root/rpmbuild/*
> # rpmbuild -ta argus-clients-3.0.2.tar.gz
> ... snip ...
>
> ----------------------------------------------------------------------------------------------------------------------------------------
> make[1]: Leaving directory
> `/root/rpmbuild/BUILD/argus-clients-3.0.2/radump'
> + mkdir -p /usr/local
> + mkdir -p /usr/local/bin
> + mkdir -p /usr/share/doc/argus-clients-3.0
> + mkdir -p /usr/local/argus
> + mkdir -p /usr/local/argus/lib
> + cp -Rp support /usr/share/doc/argus-clients-3.0
> + cp -Rp doc/CHANGES doc/FAQ doc/HOW-TO doc/README doc/html
> /usr/share/doc/argus-clients-3.0
> + install -m 0555 -o root -g root bin/ra /usr/local/bin
> + install -m 0555 -o root -g root bin/rabins /usr/local/bin
> + install -m 0555 -o root -g root bin/racluster /usr/local/bin
> + install -m 0555 -o root -g root bin/racount /usr/local/bin
> + install -m 0555 -o root -g root bin/radium /usr/local/bin
> install: cannot stat `bin/radium': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
>
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Any ideas on how to fix ?
>
> -Guilsson
>
>
>
>
> Carter Bullard
> CEO/President
> QoSient, LLC
> 150 E 57th Street Suite 12D
> New York, New York 10022
>
> +1 212 588-9133 Phone
> +1 212 588-9134 Fax
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20091102/74a89516/attachment.html>
More information about the argus
mailing list