Gentoo Archives: gentoo-dev

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: gentoo-dev@l.g.o, Gentoo User List <gentoo-user@l.g.o>
Subject: [gentoo-dev] Trying to create nessus-bin-3.2.0 ebuild
Date: Fri, 21 Mar 2008 10:11:35

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:, line 1638: Called dyn_unpack, line 763: Called qa_call 'src_unpack', line 44: Called src_unpack, 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