Bug#277708: libgnumail-java: FTBFS: Semantic Error

Roland Stigge Roland Stigge <stigge@antcom.de>, 277708@bugs.debian.org
Thu Oct 21 15:24:02 2004


Package: libgnumail-java
Version: 1.0-3
Severity: serious

Hi,

building the package libgnumail-java in a clean build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
    [javac]   1056.       int type = entry.isNoinferiors() ?
    [javac]                   ^--^
    [javac] *** Semantic Warning: Local "type" shadows a field of the same name in "gnu.mail.providers.imap.IMAPFolder".

    [javac] Found 2 semantic errors compiling "/tmp/buildd/libgnumail-java-1.0/source/gnu/mail/providers/imap/IMAPStore.java":

    [javac]    103.             connectionTimeout, timeout, session.getDebug());
    [javac]                                                                   ^
    [javac] *** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "javax.net.ssl" in: 
    [javac]                 /usr/share/sablevm/sablevm-classpath
    [javac]                 /tmp/buildd/libgnumail-java-1.0/classes
    [javac]                 /tmp/buildd/libgnumail-java-1.0/source
    [javac]                 /usr/share/java/activation.jar
    [javac]                 /usr/share/java/inetlib.jar
    [javac]                 /tmp/buildd/libgnumail-java-1.0/gnumail.jar
    [javac]                 /usr/share/java/gnujaxp.jar
    [javac]                 /usr/share/ant1.6/lib/ant.jar
    [javac]                 /usr/share/ant1.6/lib/ant-launcher.jar
    [javac]                 .



    [javac]    103.             connectionTimeout, timeout, session.getDebug());
    [javac]                                                                   ^
    [javac] *** Semantic Error: Type "javax.net.ssl.TrustManager" was not found.

    [javac] Issued 7 semantic warnings compiling "/tmp/buildd/libgnumail-java-1.0/source/gnu/mail/providers/mbox/MboxFolder.java":

    [javac]    204.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".


    [javac]    333.         MboxStore store = (MboxStore)this.store;
    [javac]                           ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".


    [javac]    839.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".

    [javac]    850.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".


    [javac]    855.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".


    [javac]    894.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".


    [javac]    905.       MboxStore store = (MboxStore)this.store;
    [javac]                         ^---^
    [javac] *** Semantic Warning: Local "store" shadows a field of the same name in "javax.mail.Folder".

BUILD FAILED
/tmp/buildd/libgnumail-java-1.0/build.xml:81: Compile failed; see the compiler error output for details.

Total time: 45 seconds
make: *** [debian/stamp-ant-build] Error 1
=========================================================================

Thanks for considering.