Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264940 - New toolchain-funcs.eclass (1.89) causes build failure(s) on x86/amd64/others
Summary: New toolchain-funcs.eclass (1.89) causes build failure(s) on x86/amd64/others
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 260131 264977 264979 265003 265004 265015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-05 06:34 UTC by Keven Tipping
Modified: 2009-04-14 02:01 UTC (History)
7 users (show)

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 Keven Tipping 2009-04-05 06:34:35 UTC
The new 1.89 revision of /usr/portage/eclass/toolchain-funcs.eclass causes numerous ebuild failures throughout portage. These failures appear to manifest as the following error(s):

making executable: [insert random library here].so.*
making executable: [insert random library here].so.*

 * QA Notice: Missing gen_usr_ldscript for [insert random library here].so
 * QA Notice: Missing gen_usr_ldscript for [insert random library here].so
 * 
 * ERROR: sys-apps/openrc-0.4.3-r1 failed.
 * Call stack:
 *       misc-functions.sh, line 717:  Called install_qa_check
 *       misc-functions.sh, line 329:  Called die
 * The specific snippet of code:
 *   	[[ ${abort} == "yes" ]] && die "add those ldscripts"
 *  The die message:
 *   add those ldscripts
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/openrc-0.4.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/openrc-0.4.3-r1/temp/environment'.

This is explicitly caused by changes to toolchain-funcs.eclass. Revision 1.88 of toolchain-funcs.eclass works correctly, and this error does /not/ present itself (thus allowing the ebuild to install). Downloading and installing Rev 1.88 and copying it to /usr/portage/eclass by hand solves the above issue introduced by any recent sync that happened to carry 1.89 of toolchain-funcs.eclass with it.

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge openrc || device-mapper || others??
3. QA Notice will appear during install and bomb out on gen_usr_ldscript

Actual Results:  
See above.

Expected Results:  
Emerge should complete successfully.
Comment 1 Michael 2009-04-05 06:39:10 UTC
Confirming, happens here during minimal 2008.0 x86 install
Comment 2 Michael 2009-04-05 07:28:37 UTC
confirmed, Revision 1.88 of toolchain-funcs.eclass works correctly
Comment 3 Fabian Groffen gentoo-dev 2009-04-05 07:51:02 UTC
I reverted the last commit entirely.  I'm very sorry for the caused problems.
Comment 4 Michael 2009-04-05 08:05:37 UTC
thank you very much
Comment 5 Rafał Mużyło 2009-04-05 16:37:02 UTC
*** Bug 264979 has been marked as a duplicate of this bug. ***
Comment 6 Rafał Mużyło 2009-04-05 19:04:30 UTC
*** Bug 265003 has been marked as a duplicate of this bug. ***
Comment 7 Rafał Mużyło 2009-04-05 19:05:27 UTC
*** Bug 265004 has been marked as a duplicate of this bug. ***
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-05 20:05:53 UTC
*** Bug 265015 has been marked as a duplicate of this bug. ***
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-05 20:41:15 UTC
*** Bug 264977 has been marked as a duplicate of this bug. ***
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-14 02:01:41 UTC
*** Bug 260131 has been marked as a duplicate of this bug. ***