[MacPorts] #27086: junit: update to 4.8.2
#27086: junit: update to 4.8.2 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: junit -------------------------------------+-------------------------------------- This patch tries to update junit to 4.8.2 but fails to build with this error: {{{ build: [mkdir] Created dir: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/target/main [javac] Compiling 154 source files to /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/target/main [javac] /opt/local/var/macports/build/_Users_rschmidt_macports_dports_java_junit/work/junit4.8.2/src/main/java/org/junit/rules/ExpectedException.java:73: and(org.hamcrest.Matcher<? super java.lang.Object>) in org.hamcrest.core.CombinableMatcher<java.lang.Object> cannot be applied to (org.hamcrest.Matcher<capture#868 of ?>) [javac] fMatcher= both(fMatcher).and(matcher); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error }}} There is already a patch from the prior version that fixes some incompatibilities with hamcrest 1.2, which resolved several other instances of this "Some input files use or override a deprecated API" message; see #19916. The patch presumably just needs to be expanded to cover this one additional case. Anthony, do you remember how you did that before / where you got that patch from? -- Ticket URL: <https://trac.macports.org/ticket/27086> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27086: junit: update to 4.9 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: junit -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch Comment: Updated patchfile for 4.9; same error. -- Ticket URL: <https://trac.macports.org/ticket/27086#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27086: junit: update to 4.10 -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: junit -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: nox@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/27086#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts