Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549498 - app-eselect/eselect-java emits "(unset)" on stderr for ecj and maven
Summary: app-eselect/eselect-java emits "(unset)" on stderr for ecj and maven
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 21:44 UTC by Robin Johnson
Modified: 2018-03-04 12:07 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-05-14 21:44:15 UTC
Unlike all the rest of the eselect modules, the ecj.eselect and maven.eselect modules write to stderr for errors.

echo "(not a symlink)" >&2
echo "(unset)" >&2

This is different from every other eselect module, which generally does:
write_kv_list_entry "(not a symlink or target of symlink does not exist)" ""
write_kv_list_entry "(unset)" ""

For those two cases.

This is mostly a problem for puppet, as then the eselect class in puppet does not pick up that those are unset properly.
Comment 1 James Le Cuirot gentoo-dev 2015-05-14 22:03:45 UTC
I'll probably be bumping eselect-java soon for other changes so I'll make a note of this.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2015-06-28 22:29:25 UTC
Reping on this bug for any progress?
Comment 3 James Le Cuirot gentoo-dev 2015-06-28 22:37:52 UTC
Sorry. You're probably aware that Java team are snowed under. This hasn't bubbled to the top of the list yet but it isn't that far off because I'm keen to fix up java-nsplugin, which is part of this package.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-03-22 23:19:50 UTC
@java:
ping for this please. It generates a lot of spam for infra :-(.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-07-11 16:57:14 UTC
@java, @eselect:

This bug has been open more than a year now; I'm revbumping it with a simple patch to NOT send those "(unset)" entries to stdout.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-07-11 16:59:41 UTC
@java, @eselect:
revbump with hotfix done, please stable or fix it for real.
Comment 7 Larry the Git Cow gentoo-dev 2018-03-04 12:07:18 UTC
The bug has been closed via the following commit(s):

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

commit 12b1e1135f89f04d2d12d2df862cf27cb08c6ea0
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-03-04 12:04:53 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-04 12:06:19 +0000

    app-eselect/eselect-java: 0.4.0 stable on ppc64, x86 using ALLARCHES
    
    Closes: https://bugs.gentoo.org/649506
    Closes: https://bugs.gentoo.org/549498
    Closes: https://bugs.gentoo.org/585224
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-eselect/eselect-java/eselect-java-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)