diff options
author | Jun Aruga <junaruga@users.noreply.github.com> | 2019-12-05 06:17:16 +0100 |
---|---|---|
committer | NARUSE, Yui <nurse@users.noreply.github.com> | 2019-12-05 14:17:16 +0900 |
commit | c0d118f41a3a66ab76a553f184efe431524b952d (patch) | |
tree | b7b06923dacef76c01169d2b9d2cc103675255bd /.travis.yml | |
parent | ed5d032ea33a465fd7152a236a4aca0ff5653bf3 (diff) | |
download | ruby-c0d118f41a3a66ab76a553f184efe431524b952d.tar.gz |
Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
This issue happened when `libc.so` and `libm.so` path were not found
and `ldd ruby` command also failed to print the shared dependencies
in `test/fiddle/helper.rb`.
See https://travis-ci.org/ruby/ruby/jobs/611483288#L3018
/home/travis/build/ruby/ruby/build/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)
* Set libc6:armhf as a installing dependency explicitly.
* Remove arm32 from allow_failures.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3acb0d4c43..cd8e513132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -304,6 +304,7 @@ env: tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \ ccache \ crossbuild-essential-armhf \ + libc6:armhf \ libstdc++-5-dev:armhf \ libffi-dev:armhf \ libffi6:armhf \ @@ -432,7 +433,6 @@ matrix: - <<: *CALL_THREADED_CODE - <<: *NO_THREADED_CODE allow_failures: - - name: arm32-linux - name: -fsanitize=address - name: -fsanitize=memory - name: -fsanitize=undefined |