HCatalog
  1. HCatalog
  2. HCATALOG-400

HCatalog build fails from git checkout due to missing lib directory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5, 0.4.1
    • Component/s: None
    • Labels:
      None

      Description

      Recently HCatalog removed the Hive SVN external, switching to pulling Hive as a regular dependency. This had the additional benefit of letting developers work off the Github mirror.

      "ant clean package" fails from a git checkout with the following error:

      BUILD FAILED
      /Users/travis/src/hcatalog/build.xml:523: /Users/travis/src/hcatalog/lib does not exist.
      

      The directory does exist in SVN but its empty: http://svn.apache.org/viewvc/incubator/hcatalog/trunk/lib/

      The directory does not exist in the github mirror: https://github.com/apache/hcatalog

      Since the lib directory is empty can we simply remove it, along with the following lines in the "package" target?

      -    <copy todir="${dist.dir}/share/${ant.project.name}/lib" includeEmptyDirs="false">
      -      <fileset dir="${lib.dir}"/>
      -   </copy>
      

      Attaching the build.xml patch, but I'm not sure how to submit a patch to "svn rm lib" so that would need to happen at commit time.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        7m 4s 1 Travis Crawford 02/May/12 17:33
        Patch Available Patch Available Resolved Resolved
        1d 8h 32m 1 Alan Gates 04/May/12 02:06
        Resolved Resolved Closed Closed
        287d 20h 26m 1 Travis Crawford 15/Feb/13 21:33
        Travis Crawford made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Alan Gates made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.5 [ 12320147 ]
        Fix Version/s 0.4.1 [ 12320255 ]
        Resolution Fixed [ 1 ]
        Hide
        Alan Gates added a comment -

        Patch checked into 0.4 branch and trunk.

        Show
        Alan Gates added a comment - Patch checked into 0.4 branch and trunk.
        Travis Crawford made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Travis Crawford made changes -
        Field Original Value New Value
        Attachment HCATALOG-400_lib_dir_git_build_issue.diff [ 12525311 ]
        Hide
        Travis Crawford added a comment -

        This diff was generated with "git diff --no-prefix apache/trunk > HCATALOG-400_lib_dir_git_build_issue.diff" so it should apply cleanly in the SVN repo.

        The diff against trunk is also viewable at Github if that makes looking at it easier:

        https://github.com/traviscrawford/hcatalog/compare/HCATALOG-400_lib_dir_git_build_issue

        Show
        Travis Crawford added a comment - This diff was generated with "git diff --no-prefix apache/trunk > HCATALOG-400 _lib_dir_git_build_issue.diff" so it should apply cleanly in the SVN repo. The diff against trunk is also viewable at Github if that makes looking at it easier: https://github.com/traviscrawford/hcatalog/compare/HCATALOG-400_lib_dir_git_build_issue
        Travis Crawford created issue -

          People

          • Assignee:
            Travis Crawford
            Reporter:
            Travis Crawford
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development