Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28447 - emerge apache fails (HAVE_PTHREAD_KEY_DELETE no defined correctly)
Summary: emerge apache fails (HAVE_PTHREAD_KEY_DELETE no defined correctly)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2003-09-11 08:15 UTC by marcus
Modified: 2005-04-23 19:38 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description marcus 2003-09-11 08:15:46 UTC
emerge apache stops with [all-recursive] Error 1

the version of apache I had this problem with is 2.0.47

> cd /var/tmp/portage/apache-2.0.47/work/httpd-2.0.47/
> make

now the error message is more specific:
in undefined symbol apr_threadkey_private_delete

It turns out that configure doesn't set HAVE_PTHREAD_KEY_DELETE correctly

my bodged fix is to:
1. comment out the #ifdef HAVE_PTHREAD_KEY_DELETE in
2. tar everything back up to /usr/portage/distfiles/httpd-2.0.47.tar.gz,
3. generate a new checksum for
/usr/portage/net-www/apache/files/digest-apache-2.0.47 and 
4. rerun emerge apache. 

Now everything works fine, but it was a bit of a hassle.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-09-26 19:25:54 UTC
using linux-2.6.x and/or that new threading library?
Comment 2 Chuck Short (RETIRED) gentoo-dev 2004-04-06 07:33:50 UTC
In order for us to debug your problem more, we need to have more information. 

IE emerge info, kernel, if you are using the new threading library thanks.

Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-04-14 11:15:42 UTC
No response, closing bug.
Comment 4 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 19:38:50 UTC