Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1503

Failure building on centos-6 using dockerfile present under incubator-hawq/contrib/hawq-docker/centos6-docker/hawq-dev

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0.0-incubating
    • Component/s: Build
    • Labels:
      None

      Description

      Using build instructions from repo make build fails while building images for centos6.
      From the error it looks like the ftp link, which dockerfile uses to upgrade gcc etc. no longer exists.

      curl: (22) The requested URL returned error: 404 Not Found
      error: http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern: import read failed(2).
      The command '/bin/sh -c wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo &&  rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern &&  yum install -y devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ &&  echo "source /opt/rh/devtoolset-2/enable" >> ~/.bashrc &&  source ~/.bashrc' returned a non-zero code: 1
      make[1]: *** [build-hawq-dev-centos6] Error 1
      make: *** [build] Error 2
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rlei Radar Da Lei
                Reporter:
                outofmemory Shubham Sharma
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: