Gentoo Archives: gentoo-user

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: gentoo-dev@l.g.o, Gentoo User List <gentoo-user@l.g.o>
Subject: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild
Date: Fri, 21 Mar 2008 10:14:23
Message-Id: f6fdfb550803210311o5b5cb54dmd6d42807770e6d19@mail.gmail.com
1 Hello!
2
3 I'm trying to create nessus-bin-3.2.0 ebuild.
4 I've downloaded Nessus-3.2.0-suse10.0.i586.rpm, checked its md5 sum, and
5 I've done just a `cp nessus-bin-3.0.5.ebuild nessus-bin-3.2.0.ebuild`.
6
7 But even scr_unpack() fails:
8 >>> Unpacking Nessus-3.2.0-suse10.0.i586.rpm to
9 /tmp/portage/net-analyzer/nessus-bin-3.2.0/work
10
11 !!! ERROR: net-analyzer/nessus-bin-3.2.0 failed.
12 Call stack:
13 ebuild.sh, line 1638: Called dyn_unpack
14 ebuild.sh, line 763: Called qa_call 'src_unpack'
15 ebuild.sh, line 44: Called src_unpack
16 ebuild.sh, line 1328: Called rpm_src_unpack
17 rpm.eclass, line 72: Called die
18
19 !!! failure unpacking Nessus-3.2.0-suse10.0.i586.rpm
20 !!! If you need support, post the topmost build error, and the call stack if
21 relevant.
22 !!! A complete build log is located at '/tmp/portage/net-analyzer/nessus-
23 bin-3.2.0/temp/build.log'.
24
25 I've looked into rpm.eclass, and found that problem is in
26 rpm_unpack() {
27 .....
28 rpmoff=`rpmoffset < ${rpmfile}`
29 [ -z "${rpmoff}" ] && return 1
30 ....
31
32 $ rpmoffset < /path/to/Nessus-3.2.0-suse10.0.i586.rpm
33 $ echo $?
34 1
35
36 $ rpm2targz /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm
37 /usr/portage/distfiles/Nessus-3.2.0-suse10.0.i586.rpm - no magic
38 compression identifier found - skipping file
39
40 $ emerge -pv rpm2targz
41
42 These are the packages that would be merged, in order:
43
44 Calculating dependencies... done!
45 [ebuild R ] app-arch/rpm2targz-9.0-r6 0 kB
46
47
48 How can I fix this?
49 Thanks.
50
51 --
52 Vladimir Rusinov
53 Voronezh, Russia
54 UNIX Admin @ Murano Software

Replies

Subject Author
Re: [gentoo-user] Trying to create nessus-bin-3.2.0 ebuild Mike Williams <mike@××××××××.uk>