[MacPorts] #41332: Hadoop fails to build on OSX 10.9 Mavericks.
#41332: Hadoop fails to build on OSX 10.9 Mavericks. ------------------------------+-------------------------------- Reporter: lcopps@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: Hadoop Mavericks | Port: ------------------------------+-------------------------------- Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP. -- Ticket URL: <https://trac.macports.org/ticket/41332> MacPorts <http://www.macports.org/> Ports system for OS X
#41332: hadoop @1.2.1: build failure on 10.9 -----------------------+----------------------- Reporter: lcopps@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: hadoop | -----------------------+----------------------- Changes (by larryv@…): * owner: macports-tickets@… => hum@… * keywords: Hadoop Mavericks => mavericks * port: => hadoop Comment: In the future, please Cc relevant port maintainers (e.g., `port info --maintainers hadoop`). {{{ :debug:main Skipping completed org.macports.archivefetch (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (hadoop) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Tue Nov 12 14:04:35 EST 2013 }}} This is not a complete log. Please [http://guide.macports.org/chunked/project.html#project.tickets.prerequisites clean, try again], and attach the new `main.log` if you experience another failure. -- Ticket URL: <https://trac.macports.org/ticket/41332#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41332: hadoop @1.2.1: build failure on 10.9 -----------------------+----------------------- Reporter: lcopps@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: hadoop | -----------------------+----------------------- Comment (by d5nguyenvan@…): Replying to [ticket:41332 lcopps@…]:
Hadoop fails final build on OSX 10.9 Mavericks on late 2013 MBP.
I think you use Java 1.7 or greater when trying to install hadoop 1.2.1, I trace the build and change java to 1.6 and build complete. Using these steps to install the hadoop: 1. Change to root user (sudo su) 2. Change to java 1.6 (export JAVA_HOME=`/usr/libexec/java_home -v 1.6`) 3. port install hadoop (if fail when verify the checksum, please clean and try again) Hope you install hadoop successfully. -- Ticket URL: <https://trac.macports.org/ticket/41332#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41332: hadoop @1.2.1: build failure on 10.9 -----------------------+----------------------- Reporter: lcopps@… | Owner: hum@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks Port: hadoop | -----------------------+----------------------- Changes (by hum@…): * status: new => closed * resolution: => fixed Comment: I found the same problem on Mavericks, and have modified the Portfile to set JAVA_HOME in the build phase. Committed in r117032. -- Ticket URL: <https://trac.macports.org/ticket/41332#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts