LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-29-2019, 09:47 PM   #1
sxy
Member
 
Registered: Aug 2019
Posts: 43

Rep: Reputation: Disabled
LFS-9.0 FAIL: run-elfclassify.sh (6.48. Libelf from Elfutils-0.177)


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
 
Old 09-30-2019, 05:04 PM   #2
Ganome
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Rep: Reputation: Disabled
Same Issue

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
============================================================================
Is it safe to proceed with installation?
I had the six failures of "get_time" as expected when checking GCC. Other than that, i have actually had less failures that the book expects. My build environment has been "KNOPPIX_V8.6-2019-08-08-EN.iso" and building the LFS 9.0 SystemD developmental release

Last edited by Ganome; 09-30-2019 at 08:06 PM.
 
Old 10-01-2019, 06:12 PM   #3
Ganome
LQ Newbie
 
Registered: Sep 2019
Posts: 2

Rep: Reputation: Disabled
SUCCESS!!!

I went against my better judgement, and continued installing Linux from scratch after the libelf error. I had a couple errors that were not listed in the book, but everything went flawlessly. System booted. Now to try and figure out network drivers because I have no network card after reboot.
 
Old 10-02-2019, 08:07 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
As a general rule one unexpected failure means nothing. A string of them means you have a problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM
elfutils-libelf-devel-0.97.1-5 for centOS threezerous Linux - Newbie 4 09-15-2012 07:07 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
prelink,elfutils,winex,slack,error=21 and all that jazz SticklerThe1st Slackware 7 11-26-2004 08:01 AM
RPM errors trying to apply "elfutils" upgrade louisb Linux - Software 1 03-07-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration