Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54213 - Catalyst 1.0.8.1 livecd-stage2 unmerges needed gcc library libstdc++.so.5. (As well as others)
Summary: Catalyst 1.0.8.1 livecd-stage2 unmerges needed gcc library libstdc++.so.5. (A...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 09:45 UTC by Bryan York
Modified: 2004-08-02 16:07 UTC (History)
0 users

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 Bryan York 2004-06-17 09:45:13 UTC
I finally got a full catalyst build up and running, and I'm really happy. I actually alread found a workaround for this bug, but I thought I would let zhen know.
Basically, several libraries in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/ are unmerged in the stage2 portion of the livecd script. This causes several programs to break.

A quick, and pretty easy fix (after finishing stage1) is to chroot into /var/tmp/catalyst/tmp/default/livecd-stage1-i686-20040615 and cp /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/lib* /usr/lib
Then run the stage2 script.

I'm not sure this could be done in the livecd-stage2 script of catalyst, but at very least alert users of this problem.

Thanks again to John Davis for all his hard work!

Bryan York

Reproducible: Always
Steps to Reproduce:
1. Emerge Catalyst
2. Create stage1 and stage2 livecd spec files with programs such as partimage.
3. Run the catalyst scripts.

Actual Results:  
CD Booted great, but the programs were missing libraries.

Expected Results:  
The program should have run normally.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2004-06-17 10:44:35 UTC
bryan -
thanks for your testing! The default behavior is in fact to remove gcc for our normal LiveCDs, and we have had no problems. The only time that I have had the libstdc++ problems is when making X LiveCDs. Is this what you are trying to do? If not, what programs are failing?

For release sakes, we will most likely keep on removing gcc to keep our size down, but if your workaround works, I may incorporate it into the X LiveCD stuff.
Comment 2 Bryan York 2004-06-17 11:50:15 UTC
Yes, I'm making an X livecd. Lot's of programs whine about libstdc++.so.5, such has partimage, fluxbox. I just did some extra testing, vlnx(mcafee anti-virus) complains about libstdc++.so.2.8... I'll check where this is located when I get home.
Comment 3 Bryan York 2004-07-15 00:39:16 UTC
Just to let everyone know:
I solved this by keeping lib-compat in my CD. As long as this was removed from the unmerge list in my stage2, all programs ran fine. It seems it was my ignorance to think it was gcc.

Feel free to marked this as invalid or fixed, whichever you choose. Just remember to update the documentation to keep lib-compat if they want to run programs. Note that programs such as partimage, which do not need X, still need these libraries. So lib-compat shouldn't be an optional package to remove.

Hope this helps.

Regards,

Bryan York
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2004-08-02 16:07:28 UTC
thanks, closing