Bug#641130: libgnumail-java: FTBFS: non-static variable logger cannot be referenced from a static context
Daniel Schepler
dschepler at gmail.com
Sat Sep 10 16:38:29 UTC 2011
Source: libgnumail-java
Version: 1.1.2-5
Severity: serious
From my pbuilder build log:
...
gnumail.jar:
[jar] Building jar: /tmp/buildd/libgnumail-java-1.1.2/gnumail-1.1.2.jar
providers:
[javac] /tmp/buildd/libgnumail-java-1.1.2/build.xml:96: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 30 source files to /tmp/buildd/libgnumail-java-1.1.2/classes
[javac] IMAPStore.java:126: non-static variable logger cannot be referenced from a static context
[javac] IMAPConnection.logger.setLevel(IMAPConnection.IMAP_TRACE);
[javac] ^
[javac] NNTPStore.java:168: non-static variable logger cannot be referenced from a static context
[javac] NNTPConnection.logger.setLevel(NNTPConnection.NNTP_TRACE);
[javac] ^
[javac] NNTPTransport.java:107: non-static variable logger cannot be referenced from a static context
[javac] NNTPConnection.logger.setLevel(NNTPConnection.NNTP_TRACE);
[javac] ^
[javac] POP3Store.java:128: non-static variable logger cannot be referenced from a static context
[javac] POP3Connection.logger.setLevel(POP3Connection.POP3_TRACE);
[javac] ^
[javac] SMTPTransport.java:145: non-static variable logger cannot be referenced from a static context
[javac] SMTPConnection.logger.setLevel(SMTPConnection.SMTP_TRACE);
[javac] ^
[javac] Note: ACL.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 5 errors
BUILD FAILED
/tmp/buildd/libgnumail-java-1.1.2/build.xml:96: Compile failed; see the compiler error output for details.
Total time: 8 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the pkg-java-maintainers
mailing list