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

[net-kit] www-apps/grafana-bin-10.2.3 install is broken due to upstream tarball change

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical (Application) Critical (Application)
    • None
    • None
    • sudo emerge -av1 www-apps/grafana-bin

      During a recent system update I discovered that www-apps/grafana-bin-10.2.3 emerge is broken:

      >>> Failed to emerge www-apps/grafana-bin-10.2.3, Log file:
      >>>  '/var/tmp/portage/www-apps/grafana-bin-10.2.3/temp/build.log'
      >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.64, 0.49, 0.46
       * Package:    www-apps/grafana-bin-10.2.3z2}[16]@12/30/2022 -> 4.0.2(4.0)^t): 3D Creation/Animation/Publishing System
       * Repository: net-kit
       * USE:        amd64 elibc_glibc kernel_linux userland_GNU
       * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
      >>> Unpacking source...
      >>> Unpacking grafana-10.2.3.linux-amd64.tar.gz to /var/tmp/portage/www-apps/grafana-bin-10.2.3/work
      >>> Source unpacked in /var/tmp/portage/www-apps/grafana-bin-10.2.3/work
       * ERROR: www-apps/grafana-bin-10.2.3::net-kit failed (prepare phase):
       *   The source directory '/var/tmp/portage/www-apps/grafana-bin-10.2.3/work/grafana-10.2.3' doesn't exist
       *
       * Call stack:
       *            ebuild.sh, line  731:  Called __ebuild_main 'prepare'
       *   phase-functions.sh, line 1050:  Called __dyn_prepare
       *   phase-functions.sh, line  384:  Called die
       * The specific snippet of code:
       *               die "The source directory '${S}' doesn't exist"

      After further inspection is appears that the source directory naming scheme and specifically the version scheme has changed. The semantic version of the source code directory now contains a v prefix :

      sudo ls -sl /var/tmp/portage/www-apps/grafana-bin-10.2.3/work/
      total 0
      0 drwxr-xr-x 11 portage portage 320 Dec 23 14:08 grafana-v10.2.3

      This should be a quite fix the www-apps/grafana-bin autogen template to accommodate this upstream change.

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

              Created:
              Updated:
              Resolved: