Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build, or test failures when using ubuntu:18.04 docker image #90

Open
amebel opened this issue Jul 9, 2019 · 6 comments
Open

Build, or test failures when using ubuntu:18.04 docker image #90

amebel opened this issue Jul 9, 2019 · 6 comments

Comments

@amebel
Copy link
Contributor

amebel commented Jul 9, 2019

After updating opencog/opencog-deps:latest to ubuntu:18.04 and make python3 the default python version, I get

@ngeiswei Do you have any clue why this may be?

@ngeiswei
Copy link
Member

ngeiswei commented Jul 9, 2019

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?

@amebel
Copy link
Contributor Author

amebel commented Jul 9, 2019

I haven't tested it recently but octool has -m option see https://github.com/opencog/docker/blob/master/opencog/moses/Dockerfile

@ngeiswei
Copy link
Member

@amebel , I tried on Ubuntu 18.04 and I'm not getting any of these errors.

@vsbogd
Copy link
Contributor

vsbogd commented Jul 10, 2019

@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.

@stellarspot
Copy link

stellarspot commented Jul 10, 2019

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

@stellarspot
Copy link

Here is the pull request for "c++: internal compiler error: Killed (program cc1plus)" error:
opencog/cogutil#180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants