Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 73319
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bcel-5.1.ebuild bcel-5.1.ebuild text/plain Jan Brinkmann (RETIRED) 2004-12-19 09:43 0000 1.03 KB Details
bcel-5.1-gentoo-buildxml.diff bcel-5.1-gentoo-buildxml.diff patch Jan Brinkmann (RETIRED) 2004-12-19 09:44 0000 1.26 KB Details | Diff
bcel-5.1-gentoo-src.diff bcel-5.1-gentoo-src.diff patch Jan Brinkmann (RETIRED) 2004-12-19 09:47 0000 3.17 KB Details | Diff
bcel-5.1.ebuild bcel-5.1.ebuild text/plain Jan Brinkmann (RETIRED) 2004-12-19 10:05 0000 1.08 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73319 depends on: Show dependency tree
Bug 73319 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-04 02:56 0000
after log4j unlock i tried to emerge eclipse

but bcel failed.

always with jdk 5.0!

------- Comment #1 From Karl Trygve Kalleberg (RETIRED) 2004-12-04 04:10:49 0000 -------
I do not understand the problem. Please state your problem clearly and
completely
so that may attempt to reproduce it.

In particular, list the versions of the packages involved, and all pertaining
error messages.

------- Comment #2 From Patrizio Bassi 2004-12-04 04:54:57 0000 -------
sorry, i haven't my notebook so i can't try again:

infos:
jdk 5.0

trying to compile it gives errors, the "usual ones"
like enum and so on...

and compilation fails.

i searched for a newer version, but seems 5.1 is the lastest.
patch needed so.

------- Comment #3 From Karl Trygve Kalleberg (RETIRED) 2004-12-04 05:44:24 0000 -------
Presumably, the build.xml needs to be patched with source/target=1.4 (or
older).

------- Comment #4 From Patrizio Bassi 2004-12-06 03:25:27 0000 -------
found a solution.

a) USE="-jikes" or will create so many errors.

b) search the sources for "Deprecated" class. it's in 2 files only.
Pass2verifier and String[...]
i don't remember exactly...i did the patch on a friend's pc.

changed the Deprecated class into "org.apache.bcel.classfile.Deprecated"

and it will compile good.

should be 5 occorrences only.

i did manually and so i can't provide a patch.


(of course this is for jdk 5.0, but will work with older versons too. it's due to java.lang.Deprecated class, so Deprecated will be ambigous).


please apply asap.

------- Comment #5 From Jan Brinkmann (RETIRED) 2004-12-19 09:43:00 0000 -------
Created an attachment (id=46350) [details]
bcel-5.1.ebuild

a new ebuild which doesnt make use of the CLASSPATH=foo... thing. i've also
done some other cleanups and the most important it applies two patches. 

------- Comment #6 From Jan Brinkmann (RETIRED) 2004-12-19 09:44:55 0000 -------
Created an attachment (id=46351) [details]
bcel-5.1-gentoo-buildxml.diff

this patch adds source and target attributes to the javac nodes and adds a
reference to ${regexp.jar} to the build.xml. by doing it this way we can simply
add regexp.jar=... to the build.properties file inside of the ebuild.

------- Comment #7 From Jan Brinkmann (RETIRED) 2004-12-19 09:47:53 0000 -------
Created an attachment (id=46352) [details]
bcel-5.1-gentoo-src.diff

patches the source code to get rid of the errors which prevented bcel from
being build using jdk 1.5

------- Comment #8 From Jan Brinkmann (RETIRED) 2004-12-19 10:05:43 0000 -------
Created an attachment (id=46354) [details]
bcel-5.1.ebuild

fixed a dependendy error

------- Comment #9 From Karl Trygve Kalleberg (RETIRED) 2004-12-30 07:35:25 0000 -------
Fixed. No revdump done.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug