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 05-15-2019, 03:14 PM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Can someone explain what is going wrong with these tests of acl-2.2.53?


in LFS, acl and atr are built before coreutils, but the acl build can only be tested after coreutils has been built with acl support.

I know the tests are not very important but I am going crazy trying to explain my test results. Six tests fail in the same way:
Code:
awk: error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory != -rw-rw-r--+
Here is the context taken from the test log:
Code:
[4] $ mkdir d -- ok
[5] $ cd d -- ok
[6] $ touch f -- ok
[7] $ setfacl -m u:bin:rw f -- ok
[8] $ ls -l f | awk -- '{ print $1 }' -- failed
awk: error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory != -rw-rw-r--+
ls: write error: Broken pipe          != ~
libattr.so.1 is in fact in fact in /lib where it should be.
Code:
lrwxrwxrwx 1 root root 19 May 15 18:48 /lib/libattr.so.1 -> libattr.so.1.1.2448.
I have gone through the steps indicated in the test log by hand and get the desired result -rw-rw-r--+. So what is going wrong? It should be something simple but damned if I can find it.
 
Old 05-16-2019, 03:02 AM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Since the recent updates to those two packages, ACL now requires Gawk and Diffutils to complete the checks, run it after that. You may have to configure/make again because I am not sure if the test suite requires just the utilities or the various .so installed by Gawk.

There's lots of stuff in the books that hasn't been updated. I'd send them stuff but their mailing list has never accepted any message I sent them. (In the LFS book alone: grub needs patches, especially if using UEFI, groff can now be built in parallel and has a working test suite, I still build check in chapter 5 and just add LD_LIBRARY_PATH=/tools/lib to the KBD and Libpipeline 'make check' steps, etc. etc. There's much more, I have a text file full of fixes and updates.)

Last edited by Luridis; 05-16-2019 at 03:06 AM.
 
1 members found this post helpful.
Old 05-16-2019, 06:32 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574

Original Poster
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Quote:
Originally Posted by Luridis View Post
Since the recent updates to those two packages, ACL now requires Gawk and Diffutils to complete the checks, run it after that. You may have to configure/make again because I am not sure if the test suite requires just the utilities or the various .so installed by Gawk.
Yes, that fixed it. No need to rebuild acl either; it works from the existing build once gawk is there. Thank you very much! But why wasn't /tools/bin/gawk (which is built after all from the same tarball) good enough? /usr/bin/gawk has some extra libraries linked in but libattr is not one of them. I'd still love an explanation.

Last edited by hazel; 05-16-2019 at 06:36 AM.
 
  


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] Can someone please explain these odd features in synaptic in AntiX? hazel Linux - Distributions 7 12-02-2016 08:23 AM
Can someone explain what is wrong with my BIOS? xGleesh Linux - Newbie 10 06-02-2014 07:21 AM
Can someone explain a bit about these ssl prompts? bangshws Linux - Server 1 10-17-2011 04:20 PM
Can someone explain these log lines to me? Skillz Linux - Software 1 02-20-2010 04:57 AM
no help needed but can someone explain whats going on with Ghost ... keratos Linux - Laptop and Netbook 4 01-23-2009 03:06 AM

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

All times are GMT -5. The time now is 06:41 PM.

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