Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144514 - dev-java/proguard multiple problems
Summary: dev-java/proguard multiple problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 05:03 UTC by Alistair Bush (RETIRED)
Modified: 2006-08-20 05:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alistair Bush (RETIRED) gentoo-dev 2006-08-20 05:03:06 UTC
the proguard ebuild has the following bugs

1) use of ant-core and sun-j2me-bin without them being added to DEPEND/RDEPEND
2) uses java-config directly

steps to reproduce

1) ensure sun-j2me-bin not installed (emerge -C sun-j2me-bin)
2) emerge dev-java/proguard

the emerge output

Rewriting ./build.xml
>>> Compiling source in /var/tmp/portage/proguard-3.6/work/proguard3.6 ...
!!! ERROR: Package sun-j2me-bin was not found!
Buildfile: build.xml

proguard:
    [mkdir] Created dir: /var/tmp/portage/proguard-3.6/work/proguard3.6/classes
    [javac] Compiling 363 source files to /var/tmp/portage/proguard-3.6/work/proguard3.6/classes
    [javac] /var/tmp/portage/proguard-3.6/work/proguard3.6/src/proguard/wtk/ProGuardObfuscator.java:23: package com.sun.kvem.environment does not exist
    [javac] import com.sun.kvem.environment.*;
    [javac] ^
    [javac] /var/tmp/portage/proguard-3.6/work/proguard3.6/src/proguard/wtk/ProGuardObfuscator.java:48: cannot resolve symbol
    [javac] symbol  : class Obfuscator
    [javac] location: class proguard.wtk.ProGuardObfuscator
    [javac] public class ProGuardObfuscator implements Obfuscator
    [javac]                                            ^
    [javac] Note: /var/tmp/portage/proguard-3.6/work/proguard3.6/src/proguard/gui/splash/OverrideGraphics2D.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED
/var/tmp/portage/proguard-3.6/work/proguard3.6/build.xml:6: Compile failed; see the compiler error output for details.

Total time: 7 seconds

!!! ERROR: dev-java/proguard-3.6 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  proguard-3.6.ebuild, line 27:   Called eant '-lib' '/usr/share/ant-core/lib/ant-launcher.jar:/usr/share/ant-core/lib/ant.jar' 'proguard'
  java-utils-2.eclass, line 1309:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-08-20 05:23:13 UTC
Fixed, thanks.