-
Bug
-
Resolution: Fixed
-
Severe (Ebuild)
-
None
-
None
-
blocks ebuild.
-
Upstream source code change
A recent released of the app-misc/tealdeer Rust application has breaking changes. Shell completion files have moved to a different sub-directory in the main source code causing this error with the autogenned version 1.6.0:
Installed package `tealdeer v1.6.0 (/var/tmp/portage/app-misc/tealdeer-1.6.0/work/tealdeer-1.6.0)` (executable `tldr`) warning: be sure to add `/var/tmp/portage/app-misc/tealdeer-1.6.0/image/usr/bin` to your PATH to be able to run the installed binaries * ERROR: app-misc/tealdeer-1.6.0::core-kit failed (install phase): * !!! newins: bash_tealdeer does not exist * * If you need support, post the output of `emerge --info '=app-misc/tealdeer-1.6.0::core-kit'`, * the complete build log and the output of `emerge -pqv '=app-misc/tealdeer-1.6.0::core-kit'`. * The complete build log is located at '/var/tmp/portage/app-misc/tealdeer-1.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/tealdeer-1.6.0/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/tealdeer-1.6.0/work/tealdeer-1.6.0' * S: '/var/tmp/portage/app-misc/tealdeer-1.6.0/work/tealdeer-1.6.0' * Messages for package app-misc/tealdeer-1.6.0: * ERROR: app-misc/tealdeer-1.6.0::core-kit failed (install phase): * !!! newins: bash_tealdeer does not exist
Release details: https://github.com/dbrgn/tealdeer/releases/tag/v1.6.0
This should be a simple fix to add the completion directory prefix for all shell completion installs in the autogen template:
tar tzvf ~/Downloads/tealdeer-1.6.0.tar.gz -rw-rw-r-- root/root 722 2022-10-01 15:36 tealdeer-1.6.0/completion/bash_tealdeer -rw-rw-r-- root/root 1488 2022-10-01 15:36 tealdeer-1.6.0/completion/fish_tealdeer -rw-rw-r-- root/root 1580 2022-10-01 15:36 tealdeer-1.6.0/completion/zsh_tealdeer
Also, this will be a good opportunity to move this packages to `dev-kit` and the `sys-apps` category, it doesn't make sense to have this in core-kit (most of our custom Rust system tools and apps are located in dev-kit's `sys-apps` Category.