| Summary: | openoffice-1.1.5 has wrong java dependency | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Morten Cools <morten> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | axxo |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
When building openoffice-1.1.5, the build fails with the following error: ClassContextImpl.java:307: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) java.util.Enumeration enum = m_class_path_jars.elements(); ^ ClassContextImpl.java:308: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) while (enum.hasMoreElements()) ^ ClassContextImpl.java:310: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) ClassContext context = (ClassContext)enum.nextElement(); ^ In the ebuild, the java dependency is >=jre-1.4.1. Obviously, >1.5 can't be used without a hack. Reproducible: Always Steps to Reproduce: 1.emerge =openoffice-1.1.5 2. 3.