| Summary: | mckoi-1.0.2 ebuild incorrectly specifies gnu-regexp on classpath | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Edwin Shin <eddie> |
| Component: | [OLD] Development | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | ebuild that fixes the problem | ||
Created attachment 46485 [details]
ebuild that fixes the problem
fixed |
The mckoi-1.0.2 ebuild specifies 'gnu-regexp' in the classpath (line 30). However, according to "java-config -l", the GNU regexp package should be specified as 'gnu-regexp-1'. Reproducible: Always Steps to Reproduce: 1. # emerge -a mckoi Actual Results: gnu-regexp is a dependency, so it (v. 1.1.4) is successfully emerged first. then: >>> Unpacking mckoi1.0.2.zip to /var/tmp/portage/mckoi-1.0.2/work >>> Source unpacked. Could not find package gnu-regexp src/com/mckoi/database/regexbridge/GNURegex.java:29: package gnu.regexp does not exist import gnu.regexp.*; ^ src/com/mckoi/database/regexbridge/GNURegex.java:49: cannot resolve symbol symbol : variable RE location: class com.mckoi.database.regexbridge.GNURegex c_flags += RE.REG_ICASE; ^ Expected Results: Emerged correctly. changing line 30 to read javac -classpath src:lib:`java-config -p gnu-regexp-1` -d lib/ \ instead of javac -classpath src:lib:`java-config -p gnu-regexp` -d lib/ \ fixes the problem.