Opened 6 years ago

Closed 4 years ago

#56727 closed defect (fixed)

junit fails to build command execution failed

Reported by: carlofdtam (Carlo Tambuatco) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc: chrstphrchvz (Christopher Chavez)
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"

Attachments (2)

junit.log (25.7 KB) - added by carlofdtam (Carlo Tambuatco) 6 years ago.
junit log file
main.log (94.1 KB) - added by reynoldsnlp 6 years ago.
log file from @reynoldsnlp

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by carlofdtam (Carlo Tambuatco)

Attachment: junit.log added

junit log file

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

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Keywords: command execution fails removed

Changed 6 years ago by reynoldsnlp

Attachment: main.log added

log file from @reynoldsnlp

comment:3 Changed 6 years ago by reynoldsnlp

My problem could also be related. See attached log file from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_java_junit/junit/main.log.

comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

I believe this is fixed by [a25b56bd7d/macports-ports] (junit 4.12_0): the port now uses the prebuilt binary distribution instead of building from the source distribution. Can this ticket be closed?

comment:5 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.