public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
@ 2008-03-21 10:11 Vladimir Rusinov
  2008-03-21 12:56 ` Mike Williams
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Rusinov @ 2008-03-21 10:11 UTC (permalink / raw
  To: gentoo-dev, Gentoo User List

[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]

Hello!

I'm trying to create nessus-bin-3.2.0 ebuild.
I've downloaded Nessus-3.2.0-suse10.0.i586.rpm, checked its md5 sum, and
I've done just a `cp nessus-bin-3.0.5.ebuild nessus-bin-3.2.0.ebuild`.

But even scr_unpack() fails:
>>> Unpacking Nessus-3.2.0-suse10.0.i586.rpm to
/tmp/portage/net-analyzer/nessus-bin-3.2.0/work

!!! ERROR: net-analyzer/nessus-bin-3.2.0 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_unpack
  ebuild.sh, line 763:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  ebuild.sh, line 1328:   Called rpm_src_unpack
  rpm.eclass, line 72:   Called die

!!! failure unpacking Nessus-3.2.0-suse10.0.i586.rpm
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at '/tmp/portage/net-analyzer/nessus-
bin-3.2.0/temp/build.log'.

I've looked into rpm.eclass, and found that problem is in
rpm_unpack() {
.....
        rpmoff=`rpmoffset < ${rpmfile}`
        [ -z "${rpmoff}" ] && return 1
....

$ rpmoffset < /path/to/Nessus-3.2.0-suse10.0.i586.rpm
$ echo $?
1

$ rpm2targz /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm
 /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm - no magic
compression identifier found - skipping file

$ emerge -pv rpm2targz

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-arch/rpm2targz-9.0-r6  0 kB


How can I fix this?
Thanks.

-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software

[-- Attachment #2: Type: text/html, Size: 1923 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
  2008-03-21 10:11 [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild Vladimir Rusinov
@ 2008-03-21 12:56 ` Mike Williams
  2008-03-21 18:27   ` Vladimir Rusinov
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Williams @ 2008-03-21 12:56 UTC (permalink / raw
  To: gentoo-user

On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote:
> How can I fix this?

Sorry, I can't tell you how, but I can concur with your findings.
I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't parse 
any of them. However the 3.0.5 suse10 RPM does work.

I'm going to look for a newer rpm2targz.

-- 
Mike Williams
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
  2008-03-21 12:56 ` Mike Williams
@ 2008-03-21 18:27   ` Vladimir Rusinov
  2008-03-22  1:00     ` Mike Williams
  0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Rusinov @ 2008-03-21 18:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

On 3/21/08, Mike Williams <mike@gaima.co.uk> wrote:
>
> On Friday 21 March 2008 10:11:30 Vladimir Rusinov wrote:
> > How can I fix this?
>
>
> Sorry, I can't tell you how, but I can concur with your findings.
> I've tried 3 different 3.2.0 release RPMs and rpmoffset/rpm2targz can't
> parse
> any of them. However the 3.0.5 suse10 RPM does work.
>
> I'm going to look for a newer rpm2targz.


Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've
installed rpm package and it unpacks and installs now.
I have not yet tested installed packages, but anyway I'll submit the ebuild
and comments to bugzilla after few hours.


-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software

[-- Attachment #2: Type: text/html, Size: 1064 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
  2008-03-21 18:27   ` Vladimir Rusinov
@ 2008-03-22  1:00     ` Mike Williams
  2008-03-22  6:39       ` Vladimir Rusinov
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Williams @ 2008-03-22  1:00 UTC (permalink / raw
  To: gentoo-user

On Friday 21 March 2008 18:27:27 Vladimir Rusinov wrote:
> Well, I've noticed that rpm.eclass tries to use rpm2cpio first. I've
> installed rpm package and it unpacks and installs now.
> I have not yet tested installed packages, but anyway I'll submit the ebuild
> and comments to bugzilla after few hours.

I was going to suggest you check bugzilla for an existing bug on the matter, 
but I see you've already found it! :)

I've taken a slightly different route, going for the debian package. Instead 
of looking for an eclass to handle the conversion i just did it manually with 
deb2targz.
Handley debian has openssl-0.9.8, so the dependancies are correct without 
having to resort to ugly symlinks, although nessusd does complain about "no 
version information available" in libssl and libcrypto.

As you, I haven't done any testing as I don't know how to use it. My job is 
just to provide servers for those who do.

-- 
Mike Williams
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
  2008-03-22  1:00     ` Mike Williams
@ 2008-03-22  6:39       ` Vladimir Rusinov
  0 siblings, 0 replies; 5+ messages in thread
From: Vladimir Rusinov @ 2008-03-22  6:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

On Sat, Mar 22, 2008 at 4:00 AM, Mike Williams <mike@gaima.co.uk> wrote:

> I've taken a slightly different route, going for the debian package.
> Instead
> of looking for an eclass to handle the conversion i just did it manually
> with
> deb2targz.
> Handley debian has openssl-0.9.8, so the dependancies are correct without
> having to resort to ugly symlinks, although nessusd does complain about
> "no
> version information available" in libssl and libcrypto.


Oh' thanks a lot for the information.
nessus from suse10 does not starts at all for me.

-- 
Vladimir Rusinov
Voronezh, Russia
UNIX Admin @ Murano Software

[-- Attachment #2: Type: text/html, Size: 902 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-22  6:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 10:11 [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild Vladimir Rusinov
2008-03-21 12:56 ` Mike Williams
2008-03-21 18:27   ` Vladimir Rusinov
2008-03-22  1:00     ` Mike Williams
2008-03-22  6:39       ` Vladimir Rusinov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox