First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 144514
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alistair Bush <ali_bush@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2006-08-20 05:03 0000
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 From Krzysiek Pawlik 2006-08-20 05:23:13 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug