Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532760

Summary: sys-libs/glibc: headers-only breaks on EAPI>=2
Product: Gentoo Linux Reporter: Ruud Koolen (RETIRED) <redlizard>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: anthoine.bourgeois
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Proposed patch that doesn't quite work

Description Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-12-17 03:19:32 UTC
Created attachment 391834 [details, diff]
Proposed patch that doesn't quite work

The toolchain-glibc_src_configure() function is only called from eblit-glibc-src_compile() when [[ ${EAPI:-0} == [01] ]], and not from eblit-glibc-src_configure(). This breaks the headers-only functionality for glibc-2.20 and other future versions with EAPI>=2.

I would expect attached patch to fix it, but it appears to cause other problems; not sure whether those are related or independent glibc-2.20 problems. I'm adding the patch anyway to make sure I don't forget.
Comment 1 SpanKY gentoo-dev 2014-12-31 08:20:08 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix glibc headers builds with newer EAPIs and newer glibc versions
http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_configure.eblit?r1=1.2&r2=1.3
Comment 2 Arfrever Frehtes Taifersar Arahesis 2015-01-02 23:59:15 UTC
(In reply to SpanKY from comment #1)
> Commit message: Fix glibc headers builds with newer EAPIs and newer glibc
> versions
> http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_configure.
> eblit?r1=1.2&r2=1.3

This commit left unused ports="" assignment.
Comment 3 SpanKY gentoo-dev 2015-02-09 16:12:28 UTC
*** Bug 530830 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2015-02-09 16:14:07 UTC
Commit message: Drop unused ports variable
http://sources.gentoo.org/sys-libs/glibc/files/eblits/src_configure.eblit?r1=1.4&r2=1.5