From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-dev+bounces-29995-garchives=archives.gentoo.org@lists.gentoo.org>) id 1JceDn-0005sp-F2 for garchives@archives.gentoo.org; Fri, 21 Mar 2008 10:11:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAF4BE0D72; Fri, 21 Mar 2008 10:11:32 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by pigeon.gentoo.org (Postfix) with ESMTP id 6A7C2E0D4B for <gentoo-dev@lists.gentoo.org>; Fri, 21 Mar 2008 10:11:32 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id h30so1294328wxd.10 for <gentoo-dev@lists.gentoo.org>; Fri, 21 Mar 2008 03:11:32 -0700 (PDT) Received: by 10.70.111.2 with SMTP id j2mr3989385wxc.30.1206094290131; Fri, 21 Mar 2008 03:11:30 -0700 (PDT) Received: by 10.70.126.7 with HTTP; Fri, 21 Mar 2008 03:11:30 -0700 (PDT) Message-ID: <f6fdfb550803210311o5b5cb54dmd6d42807770e6d19@mail.gmail.com> Date: Fri, 21 Mar 2008 13:11:30 +0300 From: "Vladimir Rusinov" <vladimir@greenmice.info> To: gentoo-dev@lists.gentoo.org, "Gentoo User List" <gentoo-user@lists.gentoo.org> Subject: [gentoo-dev] Trying to create nessus-bin-3.2.0 ebuild Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_343_25075384.1206094290120" X-Archives-Salt: 0b6ef818-917b-4abe-bd60-88cc32016e7d X-Archives-Hash: 7fe20c2e3be36ca34e1840414c94a300 ------=_Part_343_25075384.1206094290120 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_343_25075384.1206094290120 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello!<br><br>I'm trying to create nessus-bin-3.2.0 ebuild.<br>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`.<br> <br>But even scr_unpack() fails:<br>>>> 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> ebuild.sh, line 1638: Called dyn_unpack<br> ebuild.sh, line 763: Called qa_call 'src_unpack'<br> ebuild.sh, line 44: Called src_unpack<br> ebuild.sh, line 1328: Called rpm_src_unpack<br> rpm.eclass, line 72: 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 '/tmp/portage/net-analyzer/nessus-bin-3.2.0/temp/build.log'.<br><br>I've looked into rpm.eclass, and found that problem is in<br> rpm_unpack() {<br>.....<br> rpmoff=`rpmoffset < ${rpmfile}`<br> [ -z "${rpmoff}" ] && return 1<br>....<br><br>$ rpmoffset < /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> /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 R ] app-arch/rpm2targz-9.0-r6 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 ------=_Part_343_25075384.1206094290120-- -- gentoo-dev@lists.gentoo.org mailing list