Opened 10 years ago

Last modified 4 years ago

#45539 new defect

nds2-client fails install

Reported by: watsodw Owned by: emaros
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: nds2-client

Description

Might be a java issue. See log.

Attachments (1)

main.log (303.2 KB) - added by watsodw 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by watsodw

Attachment: main.log added

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

The log says:

gcj: error trying to exec 'ecj1': execvp: No such file or directory

And I see that this port is using gcc48.

This is a known problem in gcc48 and other versions; see #22066.

gcc47 was already fixed, but this port has no variants for selecting any other gcc version.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

It looks like the dependency is written as bin:javac:gcc48. So you could avoid the problem by installing Java on your computer, such that /usr/bin/javac then exists.

This dependency is in the swig_java variant, so if you don't need java support in nds2-client, you could install it without that variant.

comment:3 Changed 10 years ago by watsodw

The web site says swig_java is a dependency, but I tried again with "-swig_java" and it worked. Thanks.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ed.maros@…

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

In [8803dd4681/macports-ports], when the nds2-client port variants were split off into subports (e.g. nds2-client-java), the fallback dependency on GCJ (from gcc48) was also removed; so I believe this issue should no longer be present, and this ticket can be closed.

(The Java dependency for nds2-client-java should instead be managed by the Java portgroup, which I have opened a PR for: https://github.com/macports/macports-ports/pull/8022; see #60206)

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

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.