Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 225429
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 225429 depends on: Show dependency tree
Bug 225429 blocks: 210077 230275 240323
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-08 19:19 0000
I downgraded sys-devel/gcc-4.2.4 to sys-devel/gcc-4.2.3 and some libraries were
needlessly preserved:

!!! existing preserved libs:
>>> package: sys-devel/gcc-4.2.3
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgcc_s.so
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so.1
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgcc_s.so.1
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so.1.0.0
 *  - /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6.0.9
Use emerge @preserved-rebuild to rebuild packages using these libraries

Next I reinstalled virtual/opengl and these libraries were unpreserved:

<<< !needed   sym /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgcc_s.so
<<< !needed   sym /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so
<<< !needed   sym /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so.1
<<< !needed   sym /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so
<<< !needed   sym /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6
<<< !needed   obj /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgcc_s.so.1
<<< !needed   obj /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libgomp.so.1.0.0
<<< !needed   obj /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/libstdc++.so.6.0.9

------- Comment #1 From Vlastimil Babka (Caster) 2008-10-07 07:48:45 0000 -------
*** Bug 232784 has been marked as a duplicate of this bug. ***

------- Comment #2 From Vlastimil Babka (Caster) 2008-10-07 07:52:04 0000 -------
Same with media-libs/libkipi-0.1.6 - 0.1.6-r1 upgrade (move from /usr/lib to
kde prefix). On emerge @preserved-rebuild the depending packages keep linking
to the preserved versions... I guess the workaround is to delete the old
libraries manually and emerge @preserved-rebuild to relink and clean it up?

------- Comment #3 From Vlastimil Babka (Caster) 2008-10-07 07:58:27 0000 -------
(In reply to comment #2)
> I guess the workaround is to delete the old
> libraries manually and emerge @preserved-rebuild to relink and clean it up?

Hm no, after the manual rm the @preserved-rebuild becomes empty set, leaving
the files missing in CONTENTS. Not totally clean but bearable I guess...

------- Comment #4 From Zac Medico 2008-10-07 15:23:57 0000 -------
*** Bug 240367 has been marked as a duplicate of this bug. ***

------- Comment #5 From Graham Murray 2008-10-08 05:55:09 0000 -------
(In reply to comment #3)
> Hm no, after the manual rm the @preserved-rebuild becomes empty set, leaving
> the files missing in CONTENTS. Not totally clean but bearable I guess...
> 

Or note which packages are in @preserved-rebuild and manually re-emerge them
after deleting the old libraries.

------- Comment #6 From Zac Medico 2008-10-30 03:05:23 0000 -------
This is fixed in svn r11746.

------- Comment #7 From Zac Medico 2008-10-30 04:09:19 0000 -------
Actually, the fix in svn r11746 will only work after /etc/ld.so.conf has been
updated with the new paths. I guess we'll have to trigger the relevant code
right after ld.so.conf has been updated.

------- Comment #8 From Zac Medico 2008-10-30 08:10:24 0000 -------
Should be all fixed now, as of r11749.

------- Comment #9 From Zac Medico 2008-11-02 00:56:38 0000 -------
This is fixed in 2.2_rc13.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug