PHP 5.3.9 cannot be installed with suhosin Reproducible: Always Steps to Reproduce: 1. upgrade php-5.3.9 from php-5.3.9_rc4 2. USE="suhosin" emerge =dev-lang/php-5.3.9 Actual Results: Installing the latest php-5.3.9 (was the rc4 before) * Applying suhosin-patch-5.3.7-0.9.10.patch ... * Failed Patch: suhosin-patch-5.3.7-0.9.10.patch ! * ( /var/tmp/portage/dev-lang/php-5.3.9/work/suhosin-patch-5.3.7-0.9.10.patch )
Created attachment 298619 [details] output of the patch command
PHP 5.3.9 cannot be installed with suhosin Reproducible: Always Steps to Reproduce: 1. upgrade php-5.3.9 from php-5.3.8 2. emerge =dev-lang/php-5.3.9 Actual Results: Installing the latest php-5.3.9 * Failed Patch: suhosin-patch-5.3.7-0.9.10.patch ! * ( /var/tmp/portage/dev-lang/php-5.3.9/work/suhosin-patch-5.3.7-0.9.10.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-lang/php-5.3.9/temp/suhosin-patch-5.3.7-0.9.10.patch.out * ERROR: dev-lang/php-5.3.9 failed (prepare phase): * Failed Patch: suhosin-patch-5.3.7-0.9.10.patch! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3790: Called eblit-run 'src_prepare' 'v3' * environment, line 1448: Called eblit-php-src_prepare * src_prepare-v3.eblit, line 48: Called epatch '/var/tmp/portage/dev-lang/php-5.3.9/work/suhosin-patch-5.3.7-0.9.10.patch' * environment, line 2255: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.9', * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.9'. * The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.9/temp/environment'. * S: '/var/tmp/portage/dev-lang/php-5.3.9/work/php-5.3.9'
Thanks for reporting this. suhosin USE flag has been disabled. Cheers, Ole Markus
Looking at the rejects of the latest suhosin patch, they're all more or less trivial. They just change the php identification string. I'd suggest we try to avoid disabling suhosin with every new php version.
+1 the patch was working with the rc4.
Patch fixing the rejects: http://files.hboeck.de/suhosin-patch-5.3.9-0.9.10-inofficial.patch.bz2
# php --version PHP 5.3.9-pl0-gentoo with Suhosin-Patch (cli) (built: Jan 11 2012 21:30:00) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH Happy? :) Thanks a bunch for the fix.
suhosin now has an official patch: http://www.hardened-php.net/suhosin/download.html
(In reply to comment #6) > Patch fixing the rejects: > http://files.hboeck.de/suhosin-patch-5.3.9-0.9.10-inofficial.patch.bz2 Thumbs up for the patch. I like the fix!
(In reply to comment #8) > suhosin now has an official patch: > http://www.hardened-php.net/suhosin/download.html Let's hope it'll be soon included.
(In reply to comment #10) > (In reply to comment #8) > > suhosin now has an official patch: > > http://www.hardened-php.net/suhosin/download.html > > Let's hope it'll be soon included. Ah the timing ... :) The stabilisation of 5.3.9 has already started, so it will not be included unless we do a revbump. I see the version number did not change for suhosin, so the difference between the two versions cannot be that large.
PHP-5.3.10 uses the upstream suhosin patch. Guess the issue can be considered fixed.