Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o, "Gentoo User List" <gentoo-user@g.o>
From: "Vladimir Rusinov" <vladimir@...>
Subject: Trying to create nessus-bin-3.2.0 ebuild
Date: Fri, 21 Mar 2008 13:11:30 +0300
Hello!<br><br>I&#39;m trying to create nessus-bin-3.2.0 ebuild.<br>I&#39;ve downloaded Nessus-3.2.0-suse10.0.i586.rpm, checked its md5 sum, and I&#39;ve done just a `cp nessus-bin-3.0.5.ebuild nessus-bin-3.2.0.ebuild`.<br>
<br>But even scr_unpack() fails:<br>&gt;&gt;&gt; Unpacking Nessus-3.2.0-suse10.0.i586.rpm to /tmp/portage/net-analyzer/nessus-bin-3.2.0/work<br><br>!!! ERROR: net-analyzer/nessus-bin-3.2.0 failed.<br>Call stack:<br>&nbsp; ebuild.sh, line 1638:&nbsp;&nbsp; Called dyn_unpack<br>
&nbsp; ebuild.sh, line 763:&nbsp;&nbsp; Called qa_call &#39;src_unpack&#39;<br>&nbsp; ebuild.sh, line 44:&nbsp;&nbsp; Called src_unpack<br>&nbsp; ebuild.sh, line 1328:&nbsp;&nbsp; Called rpm_src_unpack<br>&nbsp; rpm.eclass, line 72:&nbsp;&nbsp; Called die<br><br>!!! failure unpacking Nessus-3.2.0-suse10.0.i586.rpm<br>
!!! If you need support, post the topmost build error, and the call stack if relevant.<br>!!! A complete build log is located at &#39;/tmp/portage/net-analyzer/nessus-bin-3.2.0/temp/build.log&#39;.<br><br>I&#39;ve looked into rpm.eclass, and found that problem is in<br>
rpm_unpack() {<br>.....<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rpmoff=`rpmoffset &lt; ${rpmfile}`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ -z &quot;${rpmoff}&quot; ] &amp;&amp; return 1<br>....<br><br>$ rpmoffset &lt; /path/to/Nessus-3.2.0-suse10.0.i586.rpm<br>$ echo $?<br>1<br>
<br>$ rpm2targz /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm<br>&nbsp;/usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm - no magic compression identifier found - skipping file<br><br>$ emerge -pv rpm2targz<br><br>
These are the packages that would be merged, in order:<br><br>Calculating dependencies... done!<br>[ebuild&nbsp;&nbsp; R&nbsp;&nbsp; ] app-arch/rpm2targz-9.0-r6&nbsp; 0 kB<br><br><br>How can I fix this?<br>Thanks.<br clear="all"><br>-- <br>Vladimir Rusinov<br>
Voronezh, Russia<br>UNIX Admin @ Murano Software
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
webmin maintainership
Next by thread:
Testing to see if services have crashed on hardened
Previous by date:
Re: Re: Remaining PMS todo list etc
Next by date:
Testing to see if services have crashed on hardened


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.