Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780477 - emerge --info add more variables
Summary: emerge --info add more variables
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-06 00:26 UTC by Alessandro Barbieri
Modified: 2022-03-16 01:45 UTC (History)
4 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 Alessandro Barbieri 2021-04-06 00:26:22 UTC
Could you please make "emerge --info" also report these variables?

LIBTOOL
MAKE
MAKEFLAGS
SHELL
CONFIG_SHELL
Comment 1 Zac Medico gentoo-dev 2021-04-06 00:51:25 UTC
Sure, we can add them here:

https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/info_vars
Comment 2 Ionen Wolkens gentoo-dev 2021-04-06 01:06:09 UTC
LIBTOOL is more normally part of MAKEFLAGS/OPTS and doesn't make much sense on its own.

That's a lot of variables that people typically don't set at all though.
Comment 3 Larry the Git Cow gentoo-dev 2021-12-14 05:09:55 UTC
The bug has been closed via the following commit(s):

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

commit 6dcc3c0a1834ceb92f8db8e09b5d38afd51adac4
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-05-13 18:53:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-14 05:09:40 +0000

    profiles: info_vars add more variables, sorting
    
    Bug: https://bugs.gentoo.org/722456
    Closes: https://bugs.gentoo.org/780477
    Closes: https://github.com/gentoo/gentoo/pull/20797
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/info_vars | 41 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 37 insertions(+), 4 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-14 05:11:27 UTC
(In reply to Ionen Wolkens from comment #2)
> LIBTOOL is more normally part of MAKEFLAGS/OPTS and doesn't make much sense
> on its own.
> 
> That's a lot of variables that people typically don't set at all though.

Agree it's odd, although I think it's useful to know if somebody _has_ set them (they just end up in the unset list down the bottom otherwise and it's not too bad with this list).

Happy to prune some out if needed though.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-14 05:13:52 UTC
The bug has been referenced in the following commit(s):

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

commit ac0374d872d6f16cba50a46aaf749ec3d6a44910
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-14 05:13:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-14 05:13:10 +0000

    profiles: drop 'RM' from info_vars
    
    I don't see why anyone would set this, and if they are, I assume
    they are doing other crazy things too. Feel free to enlighten me
    if I'm missing something.
    
    Bug: https://bugs.gentoo.org/780477
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/info_vars | 1 -
 1 file changed, 1 deletion(-)