From owner-freebsd-ports@FreeBSD.ORG Thu Sep 11 16:13:44 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D9B34CA; Thu, 11 Sep 2014 16:13:44 +0000 (UTC) Received: from cargobay.net (cargobay.net [174.136.100.98]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB8915A; Thu, 11 Sep 2014 16:13:43 +0000 (UTC) Received: from naruto.ccsys.com (unknown [70.127.245.68]) by cargobay.net (Postfix) with ESMTPSA id D7BC4518; Thu, 11 Sep 2014 16:07:10 +0000 (UTC) Message-ID: <5411C989.9040606@ccsys.com> Date: Thu, 11 Sep 2014 16:10:49 +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: ume@FreeBSD.org, ports@FreeBSD.org, perl@FreeBSD.org Subject: perl related error in mail/cyrus-imapd24 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 16:13:44 -0000 I'm gonna look into this further today but maybe one of you can make quicker sense of this. I just got this error while building cyrus-imapd24-2.4.17_8. Port options are default but my make.conf sets perl to 5.20. My make.conf is included below the error. Many thanks to anyone that even glances at this error to help. :) .................... ### Making all in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl ### Making all in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl/imap Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Cyrus::IMAP Writing MYMETA.yml and MYMETA.json Smartmatch is experimental at /usr/local/lib/perl5/5.20/BSDPAN/ExtUtils/Packlist.pm line 218. cp IMAP.pm blib/lib/Cyrus/IMAP.pm cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm Running Mkbootstrap for Cyrus::IMAP () chmod 644 IMAP.bs /usr/local/bin/perl5.20.0 /usr/local/lib/perl5/5.20/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.20/ExtUtils/typemap -typemap typemap IMAP.xs > IMAP.xsc && mv IMAP.xsc IMAP.c cc -c -I../../lib -I../.. -I../../com_err/et -I/usr/local/include -I/usr/include -DAPPLLIB_EXP="/usr/local/lib/perl5/5.20/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -g -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.20/mach/CORE" -DPERL_POLLUTE IMAP.c In file included from /usr/local/lib/perl5/5.20/mach/CORE/perl.h:5152, from IMAP.xs:51: /usr/local/lib/perl5/5.20/mach/CORE/inline.h: In function 'S_append_utf8_from_native_byte': /usr/local/lib/perl5/5.20/mach/CORE/inline.h:264: error: expected ')' before ',' token /usr/local/lib/perl5/5.20/mach/CORE/inline.h:264: error: void value not ignored as it ought to be /usr/local/lib/perl5/5.20/mach/CORE/inline.h:265: error: expected ')' before ',' token /usr/local/lib/perl5/5.20/mach/CORE/inline.h:265: error: void value not ignored as it ought to be IMAP.xs: At top level: IMAP.xs:218: warning: initialization from incompatible pointer type IMAP.xs:219: warning: initialization from incompatible pointer type IMAP.xs:220: warning: initialization from incompatible pointer type *** [IMAP.o] Error code 1 Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl/imap. *** [all] Error code 1 Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17/perl. *** [all] Error code 1 Stop in /usr/ports/mail/cyrus-imapd24/work/cyrus-imapd-2.4.17. *** [do-build] Error code 1 Stop in /usr/ports/mail/cyrus-imapd24. *** [stage] Error code 1 Stop in /usr/ports/mail/cyrus-imapd24. root@nuos-lab:/usr/ports/mail/cyrus-imapd24 # uname -a FreeBSD nuos-lab.naruto.ccsys.com 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r269946: Wed Aug 13 12:53:13 EDT 2014 root@naruto.ccsys.com:/usr/obj/usr/src/sys/NUOS amd64 root@nuos-lab:/usr/ports/mail/cyrus-imapd24 # cat /etc/make.conf CPUTYPE?=core2 DEFAULT_VERSIONS= perl5=5.20 php=55 WITH_PGSQL_VER=93 WITH_MYSQL_VER=56 WITH_NEW_XORG=yes QT4_OPTIONS=CUPS