Changeset e7c8506a


Ignore:
Timestamp:
11/20/2021 11:29:04 PM (2 years ago)
Author:
Ken Moffat <ken@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
e44952d
Parents:
4b852e51
Message:

Update to rustc-1.56.1 and fixit for openssl-3 :

Use a sed to ensure fixed versions of the curl and curl-sys crates
are downloaded.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r4b852e51 re7c8506a  
    77  <!ENTITY rust-download-http "https://static.rust-lang.org/dist/rustc-&rust-version;-src.tar.gz">
    88  <!ENTITY rust-download-ftp  " ">
    9   <!ENTITY rust-md5sum        "2a5f12b375b9b8fffe2340f6c2d27eab">
     9  <!ENTITY rust-md5sum        "6d1728cf0a86b0c5f33d3870379997ed">
    1010  <!ENTITY rust-size          "172 MB">
    1111  <!-- Gentle Reminder: buildsize is how much the user requires for the real
     
    1515       after the tests. -->
    1616
    17   <!ENTITY rust-buildsize     "8.8 GB (424 MB installed) including 285 MB of ~/.cargo files for the user building this. Add 5.9 GB including extra 273 MB of ~/.cargo files if running the tests">
    18   <!ENTITY rust-time          "22 SBU (including download time; add 13 SBU for tests, both on a 4-core machine)">
     17  <!ENTITY rust-buildsize     "8.8 GB (370 MB installed) including 309 MB of ~/.cargo files for the user building this. Add 6.2 GB including extra 273 MB of ~/.cargo files if running the tests">
     18  <!ENTITY rust-time          "27 SBU (including download time; add 13 SBU for tests, both on a 4-core machine)">
    1919]>
    2020
     
    8383        class="directory">/opt</filename> directory.  In particular, if you
    8484        have reason to rebuild with a modified configuration (e.g. using the
    85         shipped LLVM after building with shared LLVM, or for the
    86         reverse situation) it is possible for the install to leave a broken
     85        shipped LLVM after building with shared LLVM, perhaps to compile crates
     86        for architectres which the BLFS LLVM build does not support)
     87        it is possible for the install to leave a broken
    8788        <command>cargo</command> program. In such a situation, either remove
    8889        the existing installation first, or use a different prefix such as
     
    207208      (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to
    208209      system LLVM instead of building its shipped version)
     210      <!-- the versions of LLVM in LFS-10.0, 10.1 and 11.0 are good enough
     211           to use for this version of rustc, so do not mention builds
     212           using shipped LLVM here, those are a lot bigger.
    209213      If using an older version, see the config.toml file below re
    210       using the shipped llvm, because of rust issue 69225.
     214      using the shipped llvm, because of rust issue 69225.-->
    211215    </para>
    212216
     
    304308    </para>
    305309
    306 <screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" &amp;&amp;
     310<screen><userinput>sed -i -e '/^curl /s/0.4.38/0.4.40/' \
     311       -e '/^curl-sys /s/0.4.48/0.4.50/' \
     312       src/tools/cargo/Cargo.toml &amp;&amp;
     313
     314export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" &amp;&amp;
    307315python3 ./x.py build --exclude src/tools/miri</userinput></screen>
    308316
     
    325333
    326334    <para>
    327       At a minimum, fourteen tests will fail: all the tests (eleven) in
    328       the <quote>assembly</quote> suite,
     335      At a minimum, fifteen tests will fail: all the tests (twelve) in
     336      the <quote>assembly</quote> suite, apparently because warnings are
     337      tuened on,
    329338      run-make-fulldeps/long-linker-command-lines, run-make-fulldeps/print-cfg,
    330339      run-make-fulldeps/sysroot-crates-are-unstable.
     
    438447      against the shipped llvm, or do not have clang, but the resulting build will
    439448      be larger and take longer.
     449    </para>
     450
     451    <para>
     452      <command>sed -i -e '/^curl /s/0.4.38/0.4.40/' ... </command>: two crates
     453      normally downloaded for this release do not correctly initialise
     454      <application>curl</application> if using
     455      <application>openssl-3.0.0</application>. Upstream has fixed that for a
     456      future release, this sed causes the fixed versions to be used.
    440457    </para>
    441458
  • introduction/welcome/changelog.xml

    r4b852e51 re7c8506a  
    4343    -->
    4444    <listitem>
     45      <para>November 20th, 2021</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[ken] - Update to rustc-1.56.1 and adjust it to be
     49          ready for openssl-3.0.0.. Fixes
     50          <ulink url="&blfs-ticket-root;15767">#15767</ulink>.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4556      <para>November 18th, 2021</para>
    4657      <itemizedlist>
  • packages.ent

    r4b852e51 re7c8506a  
    373373<!ENTITY ruby-version                 "&ruby-minor-version;.&ruby-patch-version;">
    374374<!ENTITY ruby-gemdir                  "/usr/lib/ruby/gems/&ruby-minor-version;.0">
    375 <!ENTITY rust-version                 "1.56.0">
     375<!ENTITY rust-version                 "1.56.1">
    376376<!ENTITY scons-version                "4.2.0">
    377377<!ENTITY slang-version                "2.3.2">
Note: See TracChangeset for help on using the changeset viewer.