| Summary: | improper output after emerge--depclean of gcc 4.5 | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | chris.murtagh1 |
| Component: | Unclassified | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | bkohler, chris.murtagh1, zerochaos |
| Priority: | Normal | ||
| Version: | 2.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
chris.murtagh1
2013-01-11 00:16:36 UTC
I decided to try this on one of my stable machines, just a straight unmerge of gcc-4.5.4 (after installing the newly stable 4.6.3). Saw the same goofy message as reporter. Glancing at toolchain.eclass, it looks like that warning should only be called on pre/postinst, but... something else is happening.
--------------
# emerge -C gcc:4.5
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.
sys-devel/gcc
selected: 4.5.4
protected: none
omitted: 4.6.3
All selected packages: sys-devel/gcc-4.5.4
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) sys-devel/gcc-4.5.4...
gcc-config -l
* The current gcc config appears valid, so it will not be
* automatically switched for you. If you would like to
* switch to the newly installed gcc version, do the
* following:
* gcc-config x86_64-pc-linux-gnu-4.5.4
* source /etc/profile
* Switching native-compiler to x86_64-pc-linux-gnu-4.6.3 ...>>> Regenerating /etc/ld.so.cache...
[ ok ]
* Running 'fix_libtool_files.sh 4.5.4'
<omitted a bunch of scans from fix_libtool_files.sh>
* Regenerating GNU info directory index...
* Processed 5 info files.
#
-----------------
So, he's not crazy. It seems to happen
Sorry I cut myself off up there. I can only reproduce it after the initial installation of 4.6.3 & unmerge of 4.5.4, I can't get it to happen again no matter which combination of versions I reinstall/activate/unmerge. I can confirm, myself and 2 other developers on the Pentoo project had this exact issue. I stabilized 4.6 in our profile a few months back, and after each of us ran depclean our gcc completely broke until running gcc-config and setting it to gcc-4.6 manually. I have no idea why this happens, but I can confirm it's probably going to happen to a lot of people since we just stabilized 4.6 *** This bug has been marked as a duplicate of bug 446830 *** If the symptom shows up on with the current portage tree, with current eclasses, how is it a dupe of the other closed bug? Nevermind, I see now-- gcc installed before the fix from bug 446830 will still display the old/undesirable einfo upon unmerge. (In reply to comment #6) yes, unfortunately based on the design (which in & of itself isn't wrong), pkg_* funcs get written at time of installation which means bugs found afterwards are generally not fixable. |