When I try to emerge subversion on an otherwise not too up-to-date system, I get this error message: >>> emerge (1 of 1) dev-util/subversion-1.3.2-r3 to / /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/java-utils-2.eclass: line 1942: conditional binary operator expected /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/java-utils-2.eclass: line 1942: syntax error near `=~' /usr/lib/portage/bin/ebuild.sh: /usr/portage/eclass/java-utils-2.eclass: line 1942: ` if [[ ${jar} =~ ${PV} ]]; then' !!! ERROR: dev-util/subversion-1.3.2-r3 failed. !!! Function inherit, Line 1563, Exitcode 1 !!! died sourcing /usr/portage/eclass/java-utils-2.eclass in inherit() !!! If you need support, post the topmost build error, NOT this status message. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" Installed on this system is a bash-2.05b-r9 and I guess this might be a bash 3 feature. In case you really want to use it, add bash-3.* as a DEPEND. However, I guess in this case the check could be transformed into [[ ${jar} == *${PV}* ]] which is almost the same (except for special treatment of the dots in the version number) and should do the job in a compatible way.
java-vm-2.eclass also has this bash-3 syntax in it.
Any baselayout ebuild in portage requires bash-3.0 at minimum, which is required to boot, so... upgrade your system.