Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2021 17:36:55 +0200
From:      Xavier Humbert <xavier@groumpf.org>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   mod_perl2 does not build
Message-ID:  <7aa94ac2-d603-b3c2-b7ca-b54559449af9@groumpf.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------Tv89Stov0F9JtB70UR06vN01
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

I have Perl 5.34.0, and mod_perl2 does not build anymore. After a ton of 
warnings like :

> /usr/local/lib/perl5/5.34/mach/CORE/thread.h:393:7: note: expanded 
> from macro 'PERL_SET_CONTEXT'
> } STMT_END
>   ^~~~~~~~
> /usr/local/lib/perl5/5.34/mach/CORE/perl.h:738:21: note: expanded from 
> macro 'STMT_END'
> #   define STMT_END     )
>                         ^
I finally got an error :

> [root@numenor mod_perl2]# MAKE_JOBS_UNSAFE=yes make -j 1
> [...]
> modperl_perl.c:271:16: error: cannot take the address of an rvalue of 
> type 'U8 *' (aka 'unsigned char *')
>     memcpy(&PL_hash_seed, &MP_init_hash_seed,
>             ^~~~~~~~~~~~~
> 100 warnings and 1 error generated.
> gmake[2]: *** [Makefile:114: modperl_perl.lo] Error 1
> gmake[2]: Leaving directory 
> '/usr/ports/www/mod_perl2/work/mod_perl-2.0.11/src/modules/perl'
> gmake[1]: *** [Makefile:450: modperl_lib] Error 2
> gmake[1]: Leaving directory 
> '/usr/ports/www/mod_perl2/work/mod_perl-2.0.11'
> *** [do-build] Error code 1
What is the problem and how to fix it ?

Cheers,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

--------------Tv89Stov0F9JtB70UR06vN01--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7aa94ac2-d603-b3c2-b7ca-b54559449af9>