Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
# euse -i doc javamail jikes jms jmx source global use flags (searching: doc javamail jikes jms jmx source) ************************************************************ [- ] doc - Adds extra documentation (API, Javadoc, etc) [+ C ] jikes - Compile Java source code with jikes (faster) [- ] source - Zip the sources and install them local use flags (searching: doc javamail jikes jms jmx source) ************************************************************ [- ] javamail (dev-java/ant-tasks): Enable JavaMail Ant task [- ] javamail (dev-java/avalon-logkit): Enable support for javamail [- ] javamail (dev-java/log4j): Build the SMTPAppender [- ] jms (dev-java/avalon-logkit): Enable support for JMS (Java Message Service) [- ] jms (dev-java/log4j): Build the JMSAppender [- ] jmx (dev-java/log4j): Build org.apace.log4j.jmx [- ] jmx (dev-java/quartz): Enable jmx support # emerge -1 log4j Calculating dependencies >>> Unpacking source... >>> Unpacking logging-log4j-1.2.12.tar.gz to /var/tmp/portage/log4j-1.2.12/work >>> Source unpacked. Buildfile: build.xml init: build.core: [mkdir] Created dir: /var/tmp/portage/log4j-1.2.12/work/logging-log4j- 1.2.12/dist/classes [javac] Compiling 158 source files to /var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/dist/classes [javac] Jikes doesn't support '-source 1.1', will use '-source 1.3' instead [javac] Issued 5 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/Level.java": [javac] 56. final static public Level FATAL = new Level (FATAL_INT, "FATAL", 0); [javac] ^---^ [javac] *** Semantic Warning: Field "FATAL" shadows a field of the same name in "org.apache.log4j.Priority". [javac] 61. final static public Level ERROR = new Level (ERROR_INT, "ERROR", 3); [javac] ^---^ [javac] *** Semantic Warning: Field "ERROR" shadows a field of the same name in "org.apache.log4j.Priority". [javac] 66. final static public Level WARN = new Level (WARN_INT, "WARN", 4); [javac] ^--^ [javac] *** Semantic Warning: Field "WARN" shadows a field of the same name in "org.apache.log4j.Priority". [javac] 72. final static public Level INFO = new Level (INFO_INT, "INFO", 6); [javac] ^--^ [javac] *** Semantic Warning: Field "INFO" shadows a field of the same name in "org.apache.log4j.Priority". [javac] 78. final static public Level DEBUG = new Level (DEBUG_INT, "DEBUG", 7); [javac] ^---^ [javac] *** Semantic Warning: Field "DEBUG" shadows a field of the same name in "org.apache.log4j.Priority". [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/helpers/LogLog.java": [javac] 74. key = OptionConverter.getSystemProperty (CONFIG_DEBUG_KEY, null); [javac] ^------------- -^ [javac] *** Semantic Warning: The variable "CONFIG_DEBUG_KEY" declared in type "org.apache.log4j.helpers.LogLog" has been deprecated. [javac] Issued 14 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/spi/LoggingEvent.java": [javac] 149. this.logger = logger; [javac] ^---------^ [javac] *** Semantic Warning: The variable "logger" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 150. this.categoryName = logger.getName(); [javac] ^---------------^ [javac] *** Semantic Warning: The variable "categoryName" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 151. this.level = level; [javac] ^--------^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 174. this.logger = logger; [javac] ^---------^ [javac] *** Semantic Warning: The variable "logger" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 175. this.categoryName = logger.getName(); [javac] ^---------------^ [javac] *** Semantic Warning: The variable "categoryName" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 176. this.level = level; [javac] ^--------^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 200. return (Level) level; [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 208. return categoryName; [javac] ^----------^ [javac] *** Semantic Warning: The variable "categoryName" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 293. LoggerRepository repository = logger.getLoggerRepository(); [javac] ^----^ [javac] *** Semantic Warning: The variable "logger" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 354. level = Level.toLevel(p); [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 369. level = (Level) m.invoke(null, PARAM_ARRAY); [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 373. level = Level.toLevel(p); [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 416. oos.writeInt(level.toInt()); [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] 418. Class clazz = level.getClass(); [javac] ^---^ [javac] *** Semantic Warning: The variable "level" declared in type "org.apache.log4j.spi.LoggingEvent" has been deprecated. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/spi/Filter.java": [javac] 114. this.next = next; [javac] ^-------^ [javac] *** Semantic Warning: The variable "next" declared in type "org.apache.log4j.spi.Filter" has been deprecated. [javac] 121. return next; [javac] ^--^ [javac] *** Semantic Warning: The variable "next" declared in type "org.apache.log4j.spi.Filter" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/helpers/FileWatchdog.java": [javac] 103. Thread.currentThread().sleep(delay); [javac] ^--------------------------^ [javac] *** Semantic Warning: Invoking the class method "sleep" via an instance is discouraged because the method invoked will be the one in the variable's declared type, not the instance's dynamic type. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/PropertyConfigurator.java": [javac] 398. value = properties.getProperty (LogLog.CONFIG_DEBUG_KEY); [javac] ^---------------------^ [javac] *** Semantic Warning: The variable "CONFIG_DEBUG_KEY" declared in type "org.apache.log4j.helpers.LogLog" has been deprecated. [javac] Issued 4 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/LogManager.java": [javac] 82. String override =OptionConverter.getSystemProperty (DEFAULT_INIT_OVERRIDE_KEY, [javac] ^---- -------------------^ [javac] *** Semantic Warning: The variable "DEFAULT_INIT_OVERRIDE_KEY" declared in type "org.apache.log4j.LogManager" has been deprecated. [javac] 90. DEFAULT_CONFIGURATION_KEY, [javac] ^- ----------------------^ [javac] *** Semantic Warning: The variable "DEFAULT_CONFIGURATION_KEY" declared in type "org.apache.log4j.LogManager" has been deprecated. [javac] 94. CONFIGURATOR_CLASS_KEY, [javac] ^-------- ------------^ [javac] *** Semantic Warning: The variable "CONFIGURATOR_CLASS_KEY" declared in type "org.apache.log4j.LogManager" has been deprecated. [javac] 105. url = Loader.getResource (DEFAULT_CONFIGURATION_FILE); [javac] ^------------------------ ^ [javac] *** Semantic Warning: The variable "DEFAULT_CONFIGURATION_FILE" declared in type "org.apache.log4j.LogManager" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/Hierarchy.java": [javac] 438. Logger root = getRootLogger(); [javac] ^--^ [javac] *** Semantic Warning: Local "root" shadows a field of the same name in "org.apache.log4j.Hierarchy". [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/helpers/OnlyOnceErrorHandler.java": [javac] 40. final String WARN_PREFIX = "log4j warning: "; [javac] ^-----------------------------^ [javac] *** Semantic Warning: Final field "WARN_PREFIX" is initialized with a constant expression and could be made static to save space. [javac] 41. final String ERROR_PREFIX = "log4j error: "; [javac] ^----------------------------^ [javac] *** Semantic Warning: Final field "ERROR_PREFIX" is initialized with a constant expression and could be made static to save space. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/AppenderSkeleton.java": [javac] 85. tailFilter.next = newFilter; [javac] ^-------------^ [javac] *** Semantic Warning: The variable "next" declared in type "org.apache.log4j.spi.Filter" has been deprecated. [javac] 226. case Filter.NEUTRAL: f = f.next; [javac] ^----^ [javac] *** Semantic Warning: The variable "next" declared in type "org.apache.log4j.spi.Filter" has been deprecated. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/PatternLayout.java": [javac] 408. protected final int BUF_SIZE = 256; [javac] ^------------^ [javac] *** Semantic Warning: Final field "BUF_SIZE" is initialized with a constant expression and could be made static to save space. [javac] 409. protected final int MAX_CAPACITY = 1024; [javac] ^-----------------^ [javac] *** Semantic Warning: Final field "MAX_CAPACITY" is initialized with a constant expression and could be made static to save space. [javac] Found 1 semantic error compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/DailyRollingFileAppender.java": [javac] 367. class RollingCalendar extends GregorianCalendar { [javac] ^-------------^ [javac] *** Semantic Error: The abstract method "int compareTo (java.lang.Object $1);", inherited from type "java.lang.Comparable", is not implemented in the non-abstract class "org.apache.log4j.RollingCalendar". [javac] Issued 5 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/HTMLLayout.java": [javac] 30. protected final int BUF_SIZE = 256; [javac] ^------------^ [javac] *** Semantic Warning: Final field "BUF_SIZE" is initialized with a constant expression and could be made static to save space. [javac] 31. protected final int MAX_CAPACITY = 1024; [javac] ^-----------------^ [javac] *** Semantic Warning: Final field "MAX_CAPACITY" is initialized with a constant expression and could be made static to save space. [javac] 134. sbuf.append(event.timeStamp - event.getStartTime()); [javac] ^----------------^ [javac] *** Semantic Warning: Invoking the class method "getStartTime" via an instance is discouraged because the method invoked will be the one in the variable's declared type, not the instance's dynamic type. [javac] 210. StringBuffer sbuf = new StringBuffer(); [javac] ^--^ [javac] *** Semantic Warning: Local "sbuf" shadows a field of the same name in "org.apache.log4j.HTMLLayout". [javac] 245. StringBuffer sbuf = new StringBuffer(); [javac] ^--^ [javac] *** Semantic Warning: Local "sbuf" shadows a field of the same name in "org.apache.log4j.HTMLLayout". [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/chainsaw/ControlPanel.java": [javac] 94. final Priority[] allPriorities = Priority.getAllPossiblePriorities(); [javac] ^------------------ ---------------^ [javac] *** Semantic Warning: The method "org.apache.log4j.Priority[] getAllPossiblePriorities();" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/chainsaw/MyTableModel.java": [javac] 141. private Priority mPriorityFilter = Priority.DEBUG; [javac] ^------------^ [javac] *** Semantic Warning: The variable "DEBUG" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/helpers/SyslogWriter.java": [javac] 36. final int SYSLOG_PORT = 514; [javac] ^---------------^ [javac] *** Semantic Warning: Final field "SYSLOG_PORT" is initialized with a constant expression and could be made static to save space. [javac] 44. this.syslogHost = syslogHost; [javac] ^--------^ [javac] *** Semantic Warning: Accessing the class field "syslogHost" via an instance is discouraged because the field accessed will be the one in the variable's declared type, not the instance's dynamic type. [javac] Issued 3 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryNode.java": [javac] 81. Enumeration children = children(); [javac] ^------^ [javac] *** Semantic Warning: Local "children" shadows a field of the same name in "javax.swing.tree.DefaultMutableTreeNode". [javac] 93. Enumeration children = children(); [javac] ^------^ [javac] *** Semantic Warning: Local "children" shadows a field of the same name in "javax.swing.tree.DefaultMutableTreeNode". [javac] 175. TreeNode parent = getParent(); [javac] ^----^ [javac] *** Semantic Warning: Local "parent" shadows a field of the same name in "javax.swing.tree.DefaultMutableTreeNode". [javac] Issued 3 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryExplorerMod el.java": [javac] 105. CategoryNode root = (CategoryNode) getRoot(); [javac] ^--^ [javac] *** Semantic Warning: Local "root" shadows a field of the same name in "javax.swing.tree.DefaultTreeModel". [javac] 141. CategoryNode root = (CategoryNode) getRoot(); [javac] ^--^ [javac] *** Semantic Warning: Local "root" shadows a field of the same name in "javax.swing.tree.DefaultTreeModel". [javac] 189. CategoryNode root = (CategoryNode) getRoot(); [javac] ^--^ [javac] *** Semantic Warning: Local "root" shadows a field of the same name in "javax.swing.tree.DefaultTreeModel". [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/LogFactor5Dialog.java": [javac] 53. public void show() { [javac] ^----^ [javac] *** Semantic Warning: The overridden method "void show();" is deprecated in type "java.awt.Dialog". [javac] 57. super.show(); [javac] ^----------^ [javac] *** Semantic Warning: The method "void show();" declared in type "java.awt.Dialog" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/LogFactor5ErrorDialog.java": [javac] 54. hide(); [javac] ^----^ [javac] *** Semantic Warning: The method "void hide();" declared in type "java.awt.Dialog" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/util/LogFileParser.java": [javac] 164. _loadDialog.hide(); [javac] ^----------------^ [javac] *** Semantic Warning: The method "void hide();" declared in type "java.awt.Dialog" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/LogBrokerMonitor.java": [javac] 1245. fonts = tk.getFontList(); [javac] ^--------------^ [javac] *** Semantic Warning: The method "java.lang.String[] getFontList ();" declared in type "java.awt.Toolkit" has been deprecated. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/categoryexplorer/CategoryImmediateEd itor.java": [javac] 42. private CategoryNodeRenderer renderer; [javac] ^------^ [javac] *** Semantic Warning: Field "renderer" shadows a field of the same name in "javax.swing.tree.DefaultTreeCellEditor". [javac] 43. protected Icon editingIcon = null; [javac] ^---------^ [javac] *** Semantic Warning: Field "editingIcon" shadows a field of the same name in "javax.swing.tree.DefaultTreeCellEditor". [javac] Issued 3 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/lf5/viewer/LogFactor5InputDialog.java": [javac] 87. hide(); [javac] ^----^ [javac] *** Semantic Warning: The method "void hide();" declared in type "java.awt.Dialog" has been deprecated. [javac] 95. hide(); [javac] ^----^ [javac] *** Semantic Warning: The method "void hide();" declared in type "java.awt.Dialog" has been deprecated. [javac] 102. hide(); [javac] ^----^ [javac] *** Semantic Warning: The method "void hide();" declared in type "java.awt.Dialog" has been deprecated. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/net/SimpleSocketServer.java": [javac] 91. new DOMConfigurator().configure(configFile); [javac] ^-----------------------------^ [javac] *** Semantic Warning: Invoking the class method "configure" via an instance is discouraged because the method invoked will be the one in the variable's declared type, not the instance's dynamic type. [javac] 93. new PropertyConfigurator().configure(configFile); [javac] ^----------------------------------^ [javac] *** Semantic Warning: Invoking the class method "configure" via an instance is discouraged because the method invoked will be the one in the variable's declared type, not the instance's dynamic type. [javac] Issued 2 semantic warnings compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/net/SocketServer.java": [javac] 179. Hierarchy h = new Hierarchy(new RootLogger((Level) Priority.DEBUG)); [javac] ^------------^ [javac] *** Semantic Warning: The variable "DEBUG" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] 196. genericHierarchy = new Hierarchy(new RootLogger ((Level) Priority.DEBUG)); [javac] ^------------^ [javac] *** Semantic Warning: The variable "DEBUG" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/net/test/SMTPMin.java": [javac] 59. cat.log(Priority.FATAL, "Message " + i++); [javac] ^------------^ [javac] *** Semantic Warning: The variable "FATAL" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/net/test/SocketMin.java": [javac] 108. cat.log(Priority.FATAL, "Message " + i++); [javac] ^------------^ [javac] *** Semantic Warning: The variable "FATAL" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j- 1.2.12/src/java/org/apache/log4j/net/test/SyslogMin.java": [javac] 66. CAT.log(Priority.FATAL, "Message " + i++); [javac] ^------------^ [javac] *** Semantic Warning: The variable "FATAL" declared in type "org.apache.log4j.Priority" has been deprecated. [javac] Issued 1 semantic warning compiling "/var/tmp/portage/log4j- 1.2.12/work/logging-log4j-1.2.12/src/java/org/apache/log4j/nt/test/NTMin.java": [javac] 67. cat.log(Priority.FATAL, "Message " + i++); [javac] ^------------^ [javac] *** Semantic Warning: The variable "FATAL" declared in type "org.apache.log4j.Priority" has been deprecated. BUILD FAILED /var/tmp/portage/log4j-1.2.12/work/logging-log4j-1.2.12/build.xml:215: Compile failed; see the compiler error output for details. Total time: 6 seconds !!! ERROR: dev-java/log4j-1.2.12 failed. !!! Function src_compile, Line 44, Exitcode 1 !!! compilation error !!! If you need support, post the topmost build error, NOT this status message. ...done! >>> emerge (1 of 1) dev-java/log4j-1.2.12 to / >>> md5 files ;-) log4j-1.2.9.ebuild >>> md5 files ;-) log4j-1.2.12.ebuild >>> md5 files ;-) log4j-1.2.11.ebuild >>> md5 files ;-) files/digest-log4j-1.2.9 >>> md5 files ;-) files/digest-log4j-1.2.11 >>> md5 files ;-) files/digest-log4j-1.2.12 >>> md5 src_uri ;-) logging-log4j-1.2.12.tar.gz
Could you please post which JDK you have set for your system VM?
# java-config -L [sun-jdk-1.5.0.05] "Sun JDK 1.5.0.05" (/etc/env.d/java/20sun-jdk-1.5.0.05) * # java-config --javac /opt/sun-jdk-1.5.0.05/bin/javac
sun-jdk 1.5 is package.masked
*** Bug 114572 has been marked as a duplicate of this bug. ***
I am able to reproduce this on blackdown-jdk-1.4.2.02 on my server. The weird thing is that this does compile fine on my desktop system using jikes and everything else but this package from the axxo-overlay so we should be able to compile this using jikes. Reopening for further investigation.
I haven't been able to reliably reproduce this. I had tried patching log4j to fix the jikes error, but that only lead to a different problem (sorry, don't have the patch or errors handy). I think the safest bet would be to just disable jikes support.
Disabled jikes support for now. Thanks for reporting.