Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75110 - mckoi-1.0.2 ebuild incorrectly specifies gnu-regexp on classpath
Summary: mckoi-1.0.2 ebuild incorrectly specifies gnu-regexp on classpath
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 15:19 UTC by Edwin Shin
Modified: 2004-12-21 03:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild that fixes the problem (mckoi-1.0.2.ebuild,1.54 KB, text/plain)
2004-12-20 15:21 UTC, Edwin Shin
Details

Note You need to log in before you can comment on or make changes to this bug.
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