[
https://issues.apache.org/jira/browse/HAWQ-1503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16087470#comment-16087470
]
Shubham Sharma commented on HAWQ-1503:
--------------------------------------
Submitting PR shortly.
> Failure building on centos-6 using dockerfile present under
> incubator-hawq/contrib/hawq-docker/centos6-docker/hawq-dev
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: HAWQ-1503
> URL: https://issues.apache.org/jira/browse/HAWQ-1503
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Build
> Reporter: Shubham Sharma
> Assignee: Radar Lei
> Priority: Minor
>
> Using build instructions from
> [repo|https://github.com/apache/incubator-hawq/tree/master/contrib/hawq-docker]
> 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.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)