Opened 9 years ago

Closed 9 years ago

#48851 closed defect (duplicate)

maven-ant-tasks: Error: JAVA_HOME is not defined correctly.

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.

Attachments (1)

main.log (8.3 KB) - added by root42 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by root42

Attachment: main.log added

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

Resolution: duplicate
Status: newclosed
Summary: Installing maven-ant-tasks fails due to JAVA_HOMEmaven-ant-tasks: Error: JAVA_HOME is not defined correctly.

Duplicate of #41876.

Note: See TracTickets for help on using tickets.