From owner-freebsd-perl@freebsd.org Tue Jan 30 05:01:24 2018 Return-Path: Delivered-To: freebsd-perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D72B8ED86B3 for ; Tue, 30 Jan 2018 05:01:23 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1447B525 for ; Tue, 30 Jan 2018 05:01:23 +0000 (UTC) (envelope-from marquis@roble.com) Received: by mailman.ysv.freebsd.org (Postfix) id E37D9ED86B2; Tue, 30 Jan 2018 05:01:22 +0000 (UTC) Delivered-To: perl@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AECD5ED86B0 for ; Tue, 30 Jan 2018 05:01:22 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [209.237.23.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 528A37B522 for ; Tue, 30 Jan 2018 05:01:22 +0000 (UTC) (envelope-from marquis@roble.com) Received: from roble.com (roble.com [209.237.23.50]) by mx5.roble.com (Postfix) with ESMTP id 5D4CB3A48D for ; Mon, 29 Jan 2018 21:01:14 -0800 (PST) Date: Mon, 29 Jan 2018 21:01:14 -0800 (PST) From: Roger Marquis To: perl@FreeBSD.org Subject: textproc/XML-LibXML / LibXML.o build errors Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.25 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: Tue, 30 Jan 2018 05:01:24 -0000 Anyone else seeing these under 11.1-RELEASE-p4? ># make >===> Setting user-specified options for p5-XML-LibXML-2.0132,1 and dependencies >===> Building for p5-XML-LibXML-2.0132,1 > ... >--- subdirs --- >--- blibdirs --- >--- LibXML.o --- >--- config --- >--- LibXML.o --- >cc -c -I/usr/local/include/libxml2 -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -DVERSION=\"2.0132\" -DXS_VERSION=\"2.0132\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.24/mach/CORE" -DHAVE_UTF8 LibXML.c >LibXML.xs:4047:22: warning: implicit declaration of function 'xmlValidateDtd' is invalid in C99 [-Wimplicit-function-declaration] > RETVAL = xmlValidateDtd(&cvp, self, dtd); > ^ >LibXML.xs:4050:22: warning: implicit declaration of function 'xmlValidateDocument' is invalid in C99 [-Wimplicit-function-declaration] > RETVAL = xmlValidateDocument(&cvp, self); > ^ >LibXML.xs:7232:15: warning: implicit declaration of function 'xmlParseDTD' is invalid in C99 [-Wimplicit-function-declaration] > dtd = xmlParseDTD((const xmlChar*)external, (const xmlChar*)system); > ^ >LibXML.xs:7232:13: warning: incompatible integer to pointer conversion assigning to 'xmlDtdPtr' (aka 'struct _xmlDtd *') from 'int' [-Wint-conversion] > dtd = xmlParseDTD((const xmlChar*)external, (const xmlChar*)system); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >LibXML.xs:7312:15: warning: implicit declaration of function 'xmlIOParseDTD' is invalid in C99 [-Wimplicit-function-declaration] > res = xmlIOParseDTD(NULL, buffer, enc); > ^ >LibXML.xs:7312:13: warning: incompatible integer to pointer conversion assigning to 'xmlDtdPtr' (aka 'struct _xmlDtd *') from 'int' [-Wint-conversion] > res = xmlIOParseDTD(NULL, buffer, enc); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >LibXML.c:11689:2: error: unknown type name 'xmlRelaxNGPtr'; did you mean 'xmlRegexpPtr'? > xmlRelaxNGPtr self; > ^~~~~~~~~~~~~ > xmlRegexpPtr >/usr/local/include/libxml2/libxml/xmlregexp.h:29:20: note: 'xmlRegexpPtr' declared here >typedef xmlRegexp *xmlRegexpPtr; > ^ >LibXML.c:11692:28: error: use of undeclared identifier 'xmlRelaxNGPtr' > self = INT2PTR(xmlRelaxNGPtr,SvIV((SV*)SvRV( ST(0) ))); > ^ >LibXML.xs:7336:9: warning: implicit declaration of function 'xmlRelaxNGFree' is invalid in C99 [-Wimplicit-function-declaration] > xmlRelaxNGFree( self ); > ^ >LibXML.xs:7344:9: error: unknown type name 'xmlRelaxNGParserCtxtPtr'; did you mean 'xmlParserCtxtPtr'? > xmlRelaxNGParserCtxtPtr rngctxt = NULL; > ^~~~~~~~~~~~~~~~~~~~~~~ > xmlParserCtxtPtr >/usr/local/include/libxml2/libxml/tree.h:39:24: note: 'xmlParserCtxtPtr' declared here >typedef xmlParserCtxt *xmlParserCtxtPtr; > ^ >LibXML.c:11720:15: error: expected ';' after expression > xmlRelaxNGPtr RETVAL; > ^ > ; >LibXML.c:11720:2: error: use of undeclared identifier 'xmlRelaxNGPtr'; did you mean 'xmlRelaxNGFree'? > xmlRelaxNGPtr RETVAL; > ^~~~~~~~~~~~~ > xmlRelaxNGFree >LibXML.xs:7336:9: note: 'xmlRelaxNGFree' declared here > xmlRelaxNGFree( self ); > ^ >LibXML.c:11720:16: error: use of undeclared identifier 'RETVAL' > xmlRelaxNGPtr RETVAL; > ^ >LibXML.xs:7349:19: warning: implicit declaration of function 'xmlRelaxNGNewParserCtxt' is invalid in C99 [-Wimplicit-function-declaration] > rngctxt = xmlRelaxNGNewParserCtxt( url ); > ^ >LibXML.xs:7349:17: warning: incompatible integer to pointer conversion assigning to 'xmlParserCtxtPtr' (aka 'struct _xmlParserCtxt *') from 'int' [-Wint-conversion] > rngctxt = xmlRelaxNGNewParserCtxt( url ); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >LibXML.xs:7360:9: error: use of undeclared identifier 'RETVAL' > RETVAL = xmlRelaxNGParse( rngctxt ); > ^ >LibXML.xs:7360:18: warning: implicit declaration of function 'xmlRelaxNGParse' is invalid in C99 [-Wimplicit-function-declaration] > RETVAL = xmlRelaxNGParse( rngctxt ); > ^ >LibXML.xs:7361:9: warning: implicit declaration of function 'xmlRelaxNGFreeParserCtxt' is invalid in C99 [-Wimplicit-function-declaration] > xmlRelaxNGFreeParserCtxt( rngctxt ); > ^ >LibXML.xs:7363:23: error: use of undeclared identifier 'RETVAL' > REPORT_ERROR((RETVAL == NULL) ? 0 : 1); > ^ >LibXML.c:11743:52: error: use of undeclared identifier 'RETVAL' > sv_setref_pv( RETVALSV, (char *)CLASS, (void*)RETVAL ); > ^ >LibXML.c:11720:2: warning: expression result unused [-Wunused-value] > xmlRelaxNGPtr RETVAL; > ^~~~~~~~~~~~~ >LibXML.xs:7373:9: error: use of undeclared identifier 'xmlRelaxNGParserCtxtPtr'; did you mean 'xmlRelaxNGNewParserCtxt'? > xmlRelaxNGParserCtxtPtr rngctxt = NULL; > ^~~~~~~~~~~~~~~~~~~~~~~ > xmlRelaxNGNewParserCtxt >LibXML.xs:7349:19: note: 'xmlRelaxNGNewParserCtxt' declared here > rngctxt = xmlRelaxNGNewParserCtxt( url ); > ^ >LibXML.xs:7373:32: error: expected ';' after expression > xmlRelaxNGParserCtxtPtr rngctxt = NULL; > ^ > ; >LibXML.xs:7373:33: error: use of undeclared identifier 'rngctxt' > xmlRelaxNGParserCtxtPtr rngctxt = NULL; > ^ >LibXML.c:11767:2: error: use of undeclared identifier 'xmlRelaxNGPtr'; did you mean 'xmlRelaxNGParse'? > xmlRelaxNGPtr RETVAL; > ^~~~~~~~~~~~~ > xmlRelaxNGParse >LibXML.xs:7360:18: note: 'xmlRelaxNGParse' declared here > RETVAL = xmlRelaxNGParse( rngctxt ); > ^ >LibXML.c:11767:15: error: expected ';' after expression > xmlRelaxNGPtr RETVAL; > ^ > ; >LibXML.c:11767:16: error: use of undeclared identifier 'RETVAL' > xmlRelaxNGPtr RETVAL; > ^ >LibXML.xs:7385:9: error: use of undeclared identifier 'rngctxt' > rngctxt = xmlRelaxNGNewMemParserCtxt( string,len ); > ^ >LibXML.xs:7385:19: warning: implicit declaration of function 'xmlRelaxNGNewMemParserCtxt' is invalid in C99 [-Wimplicit-function-declaration] > rngctxt = xmlRelaxNGNewMemParserCtxt( string,len ); > ^ >LibXML.xs:7386:14: error: use of undeclared identifier 'rngctxt' > if ( rngctxt == NULL ) { > ^ >LibXML.xs:7396:9: error: use of undeclared identifier 'RETVAL' > RETVAL = xmlRelaxNGParse( rngctxt ); > ^ >LibXML.xs:7396:35: error: use of undeclared identifier 'rngctxt' > RETVAL = xmlRelaxNGParse( rngctxt ); > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >13 warnings and 20 errors generated. >*** [LibXML.o] Error code 1 > >make[1]: stopped in /usr/ports/textproc/p5-XML-LibXML/work/XML-LibXML-2.0132 >1 error > >make[1]: stopped in /usr/ports/textproc/p5-XML-LibXML/work/XML-LibXML-2.0132 >===> Compilation failed unexpectedly. >Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >the maintainer. >*** Error code 1 > >Stop. >make: stopped in /usr/ports/textproc/p5-XML-LibXML