Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 17:51:26 +0000
From:      "Chad J. Milios" <milios@ccsys.com>
To:        Hajimu UMEMOTO <ume@FreeBSD.org>
Cc:        ports@FreeBSD.org, perl@FreeBSD.org
Subject:   perl5.20 problem FOUND but not fixed. Was: perl related error in mail/cyrus-imapd24
Message-ID:  <5411E11E.3010507@ccsys.com>
In-Reply-To: <5411D315.3080502@ccsys.com>
References:  <5411C989.9040606@ccsys.com> <ygemwa66ryb.wl%ume@FreeBSD.org> <5411D315.3080502@ccsys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/11/14 16:51, Chad J. Milios wrote:
> On 09/11/14 16:29, Hajimu UMEMOTO wrote:
>> Hi,
>>
>>>>>>> On Thu, 11 Sep 2014 16:10:49 +0000
>>>>>>> "Chad J. Milios" <milios@ccsys.com> 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)
>

The problem comes with perl5.20 debugging support. Grrr I like debugging 
support. With or without DEBUG, lib/perl5/5.20/mach/CORE/inline.h is 
identical and so is lib/perl5/5.20/mach/CORE/perl.h so I don't know 
where to look from here. Any ideas anyone? It's the exact same error at 
the same place whenever I have a perl5.20 with DEBUG support enabled. I 
tried with default perl5.20 options, works. Add GDBM=on MULTIPLICITY=on 
SITECUSTOMIZE=on DEBUG=off, works. Defaults+DEBUG=on, fails.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5411E11E.3010507>