[ruby-cvs:78507] c0d118f41a (master): Fix "cannot find the function: strcpy()" error on arm32 on Travis CI. (#2686)
"Jun Aruga" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Jun Aruga 2019-12-05 14:17:16 +0900 (Thu, 05 Dec 2019)
New Revision: c0d118f41a
https://github.com/ruby/ruby/commit/c0d118f41a
Log:
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.
Modified files:
.travis.yml
test/fiddle/helper.rb