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
Ivan Yosifov wrote:
> Hello, > > Happens while emergeing eclipse: > > home ~ # emerge -1 eclipse-sdk > Calculating dependencies... done! > >>>> Emerging (1 of 1) dev-util/eclipse-sdk-3.1.2 to / >>>> checksums files .... >>>> checksums src_uri ;-) eclipse-sourceBuild-srcIncluded-3.1.2.zip >>>> > * Checking for sufficient physical RAM > * Checking for bad CFLAGS > * Found offending option -fomit-frame-pointer in your CFLAGS > .... > * Tip: use equery depgraph "=eclipse-sdk-3.1.2" to list all dependencies. > > /usr/local/portage/migration/migration/eclass/java-utils.eclass: line 97: > [: -ge: unary operator expected > Detected a JDK < 1.5.0 > Detected a JDK >= 1.4.2 > >>>> Unpacking source... >>>> > > /usr/local/portage/migration/migration/ is where I've put the migration > overlay revision 2114. Bash is 3.1_p17. Is this an eclass bug or something > else ? > >
Something else, I think. I've been working on the eclipse ebuilds (while using migration-overlay, obviously), and hadn't noticed any problems. It might have something to do with the ebuild itself. Someone went and committed a bump to 3.1.2 without consulting with us Java folks, so I'm not sure what condition it is. Expect to see a new revision in a day or so... Josh -- gentoo-java@g.o mailing list

Replies