Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.0.0
    • Component/s: hue
    • Labels:
      None

      Description

      Compile fails with

              -----------------------------------------------------------------------------------------------------------------
              If on Ubuntu 14.04 Trusty, you might be hitting https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1115466.
      
              Recommended workaround:
              sudo ln -s /usr/lib/python2.7/plat-*/_sysconfigdata_nd.py /usr/lib/python2.7/
      
              More information:
              http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/
              -----------------------------------------------------------------------------------------------------------------
      

      we might need to fix this in puppet

        Issue Links

          Activity

          Hide
          rvs Roman Shaposhnik added a comment -

          I would really like to workaround this in do-component-build, rather than changing the toolchain

          Show
          rvs Roman Shaposhnik added a comment - I would really like to workaround this in do-component-build, rather than changing the toolchain
          Hide
          oflebbe Olaf Flebbe added a comment -

          I agree, I do not like this work around, too.

          I already did some research on this issue , which turned out to be a really tough one. Will try to dig in it again to get a different more reasonable solution.

          Show
          oflebbe Olaf Flebbe added a comment - I agree, I do not like this work around, too. I already did some research on this issue , which turned out to be a really tough one. Will try to dig in it again to get a different more reasonable solution.
          Hide
          oflebbe Olaf Flebbe added a comment -

          Ok, Problem seems that virtualenv supplied by hue is too old. Looking into ways to upgrade it without too much collateral damages.

          Show
          oflebbe Olaf Flebbe added a comment - Ok, Problem seems that virtualenv supplied by hue is too old. Looking into ways to upgrade it without too much collateral damages.
          Hide
          oflebbe Olaf Flebbe added a comment -

          Upgrading to current virtualenv works if,

          • ctypes is removed from hue (supplied by python in a more recent version)
          • the workaround in virtualenv "fix_local_scheme" is disabled
          • and a tiny fix to app_reg/build.py

          Trying to upstream this.

          Show
          oflebbe Olaf Flebbe added a comment - Upgrading to current virtualenv works if, ctypes is removed from hue (supplied by python in a more recent version) the workaround in virtualenv "fix_local_scheme" is disabled and a tiny fix to app_reg/build.py Trying to upstream this.
          Show
          oflebbe Olaf Flebbe added a comment - Upstream bug is https://issues.cloudera.org/browse/HUE-2654 Pull request is https://github.com/cloudera/hue/pull/164
          Show
          oflebbe Olaf Flebbe added a comment - Pull request merged! https://github.com/cloudera/hue/commit/2bbdd91e27cac9ab79e193dc4ad18d0647ae0048
          Hide
          oflebbe Olaf Flebbe added a comment -

          This is essentially the cherry-pick from upstream hue.

          Please review.

          Show
          oflebbe Olaf Flebbe added a comment - This is essentially the cherry-pick from upstream hue. Please review.
          Hide
          oflebbe Olaf Flebbe added a comment -

          Roman Shaposhnik :Is it possible for you to review?

          Show
          oflebbe Olaf Flebbe added a comment - Roman Shaposhnik :Is it possible for you to review?
          Hide
          warwithin YoungWoo Kim added a comment -

          +1, With an attached patch, building deb and rpm packages works fine on my trusty64 and fedora. I do not test installing pkgs and checking apps on UI by my hand. Olaf Flebbe, if you've done a sanity check, Please commit it. Thanks!

          Show
          warwithin YoungWoo Kim added a comment - +1, With an attached patch, building deb and rpm packages works fine on my trusty64 and fedora. I do not test installing pkgs and checking apps on UI by my hand. Olaf Flebbe , if you've done a sanity check, Please commit it. Thanks!
          Hide
          oflebbe Olaf Flebbe added a comment -

          YoungWoo Kim : Thanks for reviewing! Yes I did already a sanity check...

          Show
          oflebbe Olaf Flebbe added a comment - YoungWoo Kim : Thanks for reviewing! Yes I did already a sanity check...

            People

            • Assignee:
              oflebbe Olaf Flebbe
              Reporter:
              oflebbe Olaf Flebbe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development