Fix Centos CI build
- Jun 16, 2020
-
-
Cédric Traizet authored
-
This merge request fixes the CentOS CI build.
Centos CI builds were broken for several reasons :
devtoolset-6
is not available in yum anymore (it was deprecated) see this CI job. The dockerfile has been modified to use devtoolset-7
.centos-release-scl
. See this job. I'm not sure why, note that the git package from yum official repo is not used because the version is too low (1.7) for git-lfs. The solution chosed is to compile git from sources in the dockerfile. Another solution would have been to use another repo, but I could not find an official repo with a recent git and didn't want to use an unofficial one.libgssapi_krb5
see this log . However this is a system library, available on the base Centos 6.6 image, and it is not in the search path of otb when looking for libraries to package. The solution is to add libgssapi_krb5
to the list of possible system libraries for Linux packages. However I don't understant why this problem was not present in old centos CI builds, but this is hard to test now...This Merge Request only concerns the last point of this list. See the otb-build-env project for the docker related changes.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commit