From c0d118f41a3a66ab76a553f184efe431524b952d Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 5 Dec 2019 06:17:16 +0100 Subject: 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit v1.2.3