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

sys-fs/btrfs-progs autogen is failing

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • sys-fs/btrfs-progs autogen fails

      Running doit on sys-fs/btrfs-progs fails with the following error message:

      [ERROR 18:36:40] Invalid version: 'rc1'

      This autogen uses BeautifulSoup to go over a directory listing where the tarballs are uploaded when a new release is published. It then uses a series of string.split() operations to get the "version" portion from the tarball urls.

      Apparently, this resulted in selecting "rc1" as the version portion of a tarball URL, which packaging.version will correctly consider invalid.

      I think the problem is on on line 17:

      vers.append( href.split(pkg_name)[1].split(".tar")[0].split("-")[-1])

      Right now, this autogen is be locked to version "6.1.3" because the newest autogenerated ebuild is failling (see FL-11059), so right now it doesn't matter so much if the autogen fails. I caught this running merge-kits locally.

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

              Created:
              Updated:
              Resolved: