moses
moses copied to clipboard
Build, or test failures when using ubuntu:18.04 docker image
After updating opencog/opencog-deps:latest
to ubuntu:18.04 and make python3 the default python version, I get
- Test failure = https://circleci.com/gh/opencog/moses/113
- Build failure = https://circleci.com/gh/opencog/cogutil/354
@ngeiswei Do you have any clue why this may be?
I don't think I've ever used Ubuntu 18.04, will install it on a mv and see.
@AmeBel, are you using using a specific ocpkg command to build moses etc?
I haven't tested it recently but octool has -m
option see https://github.com/opencog/docker/blob/master/opencog/moses/Dockerfile
@AmeBel , I tried on Ubuntu 18.04 and I'm not getting any of these errors.
@AmeBel , @stellarspot experienced build failure similar to https://circleci.com/gh/opencog/cogutil/354 it looks like "out of memory" error. @stellarspot, could you please comment.
The message "c++: internal compiler error: Killed (program cc1plus)" in the cogutil CircleCI build could mean that there are no enough memory or swap space on the system and it randomly kills processes to make more space.
I was able to fix that just switch makes jobs to 2 during moses and as-moses building:
- run:
name: Build
command: cd build && make -j2
cogutil/.circleci/config.yml#L109 cogutil/.circleci/config.yml#L145
Here is the pull request for "c++: internal compiler error: Killed (program cc1plus)" error: https://github.com/opencog/cogutil/pull/180