| Summary: | dev-ruby/ffi-1.9.3 src_test() ignores CC, CFLAGS, uses ccache without asking nicely - build/libtest/BoolTest.o: file not recognized: File format is ambiguous | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
| Component: | [OLD] Development | Assignee: | Gentoo Ruby Team <ruby> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | TESTFAILURE |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | HPPA | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | dev-ruby:ffi-1.9.3:20140606-170214.log | ||
|
Description
Jeroen Roovers (RETIRED)
2014-06-06 17:18:08 UTC
07 Jun 2014; Hans de Graaff <graaff@gentoo.org> ffi-1.9.3.ebuild: Respect CC, CFLAGS, LDFLAGS for tests. Don't automatically enable ccache. Hopefully fixes build issues for hppa, bug 512610. I don't know if this fixes hppa as well. It's a handcrafted makefile that contains sections for various OSses, but hppa is not included there. > build/libtest/BoolTest.o: file not recognized: File format is ambiguous > build/libtest/BoolTest.o: matching formats: elf64-little elf64-x86-64-nacl elf64-x86-64-sol2 elf64-x86-64 > collect2: error: ld returned 1 exit status If this is something that is normally fixed with FLAGS on hppa than I believe we should be good to go. Otherwise the makefile will need to be tweaked further. (In reply to Hans de Graaff from comment #1) > 07 Jun 2014; Hans de Graaff <graaff@gentoo.org> ffi-1.9.3.ebuild: > Respect CC, CFLAGS, LDFLAGS for tests. Don't automatically enable ccache. > Hopefully fixes build issues for hppa, bug 512610. > I don't know if this fixes hppa as well. It's a handcrafted makefile that > contains sections for various OSses, but hppa is not included there. If you mean libtest/GNUMakefile, that merely establishes the word size for a few architectures. Apparently it guesses right because with those fixes, the test suite succeeds entirely. > > build/libtest/BoolTest.o: file not recognized: File format is ambiguous > > build/libtest/BoolTest.o: matching formats: elf64-little elf64-x86-64-nacl elf64-x86-64-sol2 elf64-x86-64 > > collect2: error: ld returned 1 exit status And these are gone, too. Thanks. |