You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jakob Homan (Created) (JIRA)" <ji...@apache.org> on 2011/12/15 22:57:31 UTC

[jira] [Created] (HADOOP-7927) Can't build packages 205+ on OSX

Can't build packages 205+ on OSX
--------------------------------

                 Key: HADOOP-7927
                 URL: https://issues.apache.org/jira/browse/HADOOP-7927
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 0.20.205.0, 1.0.0
            Reporter: Jakob Homan


Currently the ant build script tries to reference the native directories, which are not built on OSX, breaking the build:
{noformat}bin-package:
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/bin
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/etc/hadoop
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/lib
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/libexec
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/sbin
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/contrib
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/webapps
    [mkdir] Created dir: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/templates/conf
     [copy] Copying 11 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/templates/conf
     [copy] Copying 39 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/lib
     [copy] Copying 15 files to /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/share/hadoop/lib

BUILD FAILED
/Users/jhoman/repos/hadoop-common/build.xml:1611: /Users/jhoman/repos/hadoop-common/build/hadoop-0.20.205.1/native does not exist.
{noformat}

Once one fixes this, one discovers the build is also trying to build the linux task controller, regardless of whether not the native flag is set, which also fails.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira