RPM build for argus it's OK but NOT OK for argus-clients

Guilsson Guilsson guilsson at gmail.com
Tue Nov 3 19:20:38 EST 2009


Unfortunately, they are the same:

root at gwmoney:~/argusstuff/original # *wget
ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz*
--2009-11-03 21:53:59--
ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
           => `argus-clients-3.0.2.tar.gz.1'
Resolving ftp.qosient.com... 216.92.197.167
Connecting to ftp.qosient.com|216.92.197.167|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /dev/argus-3.0 ... done.
==> SIZE argus-clients-3.0.2.tar.gz ... 1803847
==> PASV ... done.    ==> RETR argus-clients-3.0.2.tar.gz ... done.
Length: 1803847 (1.7M)

100%[=========================================================>] 1,803,847
69.4K/s   in 26s

2009-11-03 21:54:27 (68.7 KB/s) - `argus-clients-3.0.2.tar.gz.1' saved
[1803847]

root at gwmoney:~/argusstuff/original # *md5sum **
*0346f096095e201055b18ef2bb968eed  *argus-clients-3.0.2.tar.gz
*0346f096095e201055b18ef2bb968eed  *argus-clients-3.0.2.tar.gz.1

As you can see in my first post, I use WGET to get tar.gz directly from the
site.

The argus-clients.spec supplied by Chris (tks Chris) is strongly different
from yours.

Thanks
-Guilsson


On Tue, Nov 3, 2009 at 18:25, Carter Bullard <carter at qosient.com> wrote:

> Hey Guilsson,
> Looks like you have an old argus-clients-3.0.2.
> Here is the specfile in the current argus-clients-3.0.2.tar.gz that is on
> the server.
> Compare to see if its different than yours, and you should grab the new
> one.
> (we host not released, so the notion that the file can change without a
> name change
> is appropriate).
>
> Carter
>
>
>
>
> On Nov 2, 2009, at 3:02 PM, Guilsson Guilsson wrote:
>
> 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
>>
>>
>>
>>
>
> 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/20091103/d2e0e1dd/attachment.html>


More information about the argus mailing list