Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843707 - user.eclass uses a reserved function name
Summary: user.eclass uses a reserved function name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Lowest QA (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 843680
  Show dependency tree
 
Reported: 2022-05-11 06:46 UTC by Ulrich Müller
Modified: 2022-05-16 23:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2022-05-11 06:46:11 UTC
Function name _assert_pkg_ebuild_phase is a reserved name and must not be used.

Policy reference:
https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17
Comment 1 Ulrich Müller gentoo-dev 2022-05-15 07:50:49 UTC
Patch posted to gentoo-dev:
https://archives.gentoo.org/gentoo-dev/message/ec0bd299ba4cf7e1cffc08b5cd344566
Comment 2 Larry the Git Cow gentoo-dev 2022-05-16 23:29:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949f1967cfbe394838ddaa39678b908f3e50bccf

commit 949f1967cfbe394838ddaa39678b908f3e50bccf
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-05-15 13:19:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-16 23:29:29 +0000

    user.eclass: Avoid reserved function name
    
    Names that contain "ebuild" are reserved for package manager use.
    
    Closes: https://bugs.gentoo.org/843707
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/user.eclass | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)