Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532760 - sys-libs/glibc: headers-only breaks on EAPI>=2
Summary: sys-libs/glibc: headers-only breaks on EAPI>=2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 530830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-17 03:19 UTC by Ruud Koolen (RETIRED)
Modified: 2015-02-09 16:14 UTC (History)
1 user (show)

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


Attachments
Proposed patch that doesn't quite work (glibc-eapi-2-headers-only.patch,269 bytes, patch)
2014-12-17 03:19 UTC, Ruud Koolen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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