#1962: Glibc fails to build using dash
------------------------------------------+---------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  [email protected]
     Type:  defect                        |      Status:  new                   
       
 Priority:  normal                        |   Milestone:  6.3                   
       
Component:  Book                          |     Version:  SVN                   
       
 Severity:  normal                        |    Keywords:                        
       
------------------------------------------+---------------------------------
 Ubuntu is now linking /bin/sh to /bin/dash rather than bash.  This causes
 the building of Glibc in chapter 5 to fail as detailed in the thread at
 http://www.linuxfromscratch.org/pipermail/lfs-
 support/2007-February/032550.html.

 It looks as though we've got 3 options:

 1) Issue `make SHELL=/bin/bash' in chapter 5's Glibc
 2) Document this requirement explicitly in the host requirements section.
 If folks end up on lfs-support complaining that Glibc didn't build right
 and they're not using bash we just quote from Mr. Drepper!
 3) Investigate exactly what is causing issues with Glibc's builds with
 dash.  Is it that Glibc is using bashisms or is it that Glibc is using
 valid POSIX syntax that dash doesn't handle correctly?

 I personally prefer option 1 as it's a bit kinder to our users.  If we can
 avoid build breakage and having our users jump through hoops to get their
 shell changed from the system default, I think we should.

 I don't mind option 2 if that gets the group vote.

 Option 3 may well end up at a dead end if the issue lies with Glibc as the
 upstream maintainers don't support building under any other shell than
 bash (see http://sourceware.org/bugzilla/show_bug.cgi?id=2930 and
 http://sourceware.org/bugzilla/show_bug.cgi?id=3266).  In this case, maybe
 someone would like to come up with a patch to the ./configure, FAQ and
 INSTALL files to explicitly document this requirement? :-)

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1962>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to