patchelf
patchelf copied to clipboard
Android/Termux: make check failing
When trying to compile from source, running make check has tests that are failing
Steps To Reproduce
- open termux on an android phone
- follow compilation instructions in this repo's readme
Expected Behaviour Tests shouldn't fail. They should either pass or be skipped.
Git commit 769337c227799aa60911562b6940530f4a86eb3c
Additional context Output:
Making check in src
make[1]: Entering directory '/data/data/com.termux/files/home/patchelf/src'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/data/data/com.termux/files/home/patchelf/src'
Making check in tests
make[1]: Entering directory '/data/data/com.termux/files/home/patchelf/tests'
make simple-pie simple simple-execstack main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libsimple-execstack.so libbuildid.so libtoomanystrtab.so phdr-corruption.so many-syms-main libmany-syms.so liboveralign.so libshared-rpath.so libbig-dynstr.debug
make[2]: Entering directory '/data/data/com.termux/files/home/patchelf/tests'
make[2]: 'simple-pie' is up to date.
make[2]: 'simple' is up to date.
make[2]: 'simple-execstack' is up to date.
make[2]: 'main' is up to date.
make[2]: 'too-many-strtab' is up to date.
make[2]: 'main-scoped' is up to date. make[2]: 'big-dynstr' is up to date.
make[2]: 'no-rpath' is up to date. make[2]: 'contiguous-note-sections' is up to date.
make[2]: 'libfoo.so' is up to date.
make[2]: 'libfoo-scoped.so' is up to date.
make[2]: 'libbar.so' is up to date. make[2]: 'libbar-scoped.so' is up to date.
make[2]: 'libsimple.so' is up to date.
make[2]: 'libsimple-execstack.so' is up to date.
make[2]: 'libbuildid.so' is up to date.
make[2]: 'libtoomanystrtab.so' is up to date.
make[2]: 'phdr-corruption.so' is up to date.
make[2]: 'many-syms-main' is up to date.
make[2]: 'libmany-syms.so' is up to date.
make[2]: 'liboveralign.so' is up to date.
make[2]: 'libshared-rpath.so' is up to date.
only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug
make[2]: only-keep-debug: No such file or directory
make[2]: [Makefile:1849: libbig-dynstr.debug] Error 127 (ignored)
make[2]: Leaving directory '/data/data/com.termux/files/home/patchelf/tests'
make check-TESTS
make[2]: Entering directory '/data/data/com.termux/files/home/patchelf/tests'
only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug
make[2]: only-keep-debug: No such file or directory
make[2]: [Makefile:1849: libbig-dynstr.debug] Error 127 (ignored)
make[3]: Entering directory '/data/data/com.termux/files/home/patchelf/tests'
PASS: plain-fail.sh
PASS: plain-run.sh
PASS: shrink-rpath.sh
PASS: set-interpreter-short.sh
FAIL: set-interpreter-long.sh
FAIL: set-rpath.sh
FAIL: add-rpath.sh
FAIL: no-rpath.sh
FAIL: big-dynstr.sh
FAIL: set-rpath-library.sh
PASS: soname.sh
PASS: shrink-rpath-with-allowed-prefixes.sh
SKIP: set-rpath-rel-map.sh
PASS: force-rpath.sh
PASS: plain-needed.sh
FAIL: output-flag.sh
PASS: too-many-strtab.sh
FAIL: no-rpath-pie-powerpc.sh
FAIL: build-id.sh
PASS: invalid-elf.sh
PASS: endianness.sh
PASS: contiguous-note-sections.sh
FAIL: no-gnu-hash.sh
PASS: change-abi.sh
PASS: grow-file.sh
FAIL: no-dynamic-section.sh
PASS: args-from-file.sh
PASS: basic-flags.sh
PASS: set-empty-rpath.sh
FAIL: phdr-corruption.sh
FAIL: replace-needed.sh
PASS: replace-add-needed.sh
FAIL: add-debug-tag.sh
FAIL: repeated-updates.sh
PASS: empty-note.sh
PASS: print-execstack.sh
PASS: modify-execstack.sh
PASS: rename-dynamic-symbols.sh
PASS: overlapping-segments-after-rounding.sh
FAIL: shared-rpath.sh
SKIP: short-first-segment.sh
PASS: set-interpreter-same.sh
PASS: no-rpath-alpha.sh
PASS: no-rpath-amd64.sh
PASS: no-rpath-armel.sh
PASS: no-rpath-armhf.sh
PASS: no-rpath-hurd-i386.sh
PASS: no-rpath-i386.sh
PASS: no-rpath-ia64.sh
PASS: no-rpath-kfreebsd-amd64.sh
PASS: no-rpath-kfreebsd-i386.sh
PASS: no-rpath-mips.sh
PASS: no-rpath-mipsel.sh
PASS: no-rpath-powerpc.sh
PASS: no-rpath-s390.sh
PASS: no-rpath-sh4.sh
PASS: no-rpath-sparc.sh
============================================================================
Testsuite summary for patchelf 0.18.0
============================================================================
# TOTAL: 58
# PASS: 40
# SKIP: 2
# XFAIL: 0
# FAIL: 16
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log for debugging.
============================================================================
make[3]: *** [Makefile:1081: test-suite.log] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/home/patchelf/tests'
make[2]: *** [Makefile:1216: check-TESTS] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/home/patchelf/tests'
make[1]: *** [Makefile:1680: check-am] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/patchelf/tests'
make: *** [Makefile:479: check-recursive] Error 1