Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91179 - LIBC breakage metabug
Summary: LIBC breakage metabug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stephen Bennett (RETIRED)
URL:
Whiteboard:
Keywords:
: 91155 93175 (view as bug list)
Depends on: 91024
Blocks:
  Show dependency tree
 
Reported: 2005-05-02 08:03 UTC by Stephen Bennett (RETIRED)
Modified: 2005-05-19 03:44 UTC (History)
4 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 Stephen Bennett (RETIRED) gentoo-dev 2005-05-02 08:03:54 UTC
OK, a few packages break with LIBC set in the environment. Known problems at the moment are python (workaround already in), csh, and openoffice. I'm creating this bug to track packages that need modification, and if there turn out to be too many of them we can find a more centralised solution, possibly renaming the variable.

CC-ing taviso as he seems to maintain csh -- I have a fix for it; let me know whether I can commit it, or if you want to do it yourself.
Comment 1 Stephen Bennett (RETIRED) gentoo-dev 2005-05-02 08:10:31 UTC
*** Bug 91155 has been marked as a duplicate of this bug. ***
Comment 2 Stephen Bennett (RETIRED) gentoo-dev 2005-05-02 08:13:38 UTC
For OOo, there seem to be multiple configure scripts, called indirectly, so adding 'unset LIBC' at the beginning of src_compile seems to be the simplest way forwards, unless one of the openoffice team can come up with a way of passing --with-lib='' to all of them.
Comment 3 Stephen Bennett (RETIRED) gentoo-dev 2005-05-02 09:28:39 UTC
Urm, that's --with-libc='' in comment #2.
Comment 4 Justin Clift 2005-05-02 18:04:16 UTC
Hi all,

OOo 1.1.4 was breaking for me, and using:

 --with-libc=''

as an argument to configure didn't fix it.  Stephen then suggested adding:

 unset LIBC

directly to the "src_compile" function method of the ebuild, and that worked.  OOo 1.1.4 compiled successfully and is now installed (and works).

:)

The exact change made was:

***********

src_compile() {

    addpredict /bin
    addpredict /root/.gconfd
    export MYCONF=""

***********

to:

***********

src_compile() {

    unset LIBC
    addpredict /bin
    addpredict /root/.gconfd
    export MYCONF=""

***********
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-02 23:19:27 UTC
Fix is no in the tree for all versions of openoffice and openoffice-ximian, thanks for reporting (and solving)
Comment 6 Stephen Bennett (RETIRED) gentoo-dev 2005-05-11 06:19:58 UTC
OK, LIBC got renamed to ELIBC, so this can be ignored now.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2005-05-11 06:28:21 UTC
@Stephen: Does that also mean that I can safely remove the "unset LIBC" line again?
Comment 8 Stephen Bennett (RETIRED) gentoo-dev 2005-05-11 06:45:52 UTC
Should be safe, but I'd check to make sure before committing anything. 
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-05-19 03:44:46 UTC
*** Bug 93175 has been marked as a duplicate of this bug. ***