Update to mariadb-10.5.4.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23330 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2020-06-25 18:16:17 +00:00
parent 44ce01f845
commit 8e4d9e6e89
4 changed files with 13 additions and 54 deletions

View File

@ -44,6 +44,10 @@
<listitem> <listitem>
<para>June 25th, 2020</para> <para>June 25th, 2020</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[bdubbs] - Update to mariadb-10.5.4. Fixes
<ulink url="&blfs-ticket-root;13720">#13720</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[renodr] - Update to exempi-2.5.2. Fixes <para>[renodr] - Update to exempi-2.5.2. Fixes
<ulink url="&blfs-ticket-root;13715">#13715</ulink>.</para> <ulink url="&blfs-ticket-root;13715">#13715</ulink>.</para>

View File

@ -126,26 +126,10 @@
Install <application>PulseAudio</application> by running the following Install <application>PulseAudio</application> by running the following
commands: commands:
</para> </para>
<!--
<para>
First, adapt Pulseaudio to upstream ALSA API changes:
</para>
-->
<!-- This is due to it becoming FATAL to include ALSA headers from
/usr/include instead of /usr/include/alsa. Only one of these
files uses pkg-config to get it's headers, and as a result,
the hardcoded paths need to be updated. In this case, I developed
three seds and a call to ./bootstrap.sh to fix this. Other packages
may be affected by this upstream ALSA change as well. -->
<!--
<screen><userinput>Esed -i "s:asoundlib.h:alsa/asoundlib.h:" src/modules/alsa/*.{c,h} &amp;&amp;
sed -i "s:use-case.h:alsa/use-case.h:" configure.ac &amp;&amp;
sed -i "s:use-case.h:alsa/use-case.h:" src/modules/alsa/alsa-ucm.h</userinput></screen>
-->
<screen revision="sysv"><userinput>./configure --prefix=/usr \ <screen revision="sysv"><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--disable-bluez4 \
--disable-bluez5 \ --disable-bluez5 \
--disable-rpath \ --disable-rpath \
--with-systemduserunitdir=no &amp;&amp; --with-systemduserunitdir=no &amp;&amp;
@ -154,18 +138,12 @@ make</userinput></screen>
<screen revision="systemd"><userinput>./configure --prefix=/usr \ <screen revision="systemd"><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--disable-bluez4 \
--disable-bluez5 \ --disable-bluez5 \
--disable-rpath &amp;&amp; --disable-rpath &amp;&amp;
make</userinput></screen> make</userinput></screen>
<para> <para>
To test the results, issue: <command>make check</command>. To test the results, issue: <command>make check</command>.
<!-- The volume-test may fail for unknown reasons.
Works OK for pa-13.0 -->
<!-- apparently, the max deviation is higher than expected, i.e. assertion
failed, result of 280 > 253 : but it seems to work -->
</para> </para>
<para> <para>
@ -188,22 +166,6 @@ make</userinput></screen>
<sect2 role="commands"> <sect2 role="commands">
<title>Command Explanations</title> <title>Command Explanations</title>
<!--
<para>
<command>AUTOPOINT='intltoolize ...</command>:
<command>autoreconf</command> needs to be run after applying the
patch. Running <command>intltoolize</command> instead of
<command>autopoint</command> prevents an error when running
<command>configure</command> afterwards.
</para>
-->
<para>
<parameter>--disable-bluez4</parameter>: This switch disables
support for <application>BlueZ</application> version 4 in favour
of <application>BlueZ</application> version 5 since the latter
also installs compatibility library for the earlier version.
</para>
<para> <para>
<parameter>--disable-bluez5</parameter>: This switch prevents <parameter>--disable-bluez5</parameter>: This switch prevents

View File

@ -659,7 +659,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
<!-- Chapter 22 --> <!-- Chapter 22 -->
<!ENTITY db-version "5.3.28"> <!ENTITY db-version "5.3.28">
<!ENTITY lmdb-version "0.9.24"> <!ENTITY lmdb-version "0.9.24">
<!ENTITY mariadb-version "10.4.13"> <!ENTITY mariadb-version "10.5.4">
<!ENTITY postgresql-version "12.3"> <!ENTITY postgresql-version "12.3">
<!ENTITY sqlite-version "3.32.3"> <!ENTITY sqlite-version "3.32.3">

View File

@ -7,10 +7,10 @@
<!ENTITY mariadb-download-http "https://downloads.mariadb.org/interstitial/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz"> <!ENTITY mariadb-download-http "https://downloads.mariadb.org/interstitial/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz">
<!ENTITY mariadb-download-ftp "ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz"> <!ENTITY mariadb-download-ftp "ftp://mirrors.fe.up.pt/pub/mariadb/mariadb-&mariadb-version;/source/mariadb-&mariadb-version;.tar.gz">
<!ENTITY mariadb-md5sum "89e832d6d89dc9bd4c98657a954e0f2c"> <!ENTITY mariadb-md5sum "056c7351d99f2dff579f8ab40ee4a463">
<!ENTITY mariadb-size "77 MB"> <!ENTITY mariadb-size "83 MB">
<!ENTITY mariadb-buildsize "1.6 GB"> <!ENTITY mariadb-buildsize "1.7 GB (637 MB installed)">
<!ENTITY mariadb-time "8.5 SBU (with parallelism=4, add 0.4 SBU for tests)"> <!ENTITY mariadb-time "7.8 SBU (with parallelism=4, add 0.4 SBU for tests)">
]> ]>
<sect1 id="mariadb" xreflabel="MariaDB-&mariadb-version;"> <sect1 id="mariadb" xreflabel="MariaDB-&mariadb-version;">
@ -147,9 +147,7 @@ useradd -c "MySQL Server" -d /srv/mysql -g mysql -s /bin/false -u 40 mysql</user
following commands: following commands:
</para> </para>
<screen><userinput>sed -i "s@data/test@\${INSTALL_MYSQLTESTDIR}@g" sql/CMakeLists.txt &amp;&amp; <screen><userinput>mkdir build &amp;&amp;
mkdir build &amp;&amp;
cd build &amp;&amp; cd build &amp;&amp;
cmake -DCMAKE_BUILD_TYPE=Release \ cmake -DCMAKE_BUILD_TYPE=Release \
@ -186,8 +184,8 @@ make</userinput></screen>
popd</userinput></screen> popd</userinput></screen>
<para> <para>
Where N is the number of tests to run in parallel. A little Where N is the number of tests to run in parallel.
over 3700 tests are run in about 14 SBU with N=4. Three tests Over 5400 tests are run in about 24 SBU with N=4. Two tests
are known to fail due to character set issues. are known to fail due to character set issues.
</para></note> </para></note>
@ -202,11 +200,6 @@ popd</userinput></screen>
<sect2 role="commands"> <sect2 role="commands">
<title>Command Explanations</title> <title>Command Explanations</title>
<para>
<command>sed -i ... sql/CMakeLists.txt</command>: Set correct installation
directory for some components.
</para>
<para> <para>
<parameter>-DWITH_EMBEDDED_SERVER=ON</parameter>: This switch enables <parameter>-DWITH_EMBEDDED_SERVER=ON</parameter>: This switch enables
compiling the embedded server library needed by certain applications, compiling the embedded server library needed by certain applications,