From: "Vladimir Rusinov" <vladimir@greenmice.info>
To: gentoo-dev@lists.gentoo.org,
"Gentoo User List" <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
Date: Fri, 21 Mar 2008 13:11:30 +0300 [thread overview]
Message-ID: <f6fdfb550803210311o5b5cb54dmd6d42807770e6d19@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2008-03-21 10:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 10:11 Vladimir Rusinov [this message]
2008-03-21 12:56 ` [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild Mike Williams
2008-03-21 18:27 ` Vladimir Rusinov
2008-03-22 1:00 ` Mike Williams
2008-03-22 6:39 ` Vladimir Rusinov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6fdfb550803210311o5b5cb54dmd6d42807770e6d19@mail.gmail.com \
--to=vladimir@greenmice.info \
--cc=gentoo-dev@lists.gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox