Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10614

[Funtoo From Scratch] Update zlib sources to version 1.2.13

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      During a live stream tonight I ventured into ffs with borisp and followed this guide: https://code.funtoo.org/bitbucket/projects/CORE/repos/ffs/browse/README.rst

      7 minutes into the build I hit this error:

       

      time ./ci/lxd-baremetal/bin/ffs gnu x86-64bit
      ...
      ./configure \
        --prefix=${CLFS}/cross-tools
        make
        make install
        ln -s pkgconf ${CLFS}/cross-tools/bin/pkg-config
      EOF
      + umask 022
      + install -d /root/ffs-repo/sources
      + install -d /root/ffs-repo/build
      + export PATH=/root/ffs-repo/bin:/root/ffs-repo/cross-tools/bin:/bin:/usr/bin
      + PATH=/root/ffs-repo/bin:/root/ffs-repo/cross-tools/bin:/bin:/usr/bin
      + rm -rf /root/ffs-repo/build/automake-1.15.1
      + cd /root/ffs-repo/build
      + tar xf /root/ffs-repo/sources/pkgconf-1.5.4.tar.xz
      tar: /root/ffs-repo/sources/pkgconf-1.5.4.tar.xz: Cannot open: No such file or directory
      tar: Error is not recoverable: exiting now
      Error encountered -- exit code 512
      Test failure: step cross_tools failed.
      real    7m12.376s
      

      After further inspection of the log output I found this gem:

       

      Fetching zlib
      --2022-10-16 06:08:38--  https://zlib.net/zlib-1.2.12.tar.gz
      Resolving zlib.net... 85.187.148.2
      Connecting to zlib.net|85.187.148.2|:443... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2022-10-16 06:08:38 ERROR 404: Not Found.

      It appears ffs still continues the build process if it hits a 404 on a sources download, but if a 404 is hit, all subsequent sources downloads are short circuited, thus leading to the build failure.

      A simple fix to this is to update zlib version to 1.2.13 in the profiles/gnu/sources.yaml config.

       

       

            siris siris
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: