Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358377 - sys-libs/glibc-2.11.3 fails to emerge on a no-multilib system
Summary: sys-libs/glibc-2.11.3 fails to emerge on a no-multilib system
Status: RESOLVED DUPLICATE of bug 358093
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 11:35 UTC by Konrad Karczewski
Modified: 2011-03-12 07:13 UTC (History)
1 user (show)

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


Attachments
emerge -vd glibc output (glibc.log,622.09 KB, text/plain)
2011-03-11 11:36 UTC, Konrad Karczewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konrad Karczewski 2011-03-11 11:35:24 UTC
sys-libs/glibc-2.11.3 fails to emerge on a system with no-multilib profile. The rootcause for this is an attempt to build 32-bit ABI, which is obviously not possible. This used to work fine on this system - glibc is already installed, I'm trying to re-emerge it:
# emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc-2.11.3  USE="gd nls -debug -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# ls -la /etc/make.profile
lrwxrwxrwx 1 root root 60 Oct  8 13:23 /etc/make.profile -> ../usr/portage/profiles/default/linux/amd64/10.0/no-multilib

No configuration changes were made to the system for quite a bit of time.

A bit of debugging narrows the issue to the /usr/portage/sys-libs/glibc/files/eblits/common.eblit or it's vicinity - before this file is processed, MULTILIB_ABIS is set to 'amd64', afterwards to 'amd64 x86' which ultimately leads to glibc attempting to build 32-bit ABI, which blows up.

It appears that this particular file was modified on 9.03.2011, which reinforces the theory that it's the cause of this issue, or at least contributes to it:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.13 2011/03/09 08:10:38 vapier Exp $

This thread covers another instance of this issue: http://www.gossamer-threads.com/lists/gentoo/user/227165 - please note it has started on 9.03.2011

I'll attach the output of emerge -vd glibc to the bug


Reproducible: Always

Steps to Reproduce:
1. emerge glibc
Comment 1 Konrad Karczewski 2011-03-11 11:36:17 UTC
Created attachment 265547 [details]
emerge -vd glibc output
Comment 2 SpanKY gentoo-dev 2011-03-12 07:13:57 UTC

*** This bug has been marked as a duplicate of bug 358093 ***