cvs commit: LFS/newxml/chapter06 coreutils.xml grub.xml

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Sun Mar 21 08:10:33 PST 2004


matthew     04/03/21 09:10:33

  Modified:    newxml   general.ent
               newxml/chapter05 coreutils.xml perl.xml
               newxml/chapter06 coreutils.xml grub.xml
  Log:
  * Upgraded to automake-1.8.3, coreutils-5.2.1, e2fsprogs-1.35, modutils-2.4.27,
    tcl-8.4.6 and util-linux-2.12a
  * Removed unnecessary sed in grub's instructions
  
  Revision  Changes    Path
  1.2       +6 -6      LFS/newxml/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/general.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- general.ent	9 Mar 2004 22:04:39 -0000	1.1
  +++ general.ent	21 Mar 2004 16:10:33 -0000	1.2
  @@ -16,16 +16,16 @@
   <!ENTITY diskspace "Required disk space:    ">
   
   <!ENTITY autoconf-version "2.59">
  -<!ENTITY automake-version "1.8.2">
  +<!ENTITY automake-version "1.8.3">
   <!ENTITY bash-version "2.05b">
   <!ENTITY binutils-version "2.14">
   <!ENTITY bison-version "1.875">
   <!ENTITY bootscripts-version "1.12">
   <!ENTITY bzip2-version "1.0.2">
  -<!ENTITY coreutils-version "5.0">
  +<!ENTITY coreutils-version "5.2.1">
   <!ENTITY dejagnu-version "1.4.4">
   <!ENTITY diffutils-version "2.8.1">
  -<!ENTITY e2fsprogs-version "1.34">
  +<!ENTITY e2fsprogs-version "1.35">
   <!ENTITY ed-version "0.2">
   <!ENTITY expect-version "5.40.0">
   <!ENTITY file-version "4.07">
  @@ -51,7 +51,7 @@
   <!ENTITY make-version "3.80">
   <!ENTITY man-version "1.5m2">
   <!ENTITY man-pages-version "1.66">
  -<!ENTITY modutils-version "2.4.26">
  +<!ENTITY modutils-version "2.4.27">
   <!ENTITY ncurses-version "5.4">
   <!ENTITY net-tools-version "1.60">
   <!ENTITY patch-version "2.5.4">
  @@ -64,8 +64,8 @@
   <!ENTITY sysklogd-version "1.4.1">
   <!ENTITY sysvinit-version "2.85">
   <!ENTITY tar-version "1.13.25">
  -<!ENTITY tcl-version "8.4.5">
  +<!ENTITY tcl-version "8.4.6">
   <!ENTITY texinfo-version "4.6">
  -<!ENTITY util-linux-version "2.12">
  +<!ENTITY util-linux-version "2.12a">
   <!ENTITY vim-version "6.2">
   <!ENTITY zlib-version "1.2.1">
  
  
  
  1.5       +14 -10    LFS/newxml/chapter05/coreutils.xml
  
  Index: coreutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter05/coreutils.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- coreutils.xml	9 Mar 2004 21:57:51 -0000	1.4
  +++ coreutils.xml	21 Mar 2004 16:10:33 -0000	1.5
  @@ -21,22 +21,26 @@
   <sect2>
   <title>Installation of Coreutils</title>
   
  -<para>This package has an issue when compiled against Glibc-&glibc-version;.
  -Without the patch below, some of the Coreutils utilities (such as
  +<screen><userinput>DEFAULT_POSIX2_VERSION=1999209 ./configure --prefix=/tools</userinput></screen>
  +
  +<para>This package has an issue when compiled against versions of glibc
  +later than 3.3.2.  Some of the Coreutils utilities (such as
   (<command>head</command>, <command>tail</command> and <command>sort</command>)
   will reject their traditional syntax, a syntax that has been in use for
   approximately 30 years. This old syntax is so pervasive that compatibility
  -should be preserved until the many places where it is used can be updated. More
  -details on this are provided in the comments inside the patch itself. Use of
  -this patch is by no means compulsory, but not using it means you'll have to
  -deal with the consequences yourself: patch the many packages that still use the
  -old syntax. Therefore, better apply the patch:</para>
  -
  -<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-posixver-2.patch</userinput></screen>
  +should be preserved until the many places where it is used can be
  +updated.  Backwards compatibility is achieved by setting the
  +DEFAULT_POSIX2_VERSION environment variable to "1999209".  If, instead, you want
  +to enforce the POSIX standard then you can set this variable to "200112",
  +realising that doing so will mean you'll have to deal with the consequences
  +yourself: patch the many packages that still use the old syntax.  We therefore
  +recommend using the instructions as given above.  The behaviour of the coreutils
  +binaries can be changed at runtime by setting the _POSIX2_VERSION environment
  +variable to one of the two values described above.</para>
   
   <para>Now prepare Coreutils for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/tools</userinput></screen>
  +<screen><userinput>DEFAULT_POSIX2_VERSION=1999209 ./configure --prefix=/tools</userinput></screen>
   
   <para>Compile the package:</para>
   
  
  
  
  1.5       +5 -5      LFS/newxml/chapter05/perl.xml
  
  Index: perl.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter05/perl.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- perl.xml	9 Mar 2004 21:57:51 -0000	1.4
  +++ perl.xml	21 Mar 2004 16:10:33 -0000	1.5
  @@ -31,17 +31,17 @@
   <screen><userinput>echo "uname -m" > /tools/bin/arch
   chmod 755 /tools/bin/arch</userinput></screen>
   
  -<para>Now prepare Perl for compilation (make sure you get the 'IO Fcntl'
  +<para>Now prepare Perl for compilation (make sure you get the 'IO Fcntl POSIX'
   right, they are all letters):</para>
   
  -<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen>
  +<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</userinput></screen>
   
   <para>The meaning of the configure option:</para>
   
   <itemizedlist>
  -<listitem><para><userinput>-Dstatic_ext='IO Fcntl'</userinput>: This tells
  -Perl to build the minimum set of static extensions needed for running the
  -Coreutils test suite in the next chapter.</para></listitem>
  +<listitem><para><userinput>-Dstatic_ext='IO Fcntl POSIX'</userinput>: This tells
  +Perl to build the minimum set of static extensions needed for installing and
  +testing the Coreutils package in the next chapter.</para></listitem>
   </itemizedlist>
   
   <para>Compile only the required tools:</para>
  
  
  
  1.5       +4 -9      LFS/newxml/chapter06/coreutils.xml
  
  Index: coreutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter06/coreutils.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- coreutils.xml	9 Mar 2004 21:57:51 -0000	1.4
  +++ coreutils.xml	21 Mar 2004 16:10:33 -0000	1.5
  @@ -16,8 +16,7 @@
   <literallayout>Official download location for Coreutils (&coreutils-version;):
   <ulink url="ftp://ftp.gnu.org/gnu/coreutils/"/>
   And for the patches:
  -<ulink url="&patches-root;coreutils-&coreutils-version;-hostname-2.patch"/>
  -<ulink url="&patches-root;coreutils-&coreutils-version;-posixver-2.patch"/>
  +<ulink url="&patches-root;coreutils-&coreutils-version;-hostname-1.patch"/>
   <ulink url="&patches-root;coreutils-&coreutils-version;-uname.patch"/></literallayout>
   
   <para>For its installation Coreutils depends on: Bash, Binutils, Coreutils, Diffutils, GCC,
  @@ -28,10 +27,6 @@
   <sect2>
   <title>Installation of Coreutils</title>
   
  -<para>Apply the same Posixver patch we used previously:</para>
  -
  -<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-posixver-2.patch</userinput></screen>
  -
   <para>Normally the functionality of <command>uname</command> is somewhat
   broken, in that the <emphasis>-p</emphasis> switch always returns "unknown".
   The following patch fixes this behaviour for Intel architectures:</para>
  @@ -42,11 +37,11 @@
   <command>hostname</command> program, because it is inferior to the version
   provided by Net-tools. Prevent its installation by applying a patch:</para>
   
  -<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-hostname-2.patch</userinput></screen>
  +<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-hostname-1.patch</userinput></screen>
   
   <para>Now prepare Coreutils for compilation:</para>
   
  -<screen><userinput>./configure --prefix=/usr</userinput></screen>
  +<screen><userinput>DEFAULT_POSIX2_VERSION=1999209 ./configure --prefix=/usr</userinput></screen>
   
   <para>Compile the package:</para>
   
  @@ -77,7 +72,7 @@
   <para>Now you're all set to run the test suite. First run the few tests that
   are meant to be run as <emphasis>root</emphasis>:</para>
   
  -<screen><userinput>make check-root</userinput></screen>
  +<screen><userinput>export NON_ROOT_USERNAME=dummy; make check-root</userinput></screen>
   
   <para>Then run the remainder of the tests as the <emphasis>dummy</emphasis>
   user:</para>
  
  
  
  1.5       +1 -5      LFS/newxml/chapter06/grub.xml
  
  Index: grub.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter06/grub.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- grub.xml	9 Mar 2004 21:57:52 -0000	1.4
  +++ grub.xml	21 Mar 2004 16:10:33 -0000	1.5
  @@ -29,11 +29,7 @@
   such as CFLAGS and CXXFLAGS, we recommend unsetting them when building
   Grub.</para>
   
  -<para>First fix a compilation problem with GCC-3.3.2:</para>
  -
  -<screen><userinput>sed -i 's/2 long/2/' stage2/fsys_reiserfs.c</userinput></screen>
  -
  -<para>Now prepare Grub for compilation:</para>
  +<para>First prepare Grub for compilation:</para>
   
   <screen><userinput>./configure --prefix=/usr</userinput></screen>
   
  
  
  



More information about the lfs-book mailing list