Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399827 - in prefix gcc ebuild not found libc on ubuntu(/debian?)
Summary: in prefix gcc ebuild not found libc on ubuntu(/debian?)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 13:27 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2012-01-26 13:57 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 Andreis Vinogradovs ( slepnoga ) 2012-01-23 13:27:50 UTC
* gcc-4.2.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                           [ ok ]
 * gcc-4.2.4-uclibc-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                        [ ok ]
 * gcc-4.2.4-patches-1.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                               [ ok ]
/home/slep/gentoo/usr/portage/profiles/prefix/linux/profile.bashrc: line 9: /lib/libc.so.6: No such file or directory
 * Your host glibc is too old; disabling automatic fortify. bug 289757
>>> Unpacking source...
Comment 1 Andreis Vinogradovs ( slepnoga ) 2012-01-23 13:29:39 UTC
Note:
From[1]:
 libc.so was moved as part of the multiarch[1] work in Ubuntu 11.04. The reason that there can't be a symlink there is that the purpose of multiarch is to make it possible to install both the i386 and amd64 versions of libc at the same time so that you can run 32-bit binaries more easily on 64-bit systems and vice versa (and other similar situations). If the libc6 package contained a symlink to the new location, then the versions of that package for different architectures wouldn't both be installable at the same time (which version of the symlink would dpkg pick?), defeating the entire point of the exercise.

1. http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
3. https://wiki.ubuntu.com/MultiarchSpec
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-01-23 17:11:15 UTC
silly multiarch.

Comment #0 is not really a problem though, just a useless warning.
Comment 3 Benda Xu gentoo-dev 2012-01-26 13:03:53 UTC
have you tried to sync the tree first? present bashrc uses ldd instead of libc?.so
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-01-26 13:23:12 UTC
(In reply to comment #3)
> have you tried to sync the tree first? present bashrc uses ldd instead of
> libc?.so

If you are bootstrapping, don't sync until the guide tells you. If you want to be experimental, you can start over and do ./bootstrap-prefix.sh $EPREFIX latest_tree instead of just 'tree'.

Like I said though, comment #0 is harmless (it is just disabling one patch that isn't really required for an old gcc that you will be upgrading from anyway). RESOLVED:NEEDINFO, feel free to re-opening with other issues.
Comment 5 Benda Xu gentoo-dev 2012-01-26 13:53:57 UTC
to grobian: ldd in place of libc.so has been introduced on 2011-12-16 and fixed on 2011-12-21, present bootstrap prefix tree snapshot is 20111205. Time to update :)
Comment 6 Fabian Groffen gentoo-dev 2012-01-26 13:57:13 UTC
that needs testing before we can throw that at people