Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843722 - multilib.eclass uses reserved variable names
Summary: multilib.eclass uses reserved variable names
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 843680
  Show dependency tree
 
Reported: 2022-05-11 07:22 UTC by Ulrich Müller
Modified: 2022-05-17 03:10 UTC (History)
1 user (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 07:22:03 UTC
Variable names __libdir_riscvdefaultabi and __libdir_riscvdefaultabi_variable are reserved names 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:34:46 UTC
Patch posted to gentoo-dev:
https://archives.gentoo.org/gentoo-dev/message/7de1dc5b0ed98b74de947f7259d1fb88
Comment 2 Larry the Git Cow gentoo-dev 2022-05-17 03:10:44 UTC
The bug has been closed via the following commit(s):

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

commit a7be80ffab84db91e93f4d27021a63bbec490a9f
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-05-15 07:26:39 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-05-17 03:02:52 +0000

    multilib.eclass: Avoid reserved variable names
    
    Names that begin with __ are reserved for package manager use.
    
    Closes: https://bugs.gentoo.org/843722
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 eclass/multilib.eclass | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)