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)

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.3.6, 3.4.4
    • build
    • Tested to fail on both Centos 6.0 and Fedora 14

    • Reviewed
    • 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.
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment