[MacPorts] #13869: jakarta-log4j causes commons-logging to fail
#13869: jakarta-log4j causes commons-logging to fail --------------------------------------+------------------------------------- Reporter: seth_macports@araxia.net | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | --------------------------------------+------------------------------------- The presence of the "/opt/local/share/java/jakarta-log4j.jar" jar installed by the jakarta-log4j port (which is a dependency for other packages) causes the build for the commons-logging port to fail. It appears that the classloader(s?) in the JVM in which the tests run pick up the log4j implementation of the Logging class prior to the java.util.logging implementation, e.g. junit.framework.TestListener: addFailure(testPristineLog, Log class expected:<...ommons.logging.impl.[Jdk14]Logger> but was:<...ommons.logging.impl.[Log4J]Logger>) WORKAROUND: Moving the jakarta-log4j.jar out of the /opt/local/share/java/ directory prior to installation of the commons-logging port results in a successful installation. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13869> MacPorts </projects/macports> Ports system for Mac OS
#13869: jakarta-log4j causes commons-logging to fail ---------------------------------------+------------------------------------ Reporter: seth_macports@araxia.net | Owner: blair@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by blair@macports.org): * owner: macports-tickets@lists.macosforge.org => blair@macports.org Comment: Taking. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13869#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13869: jakarta-log4j causes commons-logging to fail ---------------------------------------+------------------------------------ Reporter: seth_macports@araxia.net | Owner: blair@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: ---------------------------------------+------------------------------------ Changes (by blair@macports.org): * status: new => closed * resolution: => worksforme Comment: I can't reproduce this with my latest commits, the most important one being in r33902. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13869#comment:2> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts