From owner-svn-ports-all@freebsd.org Mon Sep 4 21:22:23 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19EFDE1F232 for ; Mon, 4 Sep 2017 21:22:23 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from bat.yew.relay.mailchannels.net (bat.yew.relay.mailchannels.net [23.83.220.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5F1732AE for ; Mon, 4 Sep 2017 21:22:21 +0000 (UTC) (envelope-from ian@freebsd.org) X-Sender-Id: _forwarded-from|73.78.92.27 Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 592341081B4 for ; Mon, 4 Sep 2017 21:22:11 +0000 (UTC) Received: from outbound1a.eu.mailhop.org (unknown [100.96.128.157]) (Authenticated sender: duocircle) by relay.mailchannels.net (Postfix) with ESMTPA id B446B106A25 for ; Mon, 4 Sep 2017 21:22:10 +0000 (UTC) X-Sender-Id: _forwarded-from|73.78.92.27 Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [172.20.107.195]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.14); Mon, 04 Sep 2017 21:22:11 +0000 X-MC-Relay: Junk X-MailChannels-SenderId: _forwarded-from|73.78.92.27 X-MailChannels-Auth-Id: duocircle X-Bored-Reign: 3defcec840a1ac4c_1504560131117_217006390 X-MC-Loop-Signature: 1504560131117:1595309752 X-MC-Ingress-Time: 1504560131116 X-MHO-User: 17f862f0-91b7-11e7-83af-a91f44540cb3 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 17f862f0-91b7-11e7-83af-a91f44540cb3; Mon, 04 Sep 2017 21:22:03 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v84LM0iX000943; Mon, 4 Sep 2017 15:22:00 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1504560120.1337.3.camel@freebsd.org> Subject: Re: svn commit: r449138 - in head: cad/freecad devel/libkolab graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3 From: Ian Lepore To: Craig Leres , Antoine Brodin , Sunpoet Po-Chuan Hsieh Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" Date: Mon, 04 Sep 2017 15:22:00 -0600 In-Reply-To: References: <201709021423.v82ENcsI036241@repo.freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 04 Sep 2017 21:22:23 -0000 On Mon, 2017-09-04 at 13:12 -0700, Craig Leres wrote: > On 09/03/17 02:35, Antoine Brodin wrote: > >=20 > > This fails to build,=A0=A029 ports are skipped including x11/kde4 > One of my 10.3-RELEASE-p21 build servers hasn't been able to build=A0 > 3.2.0. The error is: >=20 > =A0=A0=A0=A0=A0xercesc/util/Base64.cpp:149:14: error: use of undeclared > identifier=A0 > 'SIZE_MAX' >=20 > Apparently this is a known problem with 3.2.0: >=20 > =A0=A0=A0=A0=A0https://issues.apache.org/jira/browse/XERCESC-2113 >=20 > =A0=A0=A0=A0=A0Base64.cpp missing config.h include >=20 > =A0=A0=A0=A0=A0"I think this is because of a missing stdint.h include. = This is > =A0=A0=A0=A0=A0provided by config.h, but there's no config.h include in > =A0=A0=A0=A0=A0Base64.cpp. Other platforms must be getting this via an = indirect > =A0=A0=A0=A0=A0include." >=20 > But I don't think this is correct; I don't see any includes in > config.h=A0 > and even adding: >=20 > =A0=A0=A0=A0=A0#include >=20 > to Base64.cpp doesn't fix the error. >=20 > Craig >=20 > steel 25 # uname -a > FreeBSD steel.lbl.gov 10.3-RELEASE-p21 FreeBSD 10.3-RELEASE-p21 #10 > r18:=A0 > Thu Aug 10 16:50:50 PDT 2017=A0 > leres@steel.lbl.gov:/usr/src/sys/amd64/compile/LBLNET=A0=A0amd64 I ran into this at $work, I think when we first switched from gcc to clang for our app builds. =A0I worked around it by adding CFLAGS+=3D -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS Basically, defining those symbols before #including stdint.h is what made SIZE_TYPE (and a few others) visible to a c++ compile. -- Ian