LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 6.7 6.20 Util-Linux-ng-2.18 Error on make. (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-6-7-6-20-util-linux-ng-2-18-error-on-make-855734/)

SoupFlies 01-11-2011 10:12 PM

LFS 6.7 6.20 Util-Linux-ng-2.18 Error on make.
 
I have been working along and have finally come an error that I am unable to solve myself. I have no clue what this error means, or how to work with it. I have tried the build 3 times just to be sure I did not mess up a command somewhere, any help, or pointers would be greatly appreciated!

Code:

make[2]: Leaving directory `/sources/util-linux-ng-2.18/misc-utils'
Making all in po
make[2]: Entering directory `/sources/util-linux-ng-2.18/po'
test -z "ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo hu.gmo id.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo" || make ca.gmo cs.gmo da.gmo de.gmo es.gmo et.gmo eu.gmo fi.gmo fr.gmo hu.gmo id.gmo it.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo
make[3]: Entering directory `/sources/util-linux-ng-2.18/po'
rm -f cs.gmo && : -c --statistics -o cs.gmo cs.po
: --update ca.po util-linux-ng.pot
rm -f da.gmo && : -c --statistics -o da.gmo da.po
: --update de.po util-linux-ng.pot
mv: cannot stat `t-da.gmo': No such file or directory
make[3]: *** [da.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv: cannot stat `t-cs.gmo': No such file or directory
make[3]: *** [cs.gmo] Error 1
: --update et.po util-linux-ng.pot
rm -f es.gmo && : -c --statistics -o es.gmo es.po
mv: cannot stat `t-es.gmo': No such file or directory
make[3]: *** [es.gmo] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/util-linux-ng-2.18'
make: *** [all] Error 2


druuna 01-12-2011 01:44 AM

Hi,

Haven't seen this one before.

This line looks out of place: make[3]: *** Waiting for unfinished jobs....

Are you setting the CFLAGS and CXXFLAGS options or, more probable, a MAKEFLAGS="-j X" option where X is larger then 2? If so unset CFLAGS and CXXFLAGS and set MAKEFLAGS to -j 2.

Hope this helps.

SoupFlies 01-13-2011 02:32 AM

Well that did help a little, I didn't realize I had set my flags to 4 (tired mistake I suppose) But I still receive an error much like the original, yet still quite different, I hope you can shed a little light on this guy, it seems to be a little bit more clean.
Code:

make[3]: Entering directory `/sources/util-linux-ng-2.18/po'
: --update ca.po util-linux-ng.pot
rm -f ca.gmo && : -c --statistics -o ca.gmo ca.po
mv: cannot stat `t-ca.gmo': No such file or directory
make[3]: *** [ca.gmo] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[2]: *** [stamp-po] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.18/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/util-linux-ng-2.18'
make: *** [all] Error 2


druuna 01-13-2011 02:44 AM

Hi,

Did you fully remove the util-linux-ng-2.18 directory before your retry?

Also: I just noticed you had another problem and I'm not sure if that one was fixed. I really doubt if the stated solution (post #2 of that thread) works. In general: If you have to change the commands in the book (or have to add other commands) to make it work: Something is wrong!

Hope this helps.

EDDY1 01-13-2011 02:55 AM

t-ca.gmo'

It seems that everything is refering to "gettext"
gettext run time

http://forum.videolan.org/viewtopic....=12446&start=0
http://www.mail-archive.com/fink-beg.../msg20606.html
http://news.gmane.org/group/gmane.os...ion=--Action--

crts 01-13-2011 03:16 AM

Hi,

EDDY is probably right. I very faintly remember running into a similar problems. IIRC then it was a problem with gettext package that somehow was not properly installed in my toolchain.
You should check your toolchain if this package is correctly installed.

SoupFlies 01-13-2011 04:44 AM

Well I am quite unsure of exactly what to do then, I found gettext on page 83 and I figured I could install it as per the instructions? But I am unsure if this is the correct route. Could I please get some guidance in the route to take?

crts 01-13-2011 05:00 AM

Quote:

Originally Posted by SoupFlies (Post 4222724)
Well I am quite unsure of exactly what to do then, I found gettext on page 83 and I figured I could install it as per the instructions? But I am unsure if this is the correct route. Could I please get some guidance in the route to take?

Ok,

it has been a while since I had to troubleshoot a messed up toolchain. So let's take small steps. First of all, post which host system you are using. If you are using the liveCD then you will have to recreate user lfs first.

[EDIT]
It is very important that you make a backup of your toolchain first, just in case something goes wrong. After that you can recreate user lfs and then change owner of $LFS/tools to user lfs.

On second thoughts, it should be possible to simply install gettext right now. All the dependencies should be satisfied by the toolchain.

SoupFlies 01-13-2011 06:13 AM

so just fully install gettext without any configure, is that what you mean?

crts 01-13-2011 08:28 AM

Quote:

Originally Posted by SoupFlies (Post 4222794)
so just fully install gettext without any configure, is that what you mean?

I mean to install it in the chrooted environment, not correcting the toolchain. According to this
http://www.linuxfromscratch.org/lfs/...endencies.html

it should be ok. Correcting a corrupted toolchain is not a trivial task. So I would try to install gettext first and leave the toolchain "broken". If gettext installs on the system ok there won't be any need to have it in the toolchain, too. However, I have never tried it. Both options yield risks. Worst case scenario you will have to start building your toolchain from scratch.


All times are GMT -5. The time now is 06:47 AM.