[LFS Trac] #2351: Bash-4.0

LFS Trac trac at linuxfromscratch.org
Sun Feb 22 12:24:07 MST 2009


#2351: Bash-4.0
------------------------------------------+---------------------------------
 Reporter:  matthew@…                     |       Owner:  lfs-book@…                   
     Type:  enhancement                   |      Status:  new                          
 Priority:  normal                        |   Milestone:  7.0                          
Component:  Book                          |     Version:  SVN                          
 Severity:  normal                        |    Keywords:                               
------------------------------------------+---------------------------------

Comment(by matthew@…):

 This appears to affect both libtool's and automake's test results.
 Libtool's failure appears to be because, at that point, its tests are
 invoked via /tools/bin/bash.  When it tries to do 'LC_ALL=de_DE' it fails
 with:

 {{{
 bash: warning: setlocale: LC_ALL: cannot change locale  (de_DE): No such
 file or directory.
 }}}

 I've worked around this in my current builds by moving readline and bash
 to just before libtool so that bash is linked against /lib/libc.so.6,
 which has the locales installed, as opposed to /tools/lib/libc.so.6, which
 doesn't.

 I'd appreciate it if someone could confirm the workaroud is the right fix,
 or whether this appears to be an undesired change in Bash-4.0.

 As for the automake test, I can't figure out what the failing test,
 check10.test, is actually trying to do.  If someone could distill this
 into a simple (to invoke) shell script please, I'll see if I can figure
 out why bash-4.0 apparently isn't playing nicely.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2351#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.


More information about the lfs-book mailing list