Opened 9 years ago

Closed 9 years ago

#48850 closed defect (duplicate)

Installing maven-ant-tasks fails due to JAVA_HOME

Reported by: root42 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: maven-ant-tasks

Description

I tried to install Leiningen using "port install leiningen", but got an error:

--->  Dependencies to be installed: maven-ant-tasks
--->  Building maven-ant-tasks
Error: org.macports.build for port maven-ant-tasks returned: command execution failed
Error: Failed to install maven-ant-tasks
Please see the log file for port maven-ant-tasks for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_maven-ant-tasks/maven-ant-tasks/main.log
Error: The following dependencies were not installed: maven-ant-tasks
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port leiningen failed

I have even tried to set JAVA_HOME (export JAVA_HOME=$(/usr/libexec/java_home), and restarting (port clean maven-ant-tasks ; port install leiningen), but it did not help. I have attached the logfile.

Change History (1)

comment:1 Changed 9 years ago by ci42

Resolution: duplicate
Status: newclosed

Duplicate of #48851.

Note: See TracTickets for help on using tickets.