Gentoo Archives: gentoo-java

From: Ivan Yosifov <ivan@×××××××.net>
To: gentoo-java@l.g.o
Subject: [gentoo-java] migration/eclass/java-utils.eclass: line 97: [: -ge: unary operator expected
Date: Tue, 18 Apr 2006 12:33:56
Message-Id: 200604181531.47237.ivan@yosifov.net
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 ? -- Cheers, Ivan Yosifov. -- gentoo-java@g.o mailing list

Replies