From nobody Sun Sep 26 15:36:55 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7D99617E40CD for ; Sun, 26 Sep 2021 15:38:24 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4HHVKV6Vrvz4c2N for ; Sun, 26 Sep 2021 15:38:22 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (unknown [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 66B0A5F774 for ; Sun, 26 Sep 2021 17:38:16 +0200 (CEST) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 3468A1BB799 for ; Sun, 26 Sep 2021 17:38:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at groumpf.org Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fte9BGAE-ka0 for ; Sun, 26 Sep 2021 17:37:10 +0200 (CEST) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id 531FB1BB798 for ; Sun, 26 Sep 2021 17:37:10 +0200 (CEST) Content-Type: multipart/alternative; boundary="------------Tv89Stov0F9JtB70UR06vN01" Message-ID: <7aa94ac2-d603-b3c2-b7ca-b54559449af9@groumpf.org> Date: Sun, 26 Sep 2021 17:36:55 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Thunderbird/93.0 Content-Language: fr To: FreeBSD Ports ML From: Xavier Humbert Subject: mod_perl2 does not build X-Rspamd-Queue-Id: 4HHVKV6Vrvz4c2N X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of xavier@groumpf.org has no SPF policy when checking 176.31.180.205) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-0.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[groumpf.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.911]; NEURAL_SPAM_LONG(0.90)[0.901]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y 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--