On lunedì 29 agosto 2022 12:10:31 CEST John Covici wrote:
> Hi. I am a lastpass user and saved an ebuild of lpass which seems to
> be no longer in the tree.
>
> I get the following error during my world update:
>
> * cmake-utils.eclass could not be found by inherit()
> *
> * Call stack:
> * ebuild.sh, line 611: Called source
> '/usr/local/portage/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild' *
> lastpass-cli-1.3.3.ebuild, line 7: Called inherit 'cmake-utils'
> 'bash-completion-r1' * ebuild.sh, line 259: Called die
> * The specific snippet of code:
> * [[ -z ${location} ]] && die "${1}.eclass could not be
found by
> inherit()" *
> * If you need support, post the output of `emerge --info
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`, * the complete build log
> and the output of `emerge -pqv
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`. * Working directory:
> '/usr/lib/python3.10/site-packages'
> * S:
> '/var/tmp/portage/app-admin/lastpass-cli-1.3.3/work/lastpass-cli-1.3.3'
>
> I see the eclass is not there -- how to fix?
>
> Thanks in advance for any suggestions.
Looking at the git commit for the cmake-utils.eclass removal [1], it seems it
should be replaced by cmake.eclass. I don't know if it's just a matter of
replacing the inherit line in ebuild or if there are other changes to make,
however.
I hope this helps
Stefano
[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass?
id=3e744f5adb5c46eb013d3f1228f607b094ac212a