Update to ruby-3.3.0.

This commit is contained in:
Bruce Dubbs 2023-12-27 13:34:15 -06:00
parent c29909c877
commit c4f5f1e082
3 changed files with 30 additions and 29 deletions

View File

@ -6,10 +6,10 @@
<!ENTITY ruby-download-http "https://cache.ruby-lang.org/pub/ruby/&ruby-minor-version;/ruby-&ruby-version;.tar.xz">
<!ENTITY ruby-download-ftp " ">
<!ENTITY ruby-md5sum "377853f31d10bfe37c58b8537fc3e05d">
<!ENTITY ruby-size "14 MB">
<!ENTITY ruby-buildsize "694 MB (add 1.0 GB for C API docs)">
<!ENTITY ruby-time "1.2 SBU (using parallelism=4; add 4.6 SBU for tests; add 0.6 SBU for C API docs)">
<!ENTITY ruby-md5sum "b5e59d56faf25b1ec6445abdf203affa">
<!ENTITY ruby-size "16 MB">
<!ENTITY ruby-buildsize "774 MB (with tests and C API docs)">
<!ENTITY ruby-time "3.4 SBU (using parallelism=4; with tests and C API docs)">
]>
<sect1 id="ruby" xreflabel="Ruby-&ruby-version;">
@ -89,15 +89,7 @@
<sect2 role="installation">
<title>Installation of Ruby</title>
<!--
<para>
If you wish to run the tests after installing this package, fix a problem
that results in a crash during the test suite, due to an undefined
variable:
</para>
<screen><userinput>sed -i '283d' tool/lib/leakchecker.rb</userinput></screen>
-->
<para>
Install <application>Ruby</application> by running the following
command:
@ -117,24 +109,12 @@ make</userinput></screen>
<screen><userinput>make capi</userinput></screen>
<para>
The tests require that the new version of Ruby is already installed to
run correctly. If you want to run the tests, execute them after installing
the package. <!-- Ticket #17887 -->
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>
To test the results, issue: <command>make -k check</command>. There are over
25,000 tests. Some tests related to ipv6 may indicate errors. If the
27,000 tests. Some tests related to ipv6 may indicate errors. If the
tests are run in a directory that has a world writable component (e.g.
/tmp) then several additional tests may fail. A few tests may fail due
to system configuration expectations.
/tmp) then several additional tests may fail. Three tests are known
to fail.
</para>
<!-- With 3.0.2:
@ -147,8 +127,25 @@ with 3.2.0 there are several summaries:
311 tests, 1801 assertions, 0 failures, 0 errors, 12 skips
* Finished tests in 462.613063s, 50.5649 tests/s, 12069.0885 assertions/s.
23392 tests, 5583318 assertions, 3 failures, 0 errors, 79 skips
with 3.3.0
* PASS all 1871 tests
* Finished tests in 5.118113s, 63.3046 tests/s, 365.5644 assertions/s.
324 tests, 1871 assertions, 0 failures, 0 errors, 24 skips
* Finished tests in 98.164220s, 270.7809 tests/s, 64362.7996 assertions/s.
26581 tests, 6318124 assertions, 3 failures, 0 errors, 202 skips
* Finished in 6.226990 seconds
3728 files, 32870 examples, 189937 expectations, 0 failures, 7 errors, 0 tagged
* Finished in 1.03 seconds (files took 0.115 seconds to load)
151 examples, 0 failures, 1 pending
-->
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<note>
<para>
If you have Ruby-On-Rails applications installed and did an

View File

@ -41,6 +41,10 @@
<listitem>
<para>December 27th, 2023</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to ruby-3.3.0. Fixes
<ulink url="&blfs-ticket-root;19057">#19057</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to Net-DNS-1.42 (Perl module). Fixes
<ulink url="&blfs-ticket-root;19055">#19055</ulink>.</para>

View File

@ -348,8 +348,8 @@
<!-- Remove once mozilla programs can use python 3.12 -->
<!ENTITY python311-version "3.11.1">
<!ENTITY ruby-minor-version "3.2">
<!ENTITY ruby-patch-version "2">
<!ENTITY ruby-minor-version "3.3">
<!ENTITY ruby-patch-version "0">
<!ENTITY ruby-version "&ruby-minor-version;.&ruby-patch-version;">
<!ENTITY ruby-gemdir "/usr/lib/ruby/gems/&ruby-minor-version;.0">
<!ENTITY rust-version "1.74.1">