Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562760 - sys-libs/glibc-2.20-r2 recompilation issue
Summary: sys-libs/glibc-2.20-r2 recompilation issue
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-10 20:53 UTC by Dmitri Seletski
Modified: 2015-10-23 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=sys-libs/glibc-2.20-r2::gentoo' (glibc_issues.txt,6.58 KB, text/plain)
2015-10-10 20:53 UTC, Dmitri Seletski
Details
glibc-2.20-r2/temp/build.log (glibc_issues2.txt,112.52 KB, text/plain)
2015-10-10 20:58 UTC, Dmitri Seletski
Details
environment file. (glibc_issues3.txt,144.08 KB, text/plain)
2015-10-10 21:01 UTC, Dmitri Seletski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Seletski 2015-10-10 20:53:36 UTC
Created attachment 414290 [details]
emerge --info '=sys-libs/glibc-2.20-r2::gentoo'

a little bit about background:
I emerged world -D recently(couple of days ago). I unmerged all non amd64 packages. I have no emulation of any kind. I moved to systemd.
My kernel supports 32 bit.
I had steam(no overlays, binary file in home directory) complaining that my libc does not support 32 bit.

I made health check on glibc. It showed some problems. Naturally I decided re-emerge it.
and I encountered said problem.

I want to install a few programs/libraries so I can run steam/skype I don't want to make my whole system "multilib". I don't mind modifying /etc/portage/package.use for that.

But right now I guess biggest problem is glibc.
is this normal to reinstall glibc?

Please see other files attached.

[ebuild   R   ] sys-libs/glibc-2.20-r2  USE="gd (multilib) -debug (-hardened) -nscd -profile (-selinux) -suid -systemtap -vanilla"

* Working directory: '/mnt/dump/portage/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20'
 * S: '/mnt/dump/portage/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20'
Comment 1 Dmitri Seletski 2015-10-10 20:58:30 UTC
Created attachment 414292 [details]
glibc-2.20-r2/temp/build.log

500 lines of text (log is 10 megs) from bottom of log file.
Comment 2 Dmitri Seletski 2015-10-10 21:01:19 UTC
Created attachment 414294 [details]
environment file.

/mnt/dump/portage/portage/sys-libs/glibc-2.20-r2/temp/environment

I changed path, because i have small root hdd(60 gb ssd). At time of compilation I unmounted the portage partition to avoid any problems.
Comment 3 Dmitri Seletski 2015-10-10 22:19:36 UTC
one of reasons i am trying to recompile glibc:

checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in `/mnt/dump/portage/portage/dev-libs/expat-2.1.0-r5/work/expat-2.1.0-abi_x86_32.x86':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

trying to compile dev-libs/expat-2.1.0-r5 for skype.
Comment 4 camper 2015-10-11 00:28:53 UTC
I can reproduce this. USE=gd seems to trigger it.
Comment 5 Dmitri Seletski 2015-10-11 11:17:53 UTC
I have attempted to build masked packages of glibc, same story.
Comment 6 camper 2015-10-11 19:35:07 UTC
since I have FEATURES=fail-clean I used
USE=gd MAKEOPTS=-j1 ebuild /usr/portage/sys-libs/glibc/glibc-2.20-r2.ebuild compile
to investigate. Not getting any errors, install and merge also worked.
Strangely enough, now a normal emerge also does not produce errors anymore.
Comment 7 Dmitri Seletski 2015-10-23 16:53:09 UTC
I have replaced non working gcc and glibc. I suppose bug can be closed, unless someone can reproduce it.