From owner-freebsd-perl@FreeBSD.ORG Thu Sep 11 16:47:59 2014 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B74F61BF; Thu, 11 Sep 2014 16:47:59 +0000 (UTC) Received: from cargobay.net (cargobay.net [174.136.100.98]) by mx1.freebsd.org (Postfix) with ESMTP id A22466C6; Thu, 11 Sep 2014 16:47:59 +0000 (UTC) Received: from naruto.ccsys.com (unknown [70.127.245.68]) by cargobay.net (Postfix) with ESMTPSA id A599D524; Thu, 11 Sep 2014 16:47:54 +0000 (UTC) Message-ID: <5411D315.3080502@ccsys.com> Date: Thu, 11 Sep 2014 16:51:33 +0000 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Hajimu UMEMOTO Subject: Re: perl related error in mail/cyrus-imapd24 References: <5411C989.9040606@ccsys.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, perl@FreeBSD.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 16:47:59 -0000 On 09/11/14 16:29, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Thu, 11 Sep 2014 16:10:49 +0000 >>>>>> "Chad J. Milios" said: > milios> I'm gonna look into this further today but maybe one of you can make > milios> quicker sense of this. I just got this error while building > milios> cyrus-imapd24-2.4.17_8. Port options are default but my make.conf sets > milios> perl to 5.20. My make.conf is included below the error. Many thanks to > milios> anyone that even glances at this error to help. :) > > milios> .................... > milios> ### Making all in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl > milios> ### Making all in > milios> /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl/imap > milios> Checking if your kit is complete... > milios> Looks good > milios> Generating a Unix-style Makefile > milios> Writing Makefile for Cyrus::IMAP > milios> Writing MYMETA.yml and MYMETA.json > milios> Smartmatch is experimental at > milios> /usr/local/lib/perl5/5.20/BSDPAN/ExtUtils/Packlist.pm line 218. > milios> cp IMAP.pm blib/lib/Cyrus/IMAP.pm > milios> cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm > milios> cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm > milios> cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm > milios> Running Mkbootstrap for Cyrus::IMAP () > milios> chmod 644 IMAP.bs > milios> /usr/local/bin/perl5.20.0 /usr/local/lib/perl5/5.20/ExtUtils/xsubpp > milios> -typemap /usr/local/lib/perl5/5.20/ExtUtils/typemap -typemap typemap > milios> IMAP.xs > IMAP.xsc && mv IMAP.xsc IMAP.c > milios> cc -c -I../../lib -I../.. -I../../com_err/et -I/usr/local/include > milios> -I/usr/include -DAPPLLIB_EXP="/usr/local/lib/perl5/5.20/BSDPAN" > milios> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing > milios> -pipe -fstack-protector -I/usr/local/include -g -DVERSION=\"1.00\" > milios> -DXS_VERSION=\"1.00\" -DPIC -fPIC > milios> "-I/usr/local/lib/perl5/5.20/mach/CORE" -DPERL_POLLUTE IMAP.c > milios> In file included from /usr/local/lib/perl5/5.20/mach/CORE/perl.h:5152, > milios> from IMAP.xs:51: > milios> /usr/local/lib/perl5/5.20/mach/CORE/inline.h: In function > milios> 'S_append_utf8_from_native_byte': > milios> /usr/local/lib/perl5/5.20/mach/CORE/inline.h:264: error: expected ')' > milios> before ',' token > milios> /usr/local/lib/perl5/5.20/mach/CORE/inline.h:264: error: void value > milios> not ignored as it ought to be > milios> /usr/local/lib/perl5/5.20/mach/CORE/inline.h:265: error: expected ')' > milios> before ',' token > milios> /usr/local/lib/perl5/5.20/mach/CORE/inline.h:265: error: void value > milios> not ignored as it ought to be > milios> IMAP.xs: At top level: > milios> IMAP.xs:218: warning: initialization from incompatible pointer type > milios> IMAP.xs:219: warning: initialization from incompatible pointer type > milios> IMAP.xs:220: warning: initialization from incompatible pointer type > milios> *** [IMAP.o] Error code 1 > > milios> Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl/imap. > milios> *** [all] Error code 1 > > milios> Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl. > milios> *** [all] Error code 1 > > milios> Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17. > milios> *** [do-build] Error code 1 > > milios> Stop in /usr/ports/mail/cyrus-imapd24. > milios> *** [stage] Error code 1 > > milios> Stop in /usr/ports/mail/cyrus-imapd24. > > > milios> root@nuos-lab:/usr/ports/mail/cyrus-imapd24 # uname -a > milios> FreeBSD nuos-lab.naruto.ccsys.com 9.3-RELEASE FreeBSD 9.3-RELEASE #0 > milios> r269946: Wed Aug 13 12:53:13 EDT 2014 > milios> root@naruto.ccsys.com:/usr/obj/usr/src/sys/NUOS amd64 > > > > milios> root@nuos-lab:/usr/ports/mail/cyrus-imapd24 # cat /etc/make.conf > milios> CPUTYPE?=core2 > milios> DEFAULT_VERSIONS= perl5=5.20 php=55 > milios> WITH_PGSQL_VER=93 > milios> WITH_MYSQL_VER=56 > milios> WITH_NEW_XORG=yes > milios> QT4_OPTIONS=CUPS > > I've just tried to reproduce the problem on my 9.3-STABLE with > perl5-5.20.0_3. But, I cannot reproduce it, here. > > Sincerely, > > -- > Hajimu UMEMOTO > ume@mahoroba.org ume@{,jp.}FreeBSD.org > http://www.mahoroba.org/~ume/ Thanks for the quick feedback! The fact it's not happening for you is valuable information in and of itself. I'm building this in a jail. I'm going to try eliminating each of the differences between us one by one. I have non-default perl options as well. It just dawned on me I should have included those. I marked the non-defaults with ** Here they are: root@nuos-lab:/usr/ports/lang/perl5.20 # make showconfig ===> The following configuration options are available for perl5-5.20.0_3: **DEBUG=on: Build with debugging support **GDBM=on: GDBM_File extension **MULTIPLICITY=on: Use multiplicity PERL_64BITINT=on: Use 64 bit integers (on i386) PTHREAD=on: Build with -pthread **SITECUSTOMIZE=on: Run-time customization of @INC ====> Exclusive OPTIONS: you can only select none or one of them THREADS=on: Build threaded perl PERL_MALLOC=off: Use Perl malloc ===> Use 'make config' to modify these settings root@nuos-lab:/usr/ports # svn info Path: . Working Copy Root Path: /usr/ports URL: https://svn0.us-east.freebsd.org/ports/head Relative URL: ^/head Repository Root: https://svn0.us-east.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 367920 Node Kind: directory Schedule: normal Last Changed Author: xmj Last Changed Rev: 367920 Last Changed Date: 2014-09-11 11:20:02 +0000 (Thu, 11 Sep 2014)