Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92102 - dev-libs/apr-0.9.6-r3 breaks apache and subversion
Summary: dev-libs/apr-0.9.6-r3 breaks apache and subversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 04:08 UTC by Markus Tacker
Modified: 2005-05-11 13:07 UTC (History)
3 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 Markus Tacker 2005-05-10 04:08:19 UTC
After emerging dev-libs/apr-0.9.6-r3 and rebuilding apache and dev-libs/apr-util apache dies with segmentation fault.

Subversion has problems with strings "svn: Can't recode string".

Reproducible: Always
Steps to Reproduce:
Comment 1 richard juckes 2005-05-10 08:04:33 UTC
Same here, with the addition of all memory and swap being used when apache tried to run.

Re-emerging apr-0.9.6-r3 with CFLAGS="" and then re-emerging apr-util apache and subversion got everything working again.

CFLAGS="-march=i686 -mtune=pentium3 -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -pipe", about half of -O1 for gcc-4, are what seems to have broken apr on this machine.
Comment 2 Pierre Poissinger 2005-05-10 08:45:43 UTC
Same problems here,
After updating apr, apache childs segfault at opening request...
[The problem started with apache beeing crazy when opening includes files
(the include handling looked completely broken - re-emerged apache fixed this problem ]

Since I didn't notice the update of apr when emerging -Du world (baaad)
I tried multiple time to emerge/unmerge apache and all the other one...

Tried to emerge apr with empty CFLAG didn't help, reemerge apr-util (normal cflags) on the other hand fixed it.

Re-emerge apr with normal cflags didn't break it again... so the issue must be linked with the need of recompilation of both apache and apr-util after apr emerge...
Comment 3 richard juckes 2005-05-10 08:59:48 UTC
Yes, sorry, can now re-emerge apr with CFLAGS as comment #1, and apache/subversion work, without their being again re-emerged.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2005-05-10 11:35:14 UTC
emerge ~dev-libs/apr-0.9.6 ~dev-libs/apr-util-0.9.6 =net-www/apache-2.0.54

if you use mod_* or subversion, re-emerge it after this..

Make sure you FULLY STOP apache. Don't restart it. Then start it.

All will be well.

thx beu.
Comment 5 Markus Tacker 2005-05-11 01:44:28 UTC
And it went well ;)

I rebuilded
dev-libs/apr-0.9.6-r3
dev-libs/apr-util-0.9.6-r2
net-www/apache-2.0.54-r1
dev-php/mod_php-5.0.4
dev-util/subversion-1.1.4 to /
Comment 6 Markus Tacker 2005-05-11 02:27:06 UTC
So as it is technically not a bug, I close it.
Comment 7 Peter Thomassen 2005-05-11 11:27:41 UTC
So, is there a possibility to rebuild all packages depending on apr without the knowledge of which these are? If this is true, maybe it should be automatically be done when emerging apr.
Comment 8 Markus Tacker 2005-05-11 13:07:29 UTC
Just use equery for this
# equery d dev-libs/apr
[ Searching for packages depending on dev-libs/apr... ]
dev-libs/apr-util-0.9.6-r2
dev-util/subversion-1.1.4
net-www/apache-2.0.54-r1