Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324685 - sys-libs/glibc: allow a switch to ignore the build-tests
Summary: sys-libs/glibc: allow a switch to ignore the build-tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 12:53 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-03-09 08:03 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-19 12:53:29 UTC
The eblit pkg_setup for glibc currently tries to build and execute two test commands to make sure that the kernel is fine; it does so on binpkgs as well.

Unfortunately, if you remove the include headers from a remote system where you actually install glibc, _you won't be able to upgrade or re-install it_. Not even to install those missing headers.

Can you please add a short circuit like

I_KNOW_MY_KERNEL_IS_GOOD_KTHNXBYE="yes"

to avoid those tests? Pretty please, and pretty soon?
Comment 1 SpanKY gentoo-dev 2010-06-20 01:03:42 UTC
a better idea would be to not bother if a simple gcc test fails like 'main(){}'

if you're deleting headers, it doesnt make much sense to include `gcc` too
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-20 03:18:23 UTC
I wish I could avoid the sys-devel/gcc package altogether, but no I cannot. I need both libgcc_s, libstdc++ and cpp (the preprocessor) for the system to run fine.

Comment 3 SpanKY gentoo-dev 2010-06-21 00:25:23 UTC
you can still install mask the binaries
Comment 4 SpanKY gentoo-dev 2011-03-07 14:08:49 UTC
there is already a short circuit in there.  simply use ROOT="/../" when emerging glibc.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2011-03-08 03:24:56 UTC
that doesn't work anymore.  i think portage got too smart.
Comment 6 SpanKY gentoo-dev 2011-03-08 20:25:57 UTC
damn portage getting more intelligent every day ... i fear self awareness

zack suggested i leverage $EMERGE_FROM, and that sounds great to me.  so i'll update things to ignore the build failures when $EMERGE_FROM == binary.