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

[dev-kit] sys-apps/fd-8.5.0 autogen Rust crate install broken due to upstream shell completion change

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • Cannot install sys-app/fd-8.5.0 on Funtoo
    • Upstream code change

      During tonight's ego sync and update on Funtoo next I encountered this install error for sys-apps/fd:

       

       * ERROR: sys-apps/fd-8.5.0::dev-kit failed (install phase):
       *   !!! newins: /var/tmp/portage/sys-apps/fd-8.5.0/temp/shell_completions/fd.bash does not exist
       *
       * If you need support, post the output of `emerge --info '=sys-apps/fd-8.5.0::dev-kit'`,
       * the complete build log and the output of `emerge -pqv '=sys-apps/fd-8.5.0::dev-kit'`.
       * The complete build log is located at '/var/tmp/portage/sys-apps/fd-8.5.0/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/sys-apps/fd-8.5.0/temp/environment'.
       * Working directory: '/var/tmp/portage/sys-apps/fd-8.5.0/work/fd-8.5.0'
       * S: '/var/tmp/portage/sys-apps/fd-8.5.0/work/fd-8.5.0'
       * Messages for package sys-apps/fd-8.5.0:
       * ERROR: sys-apps/fd-8.5.0::dev-kit failed (install phase):
       *   !!! newins: /var/tmp/portage/sys-apps/fd-8.5.0/temp/shell_completions/fd.bash does not exist
       *
       * If you need support, post the output of `emerge --info '=sys-apps/fd-8.5.0::dev-kit'`,
       * the complete build log and the output of `emerge -pqv '=sys-apps/fd-8.5.0::dev-kit'`.
       * The complete build log is located at '/var/tmp/portage/sys-apps/fd-8.5.0/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/sys-apps/fd-8.5.0/temp/environment'.
       * Working directory: '/var/tmp/portage/sys-apps/fd-8.5.0/work/fd-8.5.0'
       * S: '/var/tmp/portage/sys-apps/fd-8.5.0/work/fd-8.5.0'
      

      Upon further inspection of the upstream Rust Crate source code, it looks like v8.5.0 incorporated dynamic shell completion generation into its CLI and now auto generates shell completion files using the rust binary and this Makefile: https://github.com/sharkdp/fd/blob/master/Makefile except for zsh which is still in the repo at: https://github.com/sharkdp/fd/blob/master/contrib/completion/_fd

      Please update the autogen template to accommodate this upstream breakage and new behavior.

       

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

              Created:
              Updated:
              Resolved: