[SOLVED] coreutils Topic 6.27 LFS 7.3 not to able to run check using user nobody
Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
coreutils Topic 6.27 LFS 7.3 not to able to run check using user nobody
============================================================
root:/sources/coreutils-8.21# su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
GEN public-submodule-commit
make check-recursive
make[1]: Entering directory `/sources/coreutils-8.21'
Making check in po
/bin/sh: line 17: cd: po: Not a directory
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-8.21'
make: *** [check] Error 2
deleted the folder coreutils-8.21 and extracted it again (did twice) compiles ok without errors but the check using 'nobody' gives error stated above ----HELP NEEDED I AM NEW IN THIS AND CURRENTLY BUILDING LFS SO THAT I CAN GO FOR EMBEDDED LINUX AFTERWARDS
Thanks in advance
root:/sources/coreutils-8.21# su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"
GEN public-submodule-commit
make check-recursive
make[1]: Entering directory `/sources/coreutils-8.21' Making check in po
/bin/sh: line 17: cd: po: Not a directory
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/sources/coreutils-8.21'
make: *** [check] Error 2
deleted the folder coreutils-8.21 and extracted it again (did twice) compiles ok without errors but the check using 'nobody' gives error stated above ----
Could it be that your downloaded coreutils package is corrupt?
Is the po directory present when you unpack coreutils? (It should be)
Quote:
HELP NEEDED I AM NEW IN THIS AND CURRENTLY BUILDING LFS SO THAT I CAN GO FOR EMBEDDED LINUX AFTERWARDS
the package is not corrupt it compiled without errors downloaded the package from the site mentioned in LFS. By the way the error occurs only when I try to test as a 'nobody' user su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" it occurred again in 6.33 Bash-4.2 when then book says to test as 'nobody' user
By the way the error occurs only when I try to test as a 'nobody' user su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check" it occurred again in 6.33 Bash-4.2 when then book says to test as 'nobody' user
Yeah I created the user at that point but I cant be sure about MD5 however I downloaded the package from the URL path that was mentioned in LFS. I have installed it and now I am installing the rest can you tell if it can cause problems in future??
Just check the correctness of the file (md5sum coreutils-8.21.tar.xz).
Quote:
I have installed it and now I am installing the rest can you tell if it can cause problems in future??
There's no way of knowing. The tests were not run so the coreutils commands might not be correct. You have a list of installed commands, if any of those are giving you problems you know something is wrong.
On the other hand: All might be functioning correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.