#3486: glibc-2.19
----------------------+-----------------------
 Reporter:  bdubbs@…  |       Owner:  bdubbs@…
     Type:  task      |      Status:  assigned
 Priority:  high      |   Milestone:  7.5
Component:  Book      |     Version:  SVN
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+-----------------------

Comment (by bdubbs@…):

 Yes, I noticed that libbsd-compat.a had been removed, but didn't associate
 that with the book.  I'll remove that from contents.

 tzselect is a bash script.  The old version has:

 : ${TZDIR=/usr/share/zoneinfo}

 but the new version has:

 : ${TZDIR=`pwd`}

 I'll add a sed to change it to default back to /usr/share/zoneinfo

 sed -i 's/.pwd./usr/share/zoneinfo/' ./timezone/tzselect.ksh

 Actually, looking at my log, I have:

 {{{
 sed -e 's|/bin/bash|/bin/bash|g' \
     -e '/TZDIR=/s|\$(pwd)|/usr/share/zoneinfo|' \
     -e '/TZVERSION=/s|see_Makefile|"2.19"|' \
     -e '/PKGVERSION=/s|=.*|="(GNU libc) "|' \
     -e
 '/REPORT_BUGS_TO=/s|=.*|="<http://www.gnu.org/software/libc/bugs.html>"|'
 \
     < tzselect.ksh > /sources/glibc-build/timezone/tzselect.new
 }}}

 It looks like they changed $(pwd) to `pwd` and missed this.  The
 alternative is to edit timezone/Makefile:

 sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3486#comment:5>
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