Hi,
I'm building an LFS system following the 9.0 book (host: Slackware64-current). The run-elfclassify.sh test failed in section
6.48. Libelf from Elfutils-0.177. I've issued each command correctly and former tests were all fine (my GCC test returned an error in the end which is almost exactly the same to
this one, so I guess it's ok, as suggested in that post). I've tried 'make' and 'make check' with '-j5' and then '-j1', same results.
Test summary(PASS'es suppressed):
Code:
......
......
......
FAIL: run-elfclassify.sh
......
......
......
============================================================================
Testsuite summary for elfutils 0.177
============================================================================
# TOTAL: 213
# PASS: 208
# SKIP: 4
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://sourceware.org/bugzilla
============================================================================
make[3]: *** [Makefile:2319: test-suite.log] Error 1
make[2]: *** [Makefile:2427: check-TESTS] Error 2
make[1]: *** [Makefile:3985: check-am] Error 2
make: *** [Makefile:486: check-recursive] Error 1
The test-suite.log:
Code:
==========================================
elfutils 0.177: tests/test-suite.log
==========================================
# TOTAL: 213
# PASS: 208
# SKIP: 4
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: run-backtrace-native-biarch.sh
====================================
biarch testing disabled
SKIP run-backtrace-native-biarch.sh (exit status: 77)
SKIP: run-backtrace-native-core.sh
==================================
./backtrace-subr.sh: line 151: flock: command not found
SKIP run-backtrace-native-core.sh (exit status: 77)
SKIP: run-backtrace-native-core-biarch.sh
=========================================
biarch testing disabled
SKIP run-backtrace-native-core-biarch.sh (exit status: 77)
SKIP: run-lfs-symbols.sh
========================
LFS testing is irrelevent on this system
SKIP run-lfs-symbols.sh (exit status: 77)
FAIL: run-elfclassify.sh
========================
elfclassify --core
core files are not programs
core files are not shared
core files are not kernel-modules
core files are not debug-only
elfclassify --elf-file
object files are not archives
object files are not core files
object files are not program files
object files are not shared files
object files are not kernel modules
object files are not debug-only files
elfclassify --elf-archive
archives are not elf-files
archives are not core files
archives are not program files
archives are not shared files
elfclassify --shared
shared files are loadable
shared files are not executables
shared files are not debug-only
shared files are not kernel modules
elfclassify --program
programs are executables (in this case)
programs are not shared libraries (in this case)
programs are not kernel-modules
programs are not debug-only
elfclassify --linux-kernel-module
kmods are unstripped
kmods are not debug-only
kmods are not loabable (in the normal sense)
gnu compressed kmods are unstripped
/sources/elfutils-0.177/src/elfcompress: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory
FAIL run-elfclassify.sh (exit status: 127)
Test-suite.log indicates a missing libelf.so.1? But I did find that file in the building directory:
Code:
(lfs chroot) root:/sources/elfutils-0.177# find -name libelf.so.1
./libelf/libelf.so.1
What would be a cause of this fail? What additional information should I provide?
Thanks for help.
-
Regards,
sxy