Any attempt to execute eselect will produce the following error: `ec_do_list-options': not a valid identifier `ec_do_list-modules': not a valid identifier Evidently, the two function names do not follow bash convention by including hyphens. To fix this problem, these two function names should be rewritten to use underscores rather than hyphens: ec_do_list_options ec_do_list_modules When this is done, the problem disappears and eselect runs normally. Important Note: This particular eselect failure does not occur on all systems. In most cases, perhaps, the problem does not occur. However, the use of hyphens in bash variables and function names is poor practice and rewriting these two names with underscores will insure that eselect will not fail anywhere. Reproducible: Always Steps to Reproduce: 1. eselect <any options> 2. 3.
Created attachment 200032 [details] Output of emerge --info
The issue is resolved, unless others want to comment. See #280174
Thanks for reporting, I'm going to go ahead and mark this as a duplicate of your other bug because the same resolution seems to have solved both of them. To be sure, please do comment on the other bug and mark it as fixed if the issue is fixed for you. *** This bug has been marked as a duplicate of bug 280174 ***
Not a dupe, but a valid issue. Reopening.
eselect translates actions (like "eselect list-modules") directly into function names, so it's not entirely trivial to change the name. I've committed a fix to SVN (r692,r693). As a side effect, eselect will accept action names like "list_*" in addition to their hyphen counterparts, but I think that's acceptable.
Fixed in eselect-1.2.5. Thanks for reporting.