Gentoo Archives: gentoo-java

From: Joshua Nichols <nichoj@g.o>
To: Ivan Yosifov <ivan@×××××××.net>
Cc: gentoo-java@l.g.o
Subject: Re: [gentoo-java] migration/eclass/java-utils.eclass: line 97: [: -ge: unary operator expected
Date: Tue, 18 Apr 2006 16:36:35
Message-Id: 444515A4.3070508@gentoo.org
In Reply to: [gentoo-java] migration/eclass/java-utils.eclass: line 97: [: -ge: unary operator expected by Ivan Yosifov
1 Ivan Yosifov wrote:
2 > Hello,
3 >
4 > Happens while emergeing eclipse:
5 >
6 > home ~ # emerge -1 eclipse-sdk
7 > Calculating dependencies... done!
8 >
9 >>>> Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2 to /
10 >>>> checksums files ....
11 >>>> checksums src_uri ;-) eclipse-sourceBuild-srcIncluded-3.1.2.zip
12 >>>>
13 > * Checking for sufficient physical RAM
14 > * Checking for bad CFLAGS
15 > * Found offending option -fomit-frame-pointer in your CFLAGS
16 > ....
17 > * Tip: use equery depgraph "=eclipse-sdk-3.1.2" to list all dependencies.
18 >
19 > /usr/local/portage/migration/migration/eclass/java-utils.eclass: line 97:
20 > [: -ge: unary operator expected
21 > Detected a JDK < 1.5.0
22 > Detected a JDK >= 1.4.2
23 >
24 >>>> Unpacking source...
25 >>>>
26 >
27 > /usr/local/portage/migration/migration/ is where I've put the migration
28 > overlay revision 2114. Bash is 3.1_p17. Is this an eclass bug or something
29 > else ?
30 >
31 >
32 Something else, I think. I've been working on the eclipse ebuilds (while
33 using migration-overlay, obviously), and hadn't noticed any problems.
34
35 It might have something to do with the ebuild itself. Someone went and
36 committed a bump to 3.1.2 without consulting with us Java folks, so I'm
37 not sure what condition it is. Expect to see a new revision in a day or
38 so...
39
40 Josh
41 --
42 gentoo-java@g.o mailing list

Replies