Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843686 - linux-info.eclass uses a reserved function name
Summary: linux-info.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 Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 843680
  Show dependency tree
 
Reported: 2022-05-11 06:41 UTC by Ulrich Müller
Modified: 2022-08-07 21:42 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 06:41:57 UTC
Function name set_arch_to_portage 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 Larry the Git Cow gentoo-dev 2022-05-12 12:47:02 UTC
The bug has been closed via the following commit(s):

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

commit 2b037467f31b9df40e8298005ebc8d69d2b508fe
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-05-12 12:45:43 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-05-12 12:45:43 +0000

    linux-info.eclass: Fix func name to comply with pms, dep old with deadline
    
    According to PMS certain words are reserved for package manager use
    and may not be used or relied upon by ebuilds.
    
    See: https://projects.gentoo.org/pms/8/pms.html#x1-13700012.3.17
    
    Closes: https://bugs.gentoo.org/843686
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 eclass/linux-info.eclass | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
Comment 2 Larry the Git Cow gentoo-dev 2022-08-07 21:42:04 UTC
The bug has been referenced in the following commit(s):

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

commit e48ea29166138bc3f675f3809ca3785b862598a0
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2022-08-07 21:40:59 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2022-08-07 21:40:59 +0000

    linux-info: Remove deprecated eclass func after warning period expiration
    
    Bug: https://bugs.gentoo.org/843686
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 eclass/linux-info.eclass | 15 ---------------
 1 file changed, 15 deletions(-)