Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 791403

Summary: www-apache/mod_perl broken by dev-lang/perl-5.34.0
Product: Gentoo Linux Reporter: Krzysztof Olędzki <ole+gentoo>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: major CC: hlein, sam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/Perl/perl5/issues/18617
Whiteboard:
Package list:
Runtime testing required: ---

Description Krzysztof Olędzki 2021-05-22 06:14:33 UTC
After upgrading perl to 5.34.0 emerging www-apache/mod_perl fails with:


modperl_perl.c: In function 'modperl_hash_seed_set':
modperl_perl.c:271:16: error: lvalue required as unary '&' operand
  271 |         memcpy(&PL_hash_seed, &MP_init_hash_seed,
      |                ^

Fix: http://svn.apache.org/viewvc/perl/modperl/trunk/src/modules/perl/modperl_perl.c?r1=1889014&r2=1889013&pathrev=1889014


See also: https://github.com/Perl/perl5/issues/18617
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-22 06:15:39 UTC
Please always give the full build.log and emerge —-info.
Comment 2 Larry the Git Cow gentoo-dev 2021-05-22 14:52:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ef121be2bf04a4a82693e0aa240374f3ff45bc

commit a7ef121be2bf04a4a82693e0aa240374f3ff45bc
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-05-22 14:52:15 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-05-22 14:52:15 +0000

    www-apache/mod_perl: Fix build with Perl 5.34
    
    Closes: https://bugs.gentoo.org/791403
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 www-apache/mod_perl/files/mod_perl-2.0.11-perl534.patch | 17 +++++++++++++++++
 www-apache/mod_perl/mod_perl-2.0.11.ebuild              |  1 +
 2 files changed, 18 insertions(+)
Comment 3 Ionen Wolkens gentoo-dev 2021-05-23 03:49:09 UTC
*** Bug 791577 has been marked as a duplicate of this bug. ***