aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-06-14 20:03:03 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-06-14 20:03:03 +0000
commit6e18f2f842f2395e20ae1891e10c28beb47d5aa3 (patch)
tree817220e87bf0f2e3ab22391896a220cf743b0dce
parent3d92d63bde160bc5ac98f44ec2cc5dd524e06042 (diff)
Move iana-etc and the creation of a test /etc/hosts earier in the build, so
that 2 more gcc tests pass. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter07/createfiles.xml6
-rw-r--r--chapter08/chapter08.xml2
-rw-r--r--chapter08/gcc.xml3
-rw-r--r--chapter08/perl.xml6
-rw-r--r--general.ent8
5 files changed, 13 insertions, 12 deletions
diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 3f5698438..c81ec9b1c 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -43,6 +43,12 @@
<screen><userinput>ln -sv /proc/self/mounts /etc/mtab</userinput></screen>
+ <para>Create a basic <filename>/etc/hosts</filename> file to be
+ referenced in some test suites, and in one of Perl's configuration files
+ as well:</para>
+
+<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+
<para>In order for user <systemitem class="username">root</systemitem> to be
able to login and for the name <quote>root</quote> to be recognized, there
must be relevant entries in the <filename>/etc/passwd</filename> and
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index cbdb39963..2e2bc799e 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -14,6 +14,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="introduction.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pkgmgt.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-pages.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="glibc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bzip2.xml"/>
@@ -37,7 +38,6 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncurses.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sed.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.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="gettext.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/>
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index f771c135d..6aaf633da 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -124,10 +124,11 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen>
<para>Six tests related to get_time are known to fail. These are
apparently related to the en_HK locale.</para>
+<!-- don't fail anymore after the move of iana-etc and /etc/hosts
<para>Two tests named lookup.cc and reverse.cc in experimental/net
are known to fail in LFS chroot environment because they require
/etc/hosts and iana-etc.</para>
-
+-->
<para>A few unexpected failures cannot always be avoided. The GCC developers
are usually aware of these issues, but have not resolved them yet.
Unless the test results are vastly different from those at the above URL,
diff --git a/chapter08/perl.xml b/chapter08/perl.xml
index 1841b819e..fd5e07f06 100644
--- a/chapter08/perl.xml
+++ b/chapter08/perl.xml
@@ -41,12 +41,6 @@
<sect2 role="installation">
<title>Installation of Perl</title>
- <para>First create a basic <filename>/etc/hosts</filename> file to be
- referenced in one of Perl's configuration files as well as the optional
- test suite:</para>
-
-<screen><userinput remap="pre">echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
-
<para>This version of Perl now builds the Compress::Raw::Zlib and
Compress::Raw::BZip2 modules. By
default Perl will use an internal copy of the sources for the build.
diff --git a/general.ent b/general.ent
index b0cb1e91f..c5845df39 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "20200613-cross2">
+<!ENTITY version "20200614-cross2">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "cross-chap5"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20200613-cross2-systemd">
+<!ENTITY versiond "20200614-cross2-systemd">
<!ENTITY short-versiond "systemd">
-<!ENTITY generic-versiond "20200613-cross2-systemd">
+<!ENTITY generic-versiond "20200614-cross2-systemd">
-<!ENTITY releasedate "June 13th, 2020">
+<!ENTITY releasedate "June 14th, 2020">
<!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->