Travis build errors #4640

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

Comments

Projects
None yet
6 participants
Contributor

Majkl578 commented Jan 13, 2015

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

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.

Contributor

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

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
Member

jwatzman commented Jan 22, 2015

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

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.

@est31 est31 referenced this issue in minetest/minetest Mar 7, 2015

Closed

Add Android Travis build #2453

Contributor

jrobeson commented Mar 21, 2015

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

@paulbiss paulbiss closed this Mar 21, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment