| Summary: | eselect-compiler-2.0.0_rc1 can't find store_config | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
| Component: | [OLD] Core system | Assignee: | Jeremy Huddleston (RETIRED) <eradicator> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Jeremy: 'config' is missing from the inherit line... inherit has been introduced as of eselect-1.0_rc1. |
Marked "blocker" because this bug prevents switching gcc-profiles, period, and that's what the software is intended to do. Command and reported errors (rewrapped): <quote> # eselect compiler set 12 /usr/share/eselect//modules/compiler.eselect: line 521: store_config: command not found /usr/share/eselect//modules/compiler.eselect: line 522: store_config: command not found /usr/share/eselect//modules/compiler.eselect: line 523: store_config: command not found !!! Error: Could not set //etc/env.d/05compiler exiting. </quote> Note that I /do/ see that function, in /usr/share/eselect/libs/config.bash. It's just that said file is apparently not sourced so the function doesn't appear to exist. By way of confirmation, adding this line: . /usr/share/eselect/libs/config.bash near the top of compiler.eselect, eliminates the issue. Obviously hardcoding that is a hack. I expect you're already using a better solution, only you missed triggering it, here. Reproducible: Always Steps to Reproduce: Actual Results: # emerge -p eselect eselect-compiler [snip] [ebuild R ] app-admin/eselect-1.0_rc1 [ebuild R ] app-admin/eselect-compiler-2.0.0_rc1 Abridged emerge info: Portage 2.0.53_rc6 (default-linux/amd64/2005.0, gcc-4.0.2, glibc-2.3.5.20050722-r0, 2.6.14-rc3 x86_64) ================================================================= System uname: 2.6.14-rc3 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/binutils: 2.16.91.0.1 sys-devel/libtool: 1.5.20 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu"