From owner-svn-ports-all@FreeBSD.ORG Thu Mar 13 12:42:26 2014 Return-Path: Delivered-To: svn-ports-all@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 186C5424; Thu, 13 Mar 2014 12:42:26 +0000 (UTC) Received: from mx1a.lautre.net (eyra.lautre.net [80.67.160.71]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C3C4C1DF; Thu, 13 Mar 2014 12:42:25 +0000 (UTC) Received: from graf.pompo.net (unknown [78.225.128.39]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1a.lautre.net (Postfix) with ESMTPSA id 7169540E88; Thu, 13 Mar 2014 13:42:23 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id 02DB371E560; Thu, 13 Mar 2014 13:42:23 +0100 (CET) Date: Thu, 13 Mar 2014 13:42:22 +0100 From: Thierry Thomas To: Thomas Hoffmann Subject: Re: svn commit: r348011 - in head/x11/rxvt-unicode: . files Message-ID: <20140313124222.GA33060@graf.pompo.net> Mail-Followup-To: Thomas Hoffmann , svn-ports-all@freebsd.org, ports-committers@freebsd.org, svn-ports-head@freebsd.org, perl@FreeBSD.org References: <201403122157.s2CLv55V021389@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.22 (2013-10-16) Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, perl@FreeBSD.org, ports-committers@freebsd.org 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 12:42:26 -0000 Hello, Le mer 12 mar 14 à 23:32:16 +0100, Thomas Hoffmann écrivait : > Glad to see the requirement for gcc go away, but this does not build for 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_SAFE > -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="/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="\"/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.