From owner-svn-ports-all@FreeBSD.ORG Thu Mar 13 15:43:23 2014 Return-Path: Delivered-To: svn-ports-all@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 9CFECFDC; Thu, 13 Mar 2014 15:43:23 +0000 (UTC) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0B182976; Thu, 13 Mar 2014 15:43:22 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id cz12so1281004veb.35 for ; Thu, 13 Mar 2014 08:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IdMxyCI+3WjhGTKn4Rd7yQu5JH6fI4pkUtiZ1enl0zk=; b=NMpFRu2Zhk8TZNPKj0HtRBrpdxnPAqiGSVqjTUAO4zt2BJlifQuTd/ThLmnP/NXBQg JYkmc0ddLkE9Y6spGgL4cHnF59GwQNmTR+7HpNpmFPslezSDs3K9iipTCaCUG5zyzf8t XQLZFhiRivzfbi/VTa+8iuTETkaYxzmg+mV1Bp16fjm6oZygD3TC0+slBatWdzIhw4H5 hyDIbkpP8SOX54xu8DLrJYamYiZ/hLirek5059mbnJDH796vDIbaSfVji220pehO77lN XZOsLWfkbdm5+Y37P9bHYPEqEQd6//9DtzbQrvPyTFd63wcRlQqU6BMVALB+NbZWQgJp BrYQ== MIME-Version: 1.0 X-Received: by 10.52.242.167 with SMTP id wr7mr1718499vdc.32.1394725402045; Thu, 13 Mar 2014 08:43:22 -0700 (PDT) Received: by 10.220.168.135 with HTTP; Thu, 13 Mar 2014 08:43:21 -0700 (PDT) In-Reply-To: <20140313124222.GA33060@graf.pompo.net> References: <201403122157.s2CLv55V021389@svn.freebsd.org> <20140313124222.GA33060@graf.pompo.net> Date: Thu, 13 Mar 2014 11:43:21 -0400 Message-ID: Subject: Re: svn commit: r348011 - in head/x11/rxvt-unicode: . files From: Thomas Hoffmann To: Thomas Hoffmann , svn-ports-all@freebsd.org, ports-committers@freebsd.org, svn-ports-head@freebsd.org, perl@freebsd.org, Thierry Thomas Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 15:43:23 -0000 On Thu, Mar 13, 2014 at 8:42 AM, Thierry Thomas wrote= : > Hello, > > Le mer 12 mar 14 =E0 23:32:16 +0100, Thomas Hoffmann > =E9crivait : > > > Glad to see the requirement for gcc go away, but this does not build fo= r > me > > on -CURRENT r263062 amd64. I get: > > > > --- rxvtperl.o --- > > c++ -I.. -I. -I. -I./../libev -I./../libptytty/src -DHAVE_CONFIG_H > > -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SA= FE > > -I/usr/local/include -I/usr/local/include/freetype2 > -I/usr/local/include > > -I/usr/local/include/freetype2 -O2 -pipe -fno-strict-aliasing -w > > -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -pthread > > -I/usr/local/include/glib-2.0 -I/usr/local/include > > -I/usr/local/include/libpng15 > > -DAPPLLIB_EXP=3D"/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK > > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector > > -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE > > -DLIBDIR=3D"\"/usr/local/lib/urxvt\"" -c rxvtperl.C > > --- rxvtc --- > > c++ -o rxvtc rxvtc.o rxvtdaemon.o fdpass_wrapper.o -lstdc++ -lutil -lm > > --- rxvtperl.o --- > > ./rxvtperl.c:5493:5: error: declaration of 'Perl___notused' has a > different > > language linkage > > dVAR; dXSARGS; > > ^ > > /usr/local/lib/perl5/5.16/mach/CORE/perl.h:174:17: note: expanded from > > macro 'dVAR' > > # define dVAR dNOOP > > Thanks for the report! > > Actually the problem is not directly related to rxvt-unicode on > -CURRENT, but it seems that there is a problem with Perl detected by > clang34: > > the file rxvtperl.C is generated by xsubpp from rxvtperl.xs, and the > culprit stuff is inserted from ParseXS.pm. > > Could you please try the hereunder patch? > > --- ParseXS.pm.diff begins here --- > --- /usr/local/lib/perl5/5.16/ExtUtils/ParseXS.pm.orig 2014-02-20 > 15:35:19.000000000 +0100 > +++ /usr/local/lib/perl5/5.16/ExtUtils/ParseXS.pm 2014-03-13 > 13:27:16.000000000 +0100 > @@ -508,7 +508,7 @@ > #XS_EUPXS(XS_${Full_func_name}); /* prototype to pass > -Wmissing-prototypes */ > #XS_EUPXS(XS_${Full_func_name}) > #[[ > -# dVAR; dXSARGS; > +# dXSARGS; > EOF > print Q(<<"EOF") if $ALIAS; > # dXSI32; > --- ParseXS.pm.diff ends here --- > > Of course, this is just a work-around: the right solution would be to > modifify the Perl port, but I don't know the possible impacts, and I > prefer let the Perl team check it (perl@ Cc'ed). > > Best regards, > -- > Th. Thomas. > I successfully built rxvt-unicode-9.19_2 after applying your patch. Thank you. -Tom