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

Travis build errors #4640

Closed
Majkl578 opened this issue Jan 13, 2015 · 6 comments
Closed

Travis build errors #4640

Majkl578 opened this issue Jan 13, 2015 · 6 comments
Labels

Comments

@Majkl578
Copy link
Contributor

There is a lot of borked builds for PRs on Travis (https://travis-ci.org/facebook/hhvm/pull_requests), e.g.:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [hphp/compiler/CMakeFiles/hphp_analysis.dir/package.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs...
@paulbiss paulbiss added the build label Jan 13, 2015
@wjywbs
Copy link
Contributor

wjywbs commented Jan 14, 2015

How about changing time make -j 6 to time make -j 6 || time make -j 6 in .travis.yml? So it can try to build again. Decreasing the job numbers in the 2nd try may also help.

@ghost
Copy link

ghost commented Jan 14, 2015

maybe it ran out of memory? that's the same error i'd get before i setup a swap file on my vm.

@denji
Copy link
Contributor

denji commented Jan 22, 2015

@jrobeson travis disabled by default swap, so he immediately after memory leaks crashed!
travis-ci/travis-ci#1972 (comment)

Alas travis does not provide a machine of ubuntu 14.04 with more fresh toolkit (lose some opportunities laying, and more stable components)..

builds have 3 GB of memory available
http://docs.travis-ci.com/user/ci-environment/#The-Build-Machine

sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

g++ .....

sudo swapoff /swapfile
sudo rm /swapfile

@jwatzman
Copy link
Contributor

@paulbiss @sgolemon why do we even still have the travis config? It's consistently broken and we ignore it anyways. Should we just remove it?

@denji
Copy link
Contributor

denji commented Jan 22, 2015

@jwatzman It would be better if fb has offered its version of travis to check the pull request and live migration.

@ghost
Copy link

ghost commented Mar 21, 2015

the travis configuration has been dropped from HHVM as of 658ca01 so this issue should be closed

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

No branches or pull requests

5 participants