Argus SPEC file for RPM building (fwd)

Guilsson Guilsson guilsson at gmail.com
Sun Nov 1 18:55:55 EST 2009


I was able to patch the spec file. But still no success. Different error
messages.

=======================================================
... [snip] ...
make[1]: Leaving directory `/root/rpmbuild/BUILD/argus-clients-3.0.2/radump'
+ mkdir -p /root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local
+ mkdir -p /root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/doc/argus-clients-3.0
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/argus
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/argus/lib
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/man/man1
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/man/man5
+ mkdir -p
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/man/man8
+ cp -Rp support
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/doc/argus-clients-3.0
+ cp -Rp doc/CHANGES doc/FAQ doc/HOW-TO doc/README doc/html
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/share/doc/argus-clients-3.0
+ install bin/argusbug
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/ra
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rabins
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/racluster
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/racount
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/radark
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/radump
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rafilteraddr
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/ragraph
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rahisto
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rahosts
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/ralabel
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/ranonymize
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rapath
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rapolicy
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/raports
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/raservices
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rasort
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rasplit
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
+ install bin/rasql
/root/rpmbuild/BUILDROOT/argus-clients-3.0-2.i386//usr/local/bin
install: cannot stat `bin/rasql': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.LfIlOo (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.LfIlOo (%build)
=======================================================
# find /root/rpmbuild | grep rasql
/root/rpmbuild/BUILD/argus-clients-3.0.2/ramysql/rasqlinsert.c
/root/rpmbuild/BUILD/argus-clients-3.0.2/ramysql/rasql.c
/root/rpmbuild/BUILD/argus-clients-3.0.2/ramysql/rasqlinsert.h
=======================================================

I re-create the tar.gz with the patched spec file. Exactly the same result.

Thanks for your help.
-Guilsson

On Sun, Nov 1, 2009 at 20:41, Chris Wilson <chris-argus at qwirx.com> wrote:

> On Sun, 1 Nov 2009, Guilsson Guilsson wrote:
>
> Thanks for your fast reply.
>> But no success:
>>
>> # cd  /root/argusstuff
>> # rpmbuild -ba argus-clients-3.0.2-spec.patch
>> error: line 1: Unknown tag: diff -ru
>> argus-clients-3.0.2/lib/argus-clients.spec
>> argus-clients-3.0.2-chris/lib/argus-clients.spec
>>
>
> You can't build the patch. You have to apply it to the spec file contained
> inside the tarball, and then use rpmbuild -ba on that:
>
> cp argus-clients-3.0.2/lib/argus-clients.spec /usr/src/redhat/SPECS
> cd /usr/src/redhat/SPECS
> patch -p1 < /tmp/argus-clients-3.0.2-spec.patch
> rpmbuild -ba argus-clients.spec
>
>
> Cheers, Chris.
> --
> _ ___ __     _
>  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
> \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20091101/60fc5c80/attachment.html>


More information about the argus mailing list