Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75110

Summary: mckoi-1.0.2 ebuild incorrectly specifies gnu-regexp on classpath
Product: Gentoo Linux Reporter: Edwin Shin <eddie>
Component: [OLD] DevelopmentAssignee: 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

Description Edwin Shin 2004-12-20 15:19:10 UTC
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.
Comment 1 Edwin Shin 2004-12-20 15:21:20 UTC
Created attachment 46485 [details]
ebuild that fixes the problem
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2004-12-21 03:43:10 UTC
fixed