Opened 6 years ago
Last modified 5 years ago
#56727 closed defect
junit fails to build command execution failed — at Version 1
Reported by: | carlofdtam (Carlo Tambuatco) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.2 |
Keywords: | Cc: | ||
Port: | junit |
Description (last modified by jmroot (Joshua Root))
junit fails to build with the following error:
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_junit/junit/work/junit4.6" && ant build -Dprefix=/opt/local -Dtestsrc=org/junit/tests -Ddist=. Exit code: 1 Error: Failed to build junit: command execution failed DEBUG: Error code: CHILDSTATUS 732 1 DEBUG: Backtrace: command execution failed DEBUG: while executing DEBUG: "system {*}$notty {*}$nice $fullcmdstring" DEBUG: invoked from within DEBUG: "command_exec build" DEBUG: (procedure "portbuild::build_main" line 8) DEBUG: invoked from within DEBUG: "$procedure $targetname"
Change History (2)
Changed 6 years ago by carlofdtam (Carlo Tambuatco)
comment:1 Changed 6 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|
[javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_junit/junit/work/junit4.6/src/main/java/org/junit/matchers/JUnitMatchers.java:87: error: incompatible types: no instance(s) of type variable(s) LHS exist so that CombinableBothMatcher<LHS> conforms to CombinableMatcher<T> 365 [javac] return CoreMatchers.both(matcher); 366 [javac] ^ 367 [javac] where LHS,T are type-variables: 368 [javac] LHS extends Object declared in method <LHS>both(Matcher<? super LHS>) 369 [javac] T extends Object declared in method <T>both(Matcher<? super T>)
Note: See
TracTickets for help on using
tickets.
junit log file