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

bin/ci build fails on travis CI 64-bit Linux #5457

Closed
straight-shoota opened this issue Dec 26, 2017 · 0 comments
Closed

bin/ci build fails on travis CI 64-bit Linux #5457

straight-shoota opened this issue Dec 26, 2017 · 0 comments
Milestone

Comments

@straight-shoota
Copy link
Member

bin/ci build fails on travis CI 64-bit Linux, it seems like it is missing libgc.

CRYSTAL_CONFIG_PATH=`pwd`/src ./bin/crystal build  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
./bin/crystal build  -o .build/std_spec spec/std_spec.cr
Using compiled compiler at `.build/crystal'
/usr/bin/ld: cannot find -lgc
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o '/mnt/.build/std_spec'  -rdynamic  -lyaml `/usr/bin/llvm-config-3.8 --libs --system-libs --ldflags 2> /dev/null` -lstdc++ `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lreadline -lgmp -lz -lxml2 -lpcre -lm -lgc -lpthread /mnt/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`
Makefile:109: recipe for target '.build/std_spec' failed
make: *** [.build/std_spec] Error 1
on_os linux docker run --rm -t -u 2000 -v /home/travis/build/crystal-lang/crystal:/mnt -w /mnt -e LIBRARY_PATH=/opt/crystal/embedded/lib/ -e CRYSTAL_CACHE_DIR=/tmp/crystal jhass/crystal-build-x86_64 linux64 /bin/bash -c 'make crystal std_spec compiler_spec docs' exited with 2

Full travis log

This is not a singular incident but happens across several PRs (another example).

Builds on 32-bit Linux as well as Mac OS builds on Circle-CI are not affected.

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

3 participants