From owner-freebsd-current@FreeBSD.ORG Sun Dec 11 09:23:30 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 325D81065670; Sun, 11 Dec 2011 09:23:30 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id CD7A98FC08; Sun, 11 Dec 2011 09:23:29 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RZfd1-0006hv-QA>; Sun, 11 Dec 2011 10:23:27 +0100 Received: from e178027071.adsl.alicedsl.de ([85.178.27.71] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RZfd1-0000qF-K4>; Sun, 11 Dec 2011 10:23:27 +0100 Message-ID: <4EE4768F.8080208@zedat.fu-berlin.de> Date: Sun, 11 Dec 2011 10:23:27 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: Benjamin Kaduk References: <4EDEF1FF.5020307@zedat.fu-berlin.de> <20111207061137.GA38900@troutmask.apl.washington.edu> <4EE351FE.5070807@zedat.fu-berlin.de> In-Reply-To: X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB200B152E7860A5B26E95B74" X-Originating-IP: 85.178.27.71 Cc: Current FreeBSD , gabor@freebsd.org Subject: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Dec 2011 09:23:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB200B152E7860A5B26E95B74 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/11/11 00:50, Benjamin Kaduk wrote: > [-questions to bcc] >=20 > On Sat, 10 Dec 2011, O. Hartmann wrote: >=20 >> On 12/07/11 07:11, Steve Kargl wrote: >>> On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: >>>> config.status: creating ada/Makefile >>>> config.status: creating auto-host.h >>>> config.status: executing default commands >>>> gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' >>>> gmake[1]: *** [stage1-bubble] Error 2 >>>> gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' >>>> gmake: *** [bootstrap-lean] Error 2 >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/lang/gcc46. >>>> *** Error code 1 >>>> >>>> Stop in /usr/ports/lang/gcc46. >>>> >>>> =3D=3D=3D>>> make failed for lang/gcc46 >>>> =3D=3D=3D>>> Aborting update >>>> >>> >>> See if setting DISABLE_MAKE_JOBSi helps. >>> >> >> This doesn't work, either. >=20 > The end of the build log from that case should be more enlightening tha= n > the one you originally posted, as it is more likely to actually contain= > the actual error (which is not present in the snippet above). >=20 >> >> In /etc/src.conf, I use WITH_ICONV=3DYES and _WITH_BSD_GREP=3DYES. Swi= tching >> off WITH_ICONV seems to solve the problem on FreeBSD 10.0-CURRENT/amd6= 4. >> >> I do not know whether OS versions below 10.0 do support the WITH_ICONV= >> knob. >> >> This maybe is a hint to the problem. >=20 > iconv was only added to base in > r219019 | gabor | 2011-02-24 19:04:39 -0500 (Thu, 24 Feb 2011) > so it will first appear in the imminent 9.0 release. >=20 > Assuming that the error remains reproducible with an up-to-date tree, > the end of the build log from the DISABLE_MAKE_JOBS case would be usefu= l > to see. I've added gabor as a cc, since he seems to be doing most of > the iconv work. >=20 > -Ben Kaduk Following, you'll see the required output. This is the result on FreeBSD 10.-CURRENT/amd64, built with CLANG and in /etc/src.conf WITH_ICONV set. Also set is the requested knob DISABLE_MAKE_JOBS. Without /etc/src.conf setting of WITH_ICONV, lang/gcc46 build fine. Regards, Oliver P.S. The source tree is up to date and system/world has been built recently ago: FreeBSD 10.0-CURRENT #28 r228399 =3D=3D=3D=3D=3D configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' clang -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c =2E././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting types for 'cpp_interpret_string' cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous= declaration is here extern bool cpp_interpret_string (cpp_reader *, ^ =2E././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting types for 'cpp_interpret_string_notranslate' cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *fr= om, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous= declaration is here extern bool cpp_interpret_string_notranslate (cpp_reader *, ^ 2 errors generated. gmake[3]: *** [charset.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp' gmake[2]: *** [all-stage1-libcpp] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. =3D=3D=3D>>> make failed for lang/gcc46 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command = line: portmaster lang/gcc46 --------------enigB200B152E7860A5B26E95B74 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO5HaPAAoJEOgBcD7A/5N8RQkH/R7o2wcNPDMYXwQMfwWQDoHy dRW2q1io5WxfBIWWbyZ8ZIx/72f5beTcrPD4LJwWiC4qUYS/oR8pkkRcHBXPj3vm Mxj2Ti7NB7zbChiHdpLRDXx5Kc5LBQRXhUHmk9mLh8lQeCPgkrp9HR4f9CvJVlC4 os2OGX6f45kCgXzd6NR7PsOcimyAQlV9rh/j5lH0ywnmT1TsoYPsCvfHFPZ7eIiJ fX2pUbmjD0+J6et91wSknEy0/r4ITxCi4Fw//QsfZSd1b+hiZ0T5IGMjkodG3xFB RY+EAkrj874WM1SkpVvrG5qRSzk6whG+sUrVeK3ZSykn4IoWF8CUIVG6akwZStk= =SdcW -----END PGP SIGNATURE----- --------------enigB200B152E7860A5B26E95B74--