- Timestamp:
- 02/27/2024 03:39:33 PM (7 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2
- Children:
- 09f2a24
- Parents:
- 4ac095c7 (diff), 23f4367 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- chapter08
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/coreutils.xml
r4ac095c7 rec36fac 130 130 <!-- Sometimes skipped, but if not it may fail. 131 131 Please DO NOT remove or comment out this unless we can fully 132 understand it! -->132 understand it! 133 133 <para>The test-getlogin test may fail in the LFS chroot environment.</para> 134 20240226: Commented out as it seems the upstream has root-caused and 135 fixed the issue. I've checked the fix is in Coreutils 9.4 release 136 tarball: 137 138 https://lists.gnu.org/archive/html/bug-gnulib/2022-06/msg00079.html 139 --> 134 140 135 141 <para>Remove the temporary group:</para> -
chapter08/expect.xml
r4ac095c7 rec36fac 64 64 the chroot environment following <xref linkend='ch-tools-chroot'/>. 65 65 This issue needs to be resolved before continuing, or the test suites 66 requ ring Expect (for example the test suites of Bash, Binutils, GCC,66 requiring Expect (for example the test suites of Bash, Binutils, GCC, 67 67 GDBM, and of course Expect itself) will fail catastrophically, and other 68 68 subtle breakages may also happen.</para> -
chapter08/gcc.xml
r4ac095c7 rec36fac 189 189 190 190 <para> 191 With Glibc-2.38, the analyzer tests named 192 <filename>data-model-4.c</filename> and 193 <filename>conftest-1.c</filename> 194 are known to fail. 195 In the asan tests, several tests in <filename>asan_test.C</filename> 196 are known to fail. 197 The test named <filename>interception-malloc-test-1.C</filename> 198 is known to fail. 191 Seven tests in the <filename class='directory'>analyzer</filename> 192 directory are known to fail. 193 194 For g++, 21 tests (out of approximately 250,000): 14 195 <quote>AddressSanitizer*</quote> 196 tests and 7 <filename>interception-malloc-test-1.C</filename> tests, are 197 known to fail. 199 198 </para> 200 199 … … 203 202 Unless the test results are vastly different from those at the above URL, 204 203 it is safe to continue.</para> 205 206 <!--note><para>207 On some combinations of kernel configuration and AMD processors208 there may be more than 1100 failures in the gcc.target/i386/mpx209 tests (which are designed to test the MPX option on recent210 Intel processors). These can safely be ignored on AMD211 processors. These tests will also fail on Intel processors if MPX support212 is not enabled in the kernel even though it is present on the CPU.213 </para></note-->214 204 215 205 <para>Install the package:</para> -
chapter08/glibc.xml
r4ac095c7 rec36fac 164 164 </listitem> 165 165 166 <!-- Did not fail with glibc-2.38167 <listitem>168 <para><emphasis>misc/tst-ttyname</emphasis>169 is known to fail in the LFS chroot environment.</para>170 </listitem>171 -->172 173 <!-- https://sourceware.org/pipermail/libc-alpha/2022-August/141567.html -->174 <listitem>175 <para>The <emphasis>stdlib/tst-arc4random-thread</emphasis>176 test is known to fail if the host kernel is relatively old.</para>177 </listitem>178 179 166 <listitem> 180 167 <para>Some tests, for example 181 <emphasis>nss/tst-nss-files-hosts-multi</emphasis>, 182 are known to fail on relatively slow systems due to an internal 183 timeout.</para> 168 <emphasis>nss/tst-nss-files-hosts-multi</emphasis> and 169 <emphasis>nptl/tst-thread-affinity*</emphasis> 170 are known to fail due to a timeout (especially when the system is 171 relatively slow and/or running the test suite with multiple 172 parallel make jobs). These tests can be identified with:</para> 173 174 <!-- TODO: Using nodump for freeze. Change it to role="test" after 175 12.1 release so jhalfs can list these in the log. --> 176 <screen role="nodump"><userinput>grep "Timed out" -l $(find -name \*.out)</userinput></screen> 177 178 <para>It's possible to re-run a single test with enlarged timeout 179 with 180 <command>TIMEOUTFACTOR=<replaceable><factor></replaceable> 181 make test t=<replaceable><test name></replaceable></command>. 182 For example, <command>TIMEOUTFACTOR=10 make test 183 t=nss/tst-nss-files-hosts-multi</command> will re-run 184 <emphasis>nss/tst-nss-files-hosts-multi</emphasis> with ten times 185 the original timeout.</para> 184 186 </listitem> 185 187 186 188 <listitem> 187 189 <para>Additionally, some tests may fail with a relatively old CPU 188 model or host kernel version.</para> 190 model (for example 191 <emphasis>elf/tst-cpu-features-cpuinfo</emphasis>) or host kernel 192 version (for example 193 <emphasis>stdlib/tst-arc4random-thread</emphasis>).</para> 189 194 </listitem> 190 195 </itemizedlist> … … 236 241 section to install 237 242 <filename class='libraryfile'>libcrypt.so.1*</filename> 238 ( overwritting243 (replacing 239 244 <filename class='libraryfile'>libcrypt.so.1</filename> from the 240 245 prior Glibc installation)</emphasis>. … … 254 259 <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen> 255 260 256 <para >261 <para revision='systemd'> 257 262 If this system (prior to LFS 12.1, exclusive) is based on 258 263 Systemd, it's also needed to disable and stop the … … 531 536 <listitem> 532 537 <para>This creates the <filename>posixrules</filename> file. We use 533 New York because POSIX requires the daylight saving stime rules538 New York because POSIX requires the daylight saving time rules 534 539 to be in accordance with US rules.</para> 535 540 </listitem> -
chapter08/libxcrypt.xml
r4ac095c7 rec36fac 111 111 --disable-failure-tokens 112 112 make 113 cp -av .libs/libcrypt.so.1* /usr/lib</userinput></screen>113 cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib</userinput></screen> 114 114 </note> 115 115 -
chapter08/pkgconf.xml
r4ac095c7 rec36fac 44 44 45 45 <title>Installation of Pkgconf</title> 46 47 <!-- https://github.com/pkgconf/pkgconf/issues/317 -->48 <para>Fix a regression in pkgconf-2.1.0 breaking BLFS packages:</para>49 50 <screen><userinput remap="pre">patch -Np1 -i ../&pkgconf-upstream-fix-patch;</userinput></screen>51 46 52 47 <para>Prepare Pkgconf for compilation:</para> -
chapter08/procps.xml
r4ac095c7 rec36fac 73 73 <para> To run the test suite, run:</para> 74 74 75 <screen><userinput remap="test">make check</userinput></screen> 75 <screen><userinput remap="test">make -k check</userinput></screen> 76 77 <para>One test named 78 <literal>ps with output flag bsdtime,cputime,etime,etimes</literal> 79 is known to fail if the host kernel is not built with 80 <literal>CONFIG_BSD_PROCESS_ACCT</literal> enabled. 81 <!-- These two tests just do not work as root but they seem to pass 82 in most time due to some internal hazards of Tcl/Expect/DejaGNU 83 framework. However the failures have been really observed. 84 TODO: run the test suite as tester after the freeze ends. --> 85 Two tests named 86 <literal>pmap X with unreachable process</literal> and 87 <literal>pmap XX with unreachable process</literal> are known to 88 fail occasionally.</para> 76 89 77 90 <para>Install the package:</para> -
chapter08/systemd.xml
r4ac095c7 rec36fac 51 51 <!-- https://github.com/systemd/systemd/pull/30549 --> 52 52 <para>Now fix a security vulnerability in the DNSSEC verification of 53 <command>systemd-resolved</command>:</para> 54 55 <screen><userinput remap='pre'>sed -e '/return FLAGS_SET.*AUTHENTICATED/s/(t/(dt/' \ 56 -i src/resolve/resolved-dns-transaction.c</userinput></screen> 53 <command>systemd-resolved</command> and a bug breaking running 54 <command>systemd-analyze verify</command> on an instantiated systemd 55 unit:</para> 56 57 <screen><userinput remap='pre'>patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen> 57 58 58 59 <para>Prepare systemd for compilation:</para> -
chapter08/vim.xml
r4ac095c7 rec36fac 72 72 class="username">tester</systemitem>:</para> 73 73 74 <screen><userinput remap="test">su tester -c "LANG=en_US.UTF-8 make -j1 test" &> vim-test.log</userinput></screen> 74 <screen><userinput remap="test">su tester -c "TERM=xterm-256color LANG=en_US.UTF-8 make -j1 test" \ 75 &> vim-test.log</userinput></screen> 75 76 76 77 <para>The test suite outputs a lot of binary data to the screen. This can 77 cause issues with the settings of the current terminal. The problem can be 78 cause issues with the settings of the current terminal (especially while 79 we are overriding the <envar>TERM</envar> variable to satisify some 80 assumptions of the test suite). The problem can be 78 81 avoided by redirecting the output to a log file as shown above. A 79 successful test will result in the words "ALL DONE" in the log file80 at completion.</para>82 successful test will result in the words <computeroutput>ALL 83 DONE</computeroutput> in the log file at completion.</para> 81 84 82 85 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.