I rebuilt svn last night with the changes from current svn below.

I use jhalfs and all the test logs in chapter 6 are placed in one 
directory.  Checking for 'FAIL':

grep FAIL *|grep -v 124|grep -v XFAIL
079-gcc:FAIL: libmudflap.c++/pass55-frag.cxx ( -O) execution test
079-gcc:FAIL: libmudflap.c++/pass55-frag.cxx ( -O) execution test
089-coreutils:# FAIL:  0
089-coreutils:# FAIL:  0
089-coreutils:# FAIL:  0
094-grep:# FAIL:  0
094-grep:# FAIL:  0
101-autoconf:119: AT_FAIL_IF without AT_SETUP                     ok
101-autoconf:135: AT_FAIL_IF                                      ok
102-automake:FAIL: t/python-missing.sh
102-automake:# FAIL:  1
106-flex:NFAIL=;\
106-flex:               * )  echo Test "$dir" FAILED. See "$dir"/OUTPUT 
for details. ; \
106-flex:                       NFAIL=0$NFAIL; \
106-flex:echo Tests FAILED: `echo -n "$NFAIL"|wc -c` ; \
106-flex:test "$NFAIL" = ""
106-flex:Test test-bison-yylloc FAILED. See test-bison-yylloc/OUTPUT for 
details.
106-flex:Test test-bison-yylval FAILED. See test-bison-yylval/OUTPUT for 
details.
106-flex:Tests FAILED: 2
112-gzip:# FAIL:  0

vim (package 124) has a lot of FAILs that are not failures.  There is a 
patch I've not applied for flex.

http://pkgs.fedoraproject.org/cgit/flex.git/plain/flex-2.5.36-bison-2.6.1.patch?p=flex.git;a=blob_plain;f=flex-2.5.36-bison-2.6.1.patch

A similar check for 'Error' gives:

071-glibc:make[3]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
071-glibc:make[3]: [/sources/glibc-build/conform/run-conformtest.out] 
Error 1 (ignored)

079-gcc:make[4]: [check-parallel-gcc] Error 1 (ignored)
079-gcc:make[2]: *** [check-target-libmudflap] Error 2

There isn't really any other check errors that I can find.

The full set of logs is at
http://www.linuxfromscratch.org/~bdubbs/error-logs/

   -- Bruce

Index: chapter06/coreutils.xml
===================================================================
--- chapter06/coreutils.xml     (revision 9942)
+++ chapter06/coreutils.xml     (working copy)
@@ -107,7 +107,7 @@
      fail because the regression test has not been updated for the latest
      time zone data.</para>

-<screen><userinput remap="test">su nobody -s /bin/bash -c "make 
RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c 
'PATH=$PATH:/tools/bin make RUN_EXPENSIVE_TESTS=yes -k check || 
true'</userinput></screen>

      <para>Remove the temporary group:</para>

The change to add PATH=$PATH:/tools/bin can probably be shortened to 
PATH=$PATH.  The problem is su from shadow resets PATH, but we can jsut 
reset it to maintain /tools/bin.


Index: chapter06/bash.xml
===================================================================
--- chapter06/bash.xml  (revision 9942)
+++ chapter06/bash.xml  (working copy)
@@ -89,7 +89,7 @@
      <para>Now, run the tests as the <systemitem
      class="username">nobody</systemitem> user:</para>

-<screen><userinput remap="test">su nobody -s /bin/bash -c "make 
tests"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH 
make tests"</userinput></screen>

      <para>Install the package:</para>

Index: chapter06/chapter06.xml
===================================================================
--- chapter06/chapter06.xml     (revision 9942)
+++ chapter06/chapter06.xml     (working copy)
@@ -36,6 +36,7 @@
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="psmisc.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="e2fsprogs.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="shadow.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="make.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="coreutils.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="iana-etc.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="m4.xml"/>
@@ -64,7 +65,6 @@
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="kbd.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="kmod.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="libpipeline.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="make.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="man-db.xml"/>
    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
href="patch.xml"/>

Moves make, but is probably not needed with adding $PATH to su commands.


Index: chapter06/glibc.xml
===================================================================
--- chapter06/glibc.xml (revision 9942)
+++ chapter06/glibc.xml (working copy)
@@ -254,7 +254,8 @@
  localedef -i it_IT -f ISO-8859-1 it_IT
  localedef -i ja_JP -f EUC-JP ja_JP
  localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
-localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen>
+localedef -i zh_CN -f GB18030 zh_CN.GB18030
+localedef -i ru_RU -f UTF-8 ru_RU.utf-8</userinput></screen>

      <para>In addition, install the locale for your own country, 
language and
      character set.</para>
@@ -315,12 +316,21 @@
      <para>Install timezone data:</para>
  <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz

-for tz in etcetera southamerica northamerica europe africa antarctica \
-  asia australasia backward pacificnew solar87 solar88 solar89 systemv; do
-    zic -L leapseconds -d /usr/share/zoneinfo -y "sh yearistype.sh" ${tz}
+TIMEZONES="africa antarctica asia australasia europe northamerica"
+TIMEZONES="$TIMEZONES southamerica etcetera factory backward"
+TIMEZONES="$TIMEZONES systemv pacificnew solar87 solar88 solar89"
+
+TZDIR=/usr/share/zoneinfo
+
+for tz in $TIMEZONES; do
+    zic -L /dev/null   -d $TZDIR       -y "sh yearistype.sh" $tz
+    zic -L /dev/null   -d $TZDIR/posix -y "sh yearistype.sh" $tz
+    zic -L leapseconds -d $TZDIR/right -y "sh yearistype.sh" $tz
  done
-cp -v *.tab /usr/share/zoneinfo</userinput></screen>

+/usr/sbin/zic -d $TZDIR -p America/New_York
+unset TIMEZONES TZDIR</userinput></screen>

Adds ru_RU locale and uses Debian time zone procedures.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to