Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671300

Summary: user.eclass: multiple cosmetic issues for EAPI=7 (e.g. use of ${ROOT} with assumption of trailing slash)
Product: Gentoo Linux Reporter: Leho Kraav (:macmaN @lkraav) <leho>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=734002
Whiteboard:
Package list:
Runtime testing required: ---

Description Leho Kraav (:macmaN @lkraav) 2018-11-16 23:02:58 UTC
Filing this in the spirit of

https://bugs.gentoo.org/666635
https://bugs.gentoo.org/666944

user.eclass is using `${ROOT}` for messaging in several locations, where if output will be empty if "/", leaving the message incomplete.

Example:

die "${eshell} does not exist in ${ROOT}"
Comment 1 Mike Gilbert gentoo-dev 2022-12-07 00:01:24 UTC
user.eclass has been removed from the gentoo repo.
Comment 2 Oleh Kravchenko 2022-12-11 14:16:58 UTC
(In reply to Mike Gilbert from comment #1)
> user.eclass has been removed from the gentoo repo.

What should be used instead?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-11 14:20:49 UTC
(In reply to Oleh Kravchenko from comment #2)
> (In reply to Mike Gilbert from comment #1)
> > user.eclass has been removed from the gentoo repo.
> 
> What should be used instead?

https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html with ID -1.