mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-10 07:59:38 +00:00
Merge remote-tracking branch 'origin/trunk' into xry111/loongarch
This commit is contained in:
commit
20902ddaf3
@ -40,11 +40,29 @@
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2024-02-02</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[xry111] - Update to tzdata-2024a. Fixes
|
||||
<ulink url='&lfs-ticket-root;5428'>#5428</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[xry111] - Update to glibc-2.39 (security fix). Fixes
|
||||
<ulink url='&lfs-ticket-root;5426'>#5426</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[xry111] - Update to linux-6.7.3. Fixes
|
||||
<ulink url='&lfs-ticket-root;5427'>#5427</ulink>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2024-02-01</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to openssl-3.2.1. Fixes
|
||||
<para>[bdubbs] - Update to openssl-3.2.1 (security fix). Fixes
|
||||
<ulink url='&lfs-ticket-root;5425'>#5425</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -101,9 +101,9 @@
|
||||
<listitem>
|
||||
<para>Gettext-&gettext-version;</para>
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<listitem>
|
||||
<para>Glibc-&glibc-version;</para>
|
||||
</listitem>-->
|
||||
</listitem>
|
||||
<!--<listitem>
|
||||
<para>GMP-&gmp-version;</para>
|
||||
</listitem>-->
|
||||
@ -298,10 +298,6 @@
|
||||
<para>setuptools-&setuptools-version;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&glibc-upstream-fixes-patch;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&pkgconf-upstream-fix-patch;</para>
|
||||
</listitem>
|
||||
|
@ -76,7 +76,7 @@
|
||||
<para>MD5 sum: <literal>&gcc-upstream-fixes-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
|
||||
<varlistentry>
|
||||
<term>Glibc Upstream Fixes Patch - <token>&glibc-upstream-fixes-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
@ -84,7 +84,7 @@
|
||||
<para>MD5 sum: <literal>&glibc-upstream-fixes-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
|
@ -75,7 +75,7 @@
|
||||
|
||||
<para>To prepare the tests, ensure that the <systemitem class="username">tester</systemitem> user can write to the sources tree:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
|
||||
<screen><userinput remap="test">chown -R tester .</userinput></screen>
|
||||
|
||||
<para>The test suite of this package is designed to be run as a non-&root;
|
||||
user who owns the terminal connected to standard input. To satisfy the
|
||||
|
@ -121,7 +121,7 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \
|
||||
<para>Fix some of the permissions so that the non-&root; user can
|
||||
compile and run the tests:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester . </userinput></screen>
|
||||
<screen><userinput remap="test">chown -R tester . </userinput></screen>
|
||||
|
||||
<para>Now run the tests:</para>
|
||||
|
||||
|
@ -82,7 +82,7 @@ esac</userinput></screen>
|
||||
|
||||
<para>To test the results, issue:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "PATH=$PATH make check"</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
<para>To test the results, issue:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "PATH=$PATH make check"</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
@ -154,7 +154,7 @@ cd build</userinput></screen>
|
||||
|
||||
<para>Test the results as a non-privileged user, but do not stop at errors:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "PATH=$PATH make -k check"</userinput></screen>
|
||||
|
||||
<para>To extract a summary of the test suite results, run:</para>
|
||||
|
@ -49,12 +49,12 @@
|
||||
store their runtime data in the FHS-compliant locations:</para>
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
|
||||
|
||||
<!--
|
||||
<para>Now fix two security vulnerabilities and a regression causing the
|
||||
posix_memalign() function very slow in some conditions:</para>
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-fixes-patch;</userinput></screen>
|
||||
|
||||
-->
|
||||
<para>The Glibc documentation recommends building Glibc
|
||||
in a dedicated build directory:</para>
|
||||
|
||||
@ -201,6 +201,121 @@ esac</userinput></screen>
|
||||
|
||||
<screen><userinput remap="install">sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile</userinput></screen>
|
||||
|
||||
<important>
|
||||
<para>
|
||||
If upgrading Glibc to a new minor version (for example, from
|
||||
Glibc-2.36 to Glibc-&glibc-version;) on a running LFS system, you
|
||||
need to take some extra precautions to avoid breaking the system:
|
||||
</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<!-- There are two reasons we don't support this:
|
||||
1. Upgrading on a system with separate /lib and /usr/lib is
|
||||
tricky.
|
||||
2. With Glibc prior to 2.34 libc.so.6 etc. are symlinks to
|
||||
libc-2.33.so etc., again causing the upgradation tricky.
|
||||
The Glibc NEWS file explicit states they no longer use
|
||||
symlinks for the ABI names to avoid upgradation
|
||||
issues. -->
|
||||
<para>
|
||||
Upgrading Glibc on a LFS system prior to 11.0 (exclusive) is
|
||||
not supported. Rebuild LFS if you are running such an old LFS
|
||||
system but you need a newer Glibc.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<!-- https://sourceware.org/pipermail/libc-alpha/2024-January/154095.html -->
|
||||
<listitem>
|
||||
<para>
|
||||
If upgrading on a LFS system prior to 12.0 (exclusive), install
|
||||
<application>Libxcrypt</application> following
|
||||
<xref role='.' linkend='ch-system-libxcrypt'/> In addition to
|
||||
a normal <application>Libxcrypt</application> installation,
|
||||
<emphasis role='bold'>you MUST follow the note in Libxcrypt
|
||||
section to install
|
||||
<filename class='libraryfile'>libcrypt.so.1*</filename>
|
||||
(overwritting
|
||||
<filename class='libraryfile'>libcrypt.so.1</filename> from the
|
||||
prior Glibc installation)</emphasis>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<!-- Otherwise on lfs-systemd nscd will fail to start on boot,
|
||||
and on both lfs-sysv and lfs-systemd useradd etc. will try
|
||||
to start nscd, then nscd will fail to start as well and
|
||||
produce some spurious error message. -->
|
||||
<listitem>
|
||||
<para>
|
||||
If upgrading on a LFS system prior to 12.1 (exclusive),
|
||||
remove the <command>nscd</command> program:
|
||||
</para>
|
||||
|
||||
<screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen>
|
||||
|
||||
<para>
|
||||
If this system (prior to LFS 12.1, exclusive) is based on
|
||||
Systemd, it's also needed to disable and stop the
|
||||
<command>nscd</command> service now:
|
||||
</para>
|
||||
|
||||
<screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Upgrade the kernel and reboot if it's older than &min-kernel;
|
||||
(check the current version with <command>uname -r</command>)
|
||||
or if you want to upgrade it anyway, following
|
||||
<xref linkend='ch-bootable-kernel' role='.'/>
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Upgrade the kernel API headers if it's older than &min-kernel;
|
||||
(check the current version with
|
||||
<command>cat /usr/include/linux/version.h</command>)
|
||||
or if you want to upgrade it anyway, following
|
||||
<xref linkend='ch-tools-linux-headers'/> (but removing
|
||||
<envar>$LFS</envar> from the <command>cp</command> command).
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<!-- This is to ensure we don't start a process at the time point
|
||||
where some Glibc shared libraries are updated but the others
|
||||
are not. Such mismatches can cause programs crash on startup,
|
||||
esp. a mismatch between ld-linux-x86-64.so.2 and
|
||||
libc.so.6. Note that a crash in the installation process
|
||||
will leave the system in a state with the mismatch forever,
|
||||
unrecoverable without the help of another distro. -->
|
||||
<listitem>
|
||||
<para>
|
||||
Perform a <envar>DESTDIR</envar> installation and upgrade
|
||||
the Glibc shared libraries on the system using one single
|
||||
<command>install</command> command:
|
||||
</para>
|
||||
|
||||
<screen role='nodump'><userinput>make DESTDIR=$PWD/dest install
|
||||
install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
It's imperative to strictly follow these steps above unless you
|
||||
completely understand what you are doing.
|
||||
<emphasis role='bold'>Any unexpected deviation may render the
|
||||
system completely unusable. YOU ARE WARNED.</emphasis>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Then continue to run the <command>make install</command> command
|
||||
and the <command>sed</command> command against
|
||||
<filename>/usr/bin/ldd</filename>. Once they are finished, reboot
|
||||
the system immediately.
|
||||
</para>
|
||||
</important>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
||||
<screen><userinput remap="install">make install</userinput></screen>
|
||||
|
@ -53,7 +53,7 @@
|
||||
https://savannah.gnu.org/bugs/?63852 -->
|
||||
<para>To test the results, issue:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "PATH=$PATH make check"</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
@ -63,21 +63,9 @@
|
||||
|
||||
<listitem>
|
||||
<para>If Glibc needs to be upgraded to a newer
|
||||
version, (e.g., from Glibc-2.31 to Glibc-2.32), it is safer to
|
||||
rebuild LFS. Though you <emphasis>may</emphasis> be able to rebuild
|
||||
all the packages in their dependency order, we do not recommend
|
||||
it. </para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Reinstalling the same version of Glibc (&glibc-version; for
|
||||
this release of LFS) with patches should be safe when these patches
|
||||
do not change ABI and API. When a security vulnerability is found
|
||||
in Glibc, we often need to apply such a patch to fix the
|
||||
vulnerability and reinstall Glibc. Consult
|
||||
<ulink url='&lfs-root;lfs/advisories/'>LFS security
|
||||
advisories</ulink> if you are alerted for a published Glibc security
|
||||
vulnerability but unsure about the action to take.</para>
|
||||
version, (e.g., from Glibc-2.36 to Glibc-&glibc-version;),
|
||||
some extra steps are needed to avoid breaking the system.
|
||||
Read <xref linkend='ch-system-glibc'/> for details.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem> <para>If a package containing a shared library is updated, and
|
||||
|
@ -51,7 +51,7 @@ make html</userinput></screen>
|
||||
|
||||
<para>To test the results, issue:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "PATH=$PATH make check"</userinput></screen>
|
||||
|
||||
<para>Install the package and its documentation:</para>
|
||||
|
@ -103,7 +103,7 @@
|
||||
<screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
|
||||
</warning>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .
|
||||
<screen><userinput remap="test">chown -R tester .
|
||||
su tester -c "make -k check"</userinput></screen>
|
||||
|
||||
<para>The <emphasis>hardlink</emphasis> tests will fail if the host's kernel
|
||||
|
@ -66,7 +66,7 @@
|
||||
<systemitem class="username">tester</systemitem> can write
|
||||
to the source tree:</para>
|
||||
|
||||
<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
|
||||
<screen><userinput remap="test">chown -R tester .</userinput></screen>
|
||||
|
||||
<para>Now run the tests as user <systemitem
|
||||
class="username">tester</systemitem>:</para>
|
||||
|
18
packages.ent
18
packages.ent
@ -255,10 +255,10 @@
|
||||
<!ENTITY gettext-fin-du "250 MB">
|
||||
<!ENTITY gettext-fin-sbu "1.4 SBU">
|
||||
|
||||
<!ENTITY glibc-version "2.38">
|
||||
<!ENTITY glibc-size "18,471 KB">
|
||||
<!ENTITY glibc-version "2.39">
|
||||
<!ENTITY glibc-size "18,092 KB">
|
||||
<!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.xz">
|
||||
<!ENTITY glibc-md5 "778cce0ea6bf7f84ca8caacf4a01f45b">
|
||||
<!ENTITY glibc-md5 "be81e87f72b5ea2c0ffe2bedfeb680c6">
|
||||
<!ENTITY glibc-home "&gnu-software;libc/">
|
||||
<!ENTITY glibc-tmp-du "858 MB">
|
||||
<!ENTITY glibc-tmp-sbu "1.6 SBU">
|
||||
@ -431,12 +431,12 @@
|
||||
|
||||
<!ENTITY linux-major-version "6">
|
||||
<!ENTITY linux-minor-version "7">
|
||||
<!ENTITY linux-patch-version "2">
|
||||
<!ENTITY linux-patch-version "3">
|
||||
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
|
||||
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
|
||||
<!ENTITY linux-size "138,085 KB">
|
||||
<!ENTITY linux-size "138,128 KB">
|
||||
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
|
||||
<!ENTITY linux-md5 "62b0a6c979a54569295d34ed57f47875">
|
||||
<!ENTITY linux-md5 "a542a2aea4db4cf09e932fff02c8d1d1">
|
||||
<!ENTITY linux-home "https://www.kernel.org/">
|
||||
<!-- measured for 6.5.3 / gcc-13.2.0 on x86_64 with -j4 : minimum is
|
||||
allnoconfig + some configs we recommend for the users, rounded down to
|
||||
@ -712,10 +712,10 @@
|
||||
<!ENTITY texinfo-fin-du "128 MB">
|
||||
<!ENTITY texinfo-fin-sbu "0.3 SBU">
|
||||
|
||||
<!ENTITY tzdata-version "2023d">
|
||||
<!ENTITY tzdata-size "440 KB">
|
||||
<!ENTITY tzdata-version "2024a">
|
||||
<!ENTITY tzdata-size "444 KB">
|
||||
<!ENTITY tzdata-url "https://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz">
|
||||
<!ENTITY tzdata-md5 "08b9d559939670725ec298fdbb029649">
|
||||
<!ENTITY tzdata-md5 "2349edd8335245525cc082f2755d5bf4">
|
||||
<!ENTITY tzdata-home "https://www.iana.org/time-zones">
|
||||
|
||||
<!ENTITY udev-fin-du "138 MB">
|
||||
|
@ -17,11 +17,11 @@
|
||||
<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
|
||||
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
|
||||
<!ENTITY glibc-fhs-patch-size "2.8 KB">
|
||||
|
||||
<!--
|
||||
<!ENTITY glibc-upstream-fixes-patch "glibc-&glibc-version;-upstream_fixes-4.patch">
|
||||
<!ENTITY glibc-upstream-fixes-patch-md5 "66e843b00688c641c9bdda684db45b43">
|
||||
<!ENTITY glibc-upstream-fixes-patch-size "36 KB">
|
||||
|
||||
-->
|
||||
<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
|
||||
<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
|
||||
<!ENTITY kbd-backspace-patch-size "12 KB">
|
||||
|
Loading…
Reference in New Issue
Block a user