[MacPorts] #56727: junit fails to build command execution failed

MacPorts noreply at macports.org
Sun Jun 24 19:22:07 UTC 2018


#56727: junit fails to build command execution failed
-------------------------+-------------------------------------
  Reporter:  carlofdtam  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.5.2
Resolution:              |   Keywords:  command execution fails
      Port:  junit       |
-------------------------+-------------------------------------

Old description:

> 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"

New description:

 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"
 }}}

--

Comment (by jmroot):

 {{{
     [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>)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56727#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list