Changeset 59b66d7


Ignore:
Timestamp:
05/26/2020 12:25:21 PM (18 months ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
29b86b4
Parents:
da99f96
Message:

Fix various test failures:

  • bison and man-db: use a symlink:

tools/share/locale->/usr/share/locale/locale-archive

so that the installed locales are found by programs not yet installed
in /usr

  • vim: upstade to 8.2.0814 (used for testing by several persons)
  • sed in automake, fixes one test
  • patch for gold: allows its testsuite to run
  • mount /dev/pts as --bind: foxes a test in coreutils
  • bash: use su << EOF instead of su -c, to keep a controlling terminal

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11859 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rda99f96 r59b66d7  
    4444    -->
    4545    <listitem>
     46      <para>2020-05-26</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Bash: do not use "su -c command" to change user
     50          to nobody: it removes the controlling terminal and makes some
     51          tests fail. Use "su &lt;&lt; EOF" instead.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[pierre] - Mount /dev/pts with "--bind", so that "tty"
     55          knows there is a terminal. Fixes a test in coreutils.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[pierre] - Add a patch to fix a failure in gold test suite,
     59          which really needs -fcommon in some tests.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[pierre] - Fix a failure in automake test suite.</para>
     63        </listitem>
     64        <listitem>
     65          <para>[pierre] - Update to vim-8.2.0814.</para>
     66        </listitem>
     67        <listitem>
     68          <para>[pierre] - Add a symlink from /tools/share/locale
     69          to /usr/share/locale/locale-archive, to allow some programs
     70          to find the installed locales. Fixes test failures in bison
     71          and man-db;</para>
     72        </listitem>
     73      </itemizedlist>
     74    </listitem>
     75
     76    <listitem>
    4677      <para>2020-05-21</para>
    4778      <itemizedlist>
  • chapter03/patches.xml

    rda99f96 r59b66d7  
    2727    </varlistentry>
    2828
    29 <!--
     29
    3030    <varlistentry>
    31       <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term>
     31      <term>Binutils Fix for gold Test Suite Patch - <token>&binutils-gold-test-patch-size;</token>:</term>
    3232      <listitem>
    33         <para>Download: <ulink url="&patches-root;&bc-memory-leak-patch;"/></para>
    34         <para>MD5 sum: <literal>&bc-memory-leak-patch-md5;</literal></para>
     33        <para>Download: <ulink url="&patches-root;&binutils-gold-test-patch;"/></para>
     34        <para>MD5 sum: <literal>&binutils-gold-test-patch-md5;</literal></para>
    3535      </listitem>
    3636    </varlistentry>
    37 -->
     37
    3838    <varlistentry>
    3939      <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
  • chapter06/automake.xml

    rda99f96 r59b66d7  
    4141  <sect2 role="installation">
    4242    <title>Installation of Automake</title>
     43
     44    <para>Fix a failing test:</para>
     45
     46<screen><userinput remap="pre">sed -i "s/''/etags/"  t/tags-lisp-space.sh</userinput></screen>
    4347
    4448    <para>Prepare Automake for compilation:</para>
  • chapter06/bash.xml

    rda99f96 r59b66d7  
    8181    class="username">nobody</systemitem> user:</para>
    8282
    83 <screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH HOME=/home make tests"</userinput></screen>
     83<screen><userinput remap="test">su nobody -s /bin/bash &lt;&lt; EOF
     84PATH=$PATH HOME=/home make tests
     85EOF</userinput></screen>
     86
     87    <para>The <command>su</command> command above is slightly different from
     88    other places in the book. The
     89    reason is that the <option>-c</option> option runs the command without
     90    a controlling terminal, while the bash test suite needs one.</para>
    8491
    8592    <para>Install the package and move the main executable to
  • chapter06/binutils.xml

    rda99f96 r59b66d7  
    5959
    6060    <para>Now remove one test that prevents the tests from running
    61     to completion:</para>
    62 
    63 <screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in</userinput></screen>
     61    to completion, and fix other tests in the gold test suite, which
     62    need to be adjusted for GCC 10:</para>
     63
     64<screen><userinput remap="pre">sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
     65patch -Np1 -i ../binutils-&binutils-version;-gcc10_gold_test_fix-1.patch</userinput></screen>
    6466
    6567    <para>The Binutils documentation recommends building Binutils
     
    158160<screen><userinput remap="test">make -k check</userinput></screen>
    159161
    160     <para>The ver_test_pr16504.sh test is known to fail.</para>
     162<!--    <para>The ver_test_pr16504.sh test is known to fail.</para>-->
    161163
    162164    <para>Install the package:</para>
  • chapter06/coreutils.xml

    rda99f96 r59b66d7  
    127127    environment includes /tools/bin.</para>
    128128
    129 <screen><userinput remap="test">su nobody -s /bin/bash \
    130           -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    131 
     129<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
     130<!--
    132131    <para>The test program test-getlogin is known to fail in a
    133132    partially built system environment like the chroot environment here, but
    134133    passes if run at the end of this chapter.  The test program tty.sh is
    135134    also known to fail.</para>
    136 
     135-->
    137136    <para>Remove the temporary group:</para>
    138137
  • chapter06/createfiles.xml

    rda99f96 r59b66d7  
    5757do
    5858    ln -svf /tools/include/$incdir    /usr/include
    59 done</userinput></screen>
     59done
     60
     61mkdir -pv /tools/lib/locale
     62ln -sv /usr/lib/locale/locale-archive /tools/lib/locale</userinput></screen>
    6063
    6164  <variablelist>
     
    198201        wrong references to /tools. The uuid library is also needed for
    199202        building a python module.</para>
     203      </listitem>
     204    </varlistentry>
     205
     206    <varlistentry>
     207      <term>
     208        <parameter>
     209          <filename>/tools/lib/locale/locale-archive</filename>
     210        </parameter>
     211      </term>
     212      <listitem>
     213        <para>Some programs built in chapter 5 look for installed
     214        locale descriptions in this file. The locale descriptions will be
     215        installed in <filename>/usr/lib/locale/locale-archive</filename>
     216        after building the final glibc. The symlink allows those programs
     217        to use the installed locales.</para>
    200218      </listitem>
    201219    </varlistentry>
  • chapter06/kernfs.xml

    rda99f96 r59b66d7  
    6969      <para>Now mount the remaining virtual kernel filesystems:</para>
    7070
    71 <screen><userinput>mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620
     71<screen><userinput>mount -v --bind /dev/pts $LFS/dev/pts
    7272mount -vt proc proc $LFS/proc
    7373mount -vt sysfs sysfs $LFS/sys
  • general.ent

    rda99f96 r59b66d7  
    1 <!ENTITY version         "SVN-20200521">
     1<!ENTITY version         "SVN-20200526">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200521-systemd">
     6<!ENTITY versiond        "20200526-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "May 21st, 2020">
     10<!ENTITY releasedate     "May 26th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
  • packages.ent

    rda99f96 r59b66d7  
    701701<!ENTITY util-linux-ch6-sbu "1.1 SBU">
    702702
    703 <!ENTITY vim-version "8.2.0716">
     703<!ENTITY vim-version "8.2.0814">
    704704<!ENTITY vim-majmin "82">
    705705<!ENTITY vim-docdir "vim/vim82">
     
    707707<!--<!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">-->
    708708<!ENTITY vim-url "&anduin-sources;/vim-&vim-version;.tar.gz">
    709 <!ENTITY vim-md5 "004b4596f185889fbca5b8d513f294ce">
     709<!ENTITY vim-md5 "02b8b91bd2a9a97879fc60616f4eb767">
    710710<!ENTITY vim-home "https://www.vim.org">
    711711<!ENTITY vim-ch6-du "202 MB">
  • patches.ent

    rda99f96 r59b66d7  
    66<!ENTITY bash-fixes-patch-md5 "c1545da2ad7d78574b52c465ec077ed9">
    77<!ENTITY bash-fixes-patch-size "22 KB">
     8
     9<!ENTITY binutils-gold-test-patch "binutils-&binutils-version;-gcc10_gold_test_fix-1.patch">
     10<!ENTITY binutils-gold-test-patch-md5 "d18aaf9b25830cb8f7a5d44aa3febe28">
     11<!ENTITY binutils-gold-test-patch-size "5.0 KB">
    812
    913<!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
Note: See TracChangeset for help on using the changeset viewer.