Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1210

Can't build ZooKeeper RPM with RPM >= 4.6.0 (i.e. on RHEL 6 and Fedora >= 10)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.3.6, 3.4.4
    • Component/s: build
    • Labels:
    • Environment:

      Tested to fail on both Centos 6.0 and Fedora 14

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Fix buildroot misplacement on systems with RPM>=4.6. Earlier RPM versions support --buildroot commandline flag, so this doesn't break anything on older systems.
    • Tags:
      rpm ant

      Description

      I was trying to build the zookeeper RPM (basically, `ant rpm -Dskip.contrib=1`), using build scripts that were recently merged from the work on the ZOOKEEPER-999 issue.

      The final stage, i.e. running rpmbuild failed. From what I understand it mixed BUILD and BUILDROOT subdirectories in /tmp/zookeeper_package_build_tkadlubo/, leaving BUILDROOT empty, and placing everything in BUILD.

      The full build log is at http://pastebin.com/0ZvUAKJt (Caution: I cut out long file listings from running tar -xvvf).

        Attachments

        1. rpm_buildroot_on_RHEL6.patch
          2 kB
          Tadeusz Andrzej Kadłubowski
        2. rpm_buildroot_on_RHEL6.patch
          2 kB
          Tadeusz Andrzej Kadłubowski
        3. rpm_buildroot_on_RHEL6.patch
          2 kB
          Tadeusz Andrzej Kadłubowski

          Activity

            People

            • Assignee:
              tkadlubo Tadeusz Andrzej Kadłubowski
              Reporter:
              tkadlubo Tadeusz Andrzej Kadłubowski
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: