public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
@ 2008-03-21 10:11 99% Vladimir Rusinov
  0 siblings, 0 replies; 1+ results
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	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-03-21 10:11 99% [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild Vladimir Rusinov

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