Hi I'm facing the below compilation failure while doing "bitbake openjdk-7-jre". Any suggestions on how to fix this?
Thanks! Log data follows: | DEBUG: Executing shell function do_compile | ---------- | 1. WARNING in src/main/java/org/apache/log4j/spi/NOPLogger.java (at line 59) | void closeNestedAppenders() { | ^^^^^^^^^^^^^^^^^^^^^^ | The method NOPLogger.closeNestedAppenders() does not override the inherited method from Category since it is private to a different package | ---------- | ---------- | 2. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 1) | /* | ^ | The type javax.mail.Transport cannot be resolved. It is indirectly referenced from required .class files | ---------- | 3. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 39) | import javax.mail.Transport; | ^^^^^^^^^^^^^^^^^^^^ | The import javax.mail.Transport cannot be resolved | ---------- | 4. ERROR in src/main/java/org/apache/log4j/net/SMTPAppender.java (at line 416) | Transport.send(msg); | ^^^^^^^^^ | Transport cannot be resolved | ---------- | ---------- | 5. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 38) | public class LogFactor5InputDialog extends LogFactor5Dialog { | ^^^^^^^^^^^^^^^^^^^^^ | The serializable class LogFactor5InputDialog does not declare a static final serialVersionUID field of type long | ---------- | 6. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 88) | hide(); | ^^^^^^ | The method hide() from the type Dialog is deprecated | ---------- | 7. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 96) | hide(); | ^^^^^^ | The method hide() from the type Dialog is deprecated | ---------- | 8. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java (at line 103) | hide(); | ^^^^^^ | The method hide() from the type Dialog is deprecated | ---------- | ---------- | 9. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 826) | JMenuItem menuItem = result; | ^^^^^^^^ | The local variable menuItem is never read | ---------- | 10. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 945) | JMenuItem exitMI; | ^^^^^^ | The local variable exitMI is never read | ---------- | 11. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1097) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | 12. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1277) | fonts = tk.getFontList(); | ^^^^^^^^^^^^^ | The method getFontList() from the type Toolkit is deprecated | ---------- | 13. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1459) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | 14. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1506) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | 15. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1569) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | 16. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java (at line 1586) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | ---------- | 17. WARNING in src/main/java/org/apache/log4j/lf5/viewer/FilteredLogTableModel.java (at line 39) | public class FilteredLogTableModel | ^^^^^^^^^^^^^^^^^^^^^ | The serializable class FilteredLogTableModel does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 18. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5LoadingDialog.java (at line 35) | public class LogFactor5LoadingDialog extends LogFactor5Dialog { | ^^^^^^^^^^^^^^^^^^^^^^^ | The serializable class LogFactor5LoadingDialog does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 19. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java (at line 42) | public abstract class LogFactor5Dialog extends JDialog { | ^^^^^^^^^^^^^^^^ | The serializable class LogFactor5Dialog does not declare a static final serialVersionUID field of type long | ---------- | 20. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java (at line 69) | super.show(); | ^^^^^^ | The method show() from the type Dialog is deprecated | ---------- | ---------- | 21. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java (at line 38) | public class LogFactor5ErrorDialog extends LogFactor5Dialog { | ^^^^^^^^^^^^^^^^^^^^^ | The serializable class LogFactor5ErrorDialog does not declare a static final serialVersionUID field of type long | ---------- | 22. WARNING in src/main/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java (at line 60) | hide(); | ^^^^^^ | The method hide() from the type Dialog is deprecated | ---------- | ---------- | 23. WARNING in src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java (at line 93) | CategoryNode node = (CategoryNode) path.getLastPathComponent(); | ^^^^ | The local variable node is never read | ---------- | 24. WARNING in src/main/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEditor.java (at line 94) | boolean rv = false; | ^^ | The local variable rv is never read | ---------- | ---------- | 25. WARNING in src/main/java/org/apache/log4j/lf5/LogLevelFormatException.java (at line 30) | public class LogLevelFormatException extends Exception { | ^^^^^^^^^^^^^^^^^^^^^^^ | The serializable class LogLevelFormatException does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 26. WARNING in src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (at line 162) | LogFactor5ErrorDialog error = new LogFactor5ErrorDialog( | ^^^^^ | The local variable error is never read | ---------- | 27. WARNING in src/main/java/org/apache/log4j/lf5/util/LogFileParser.java (at line 171) | _loadDialog.hide(); | ^^^^^^ | The method hide() from the type Dialog is deprecated | ---------- | ---------- | 28. WARNING in src/main/java/org/apache/log4j/lf5/util/AdapterLogRecord.java (at line 33) | public class AdapterLogRecord extends LogRecord { | ^^^^^^^^^^^^^^^^ | The serializable class AdapterLogRecord does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 29. WARNING in src/main/java/org/apache/log4j/lf5/LogLevel.java (at line 42) | public class LogLevel implements java.io.Serializable { | ^^^^^^^^ | The serializable class LogLevel does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 30. WARNING in src/main/java/org/apache/log4j/lf5/LogRecord.java (at line 33) | public abstract class LogRecord implements java.io.Serializable { | ^^^^^^^^^ | The serializable class LogRecord does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 31. WARNING in src/main/java/org/apache/log4j/lf5/Log4JLogRecord.java (at line 32) | public class Log4JLogRecord extends LogRecord { | ^^^^^^^^^^^^^^ | The serializable class Log4JLogRecord does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 32. WARNING in src/main/java/org/apache/log4j/chainsaw/DetailPanel.java (at line 37) | class DetailPanel | ^^^^^^^^^^^ | The serializable class DetailPanel does not declare a static final serialVersionUID field of type long | ---------- | 33. WARNING in src/main/java/org/apache/log4j/chainsaw/DetailPanel.java (at line 42) | private static final Logger LOG = | ^^^ | The field DetailPanel.LOG is never read locally | ---------- | ---------- | 34. WARNING in src/main/java/org/apache/log4j/chainsaw/Main.java (at line 44) | public class Main | ^^^^ | The serializable class Main does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 35. WARNING in src/main/java/org/apache/log4j/chainsaw/LoadXMLAction.java (at line 40) | class LoadXMLAction | ^^^^^^^^^^^^^ | The serializable class LoadXMLAction does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 36. WARNING in src/main/java/org/apache/log4j/chainsaw/MyTableModel.java (at line 37) | class MyTableModel | ^^^^^^^^^^^^ | The serializable class MyTableModel does not declare a static final serialVersionUID field of type long | ---------- | 37. WARNING in src/main/java/org/apache/log4j/chainsaw/MyTableModel.java (at line 142) | private Priority mPriorityFilter = Priority.DEBUG; | ^^^^^ | The field Priority.DEBUG is deprecated | ---------- | ---------- | 38. WARNING in src/main/java/org/apache/log4j/chainsaw/ExitAction.java (at line 29) | class ExitAction | ^^^^^^^^^^ | The serializable class ExitAction does not declare a static final serialVersionUID field of type long | ---------- | ---------- | 39. WARNING in src/main/java/org/apache/log4j/chainsaw/ControlPanel.java (at line 40) | class ControlPanel extends JPanel { | ^^^^^^^^^^^^ | The serializable class ControlPanel does not declare a static final serialVersionUID field of type long | ---------- | 40. WARNING in src/main/java/org/apache/log4j/chainsaw/ControlPanel.java (at line 42) | private static final Logger LOG = | ^^^ | The field ControlPanel.LOG is never read locally | ----------
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto