From owner-svn-ports-head@freebsd.org Tue Jul 2 02:15:22 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D3E315E617F; Tue, 2 Jul 2019 02:15:22 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (hamza.pair.com [209.68.5.143]) (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 83FEE6AA97; Mon, 1 Jul 2019 23:24:02 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 518D133DFF; Mon, 1 Jul 2019 19:23:55 -0400 (EDT) Received: from [172.20.2.194] (unknown [5.148.153.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 99BF233DF5; Mon, 1 Jul 2019 19:23:54 -0400 (EDT) Date: Tue, 2 Jul 2019 00:23:47 +0100 (BST) From: Gerald Pfeifer To: Mark Linimon cc: Alexey Dokuchaev , Cy Schubert , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r504198 - head/Mk In-Reply-To: <20190615173659.GB19307@lonesome.com> Message-ID: References: <201906141610.x5EGAdnN049103@repo.freebsd.org> <20190614165425.GA42674@FreeBSD.org> <8BDC3B40-7FEA-46EA-AE7C-A3C266F6978F@cschubert.com> <20190614175822.GA3336@FreeBSD.org> <20190615061345.GA20346@lonesome.com> <20190615173659.GB19307@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 83FEE6AA97 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:hamza.pair.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[pfeifer.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mailwash29.pair.com]; NEURAL_HAM_SHORT(-0.74)[-0.738,0]; IP_SCORE(-2.11)[ip: (-7.88), ipnet: 209.68.0.0/18(-1.54), asn: 7859(-1.06), country: US(-0.06)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US]; RCVD_TLS_LAST(0.00)[] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jul 2019 02:15:22 -0000 On Sat, 15 Jun 2019, Mark Linimon wrote: > No, our build cluster is still using base 4.2 by default. Most of > the ports that fail are fixed by specifying a USES that names a newer > compiler. Yep, such as the one below. Hence my proposal to switch to a newer version of GCC by default where there's currently USE_GCC=any or similar via USES=compiler. > Clang is "coming soon". It's a race between the folks working > on fixing ports on base vs. the folks working on clang :-) Well, and it surely is going to be an easier switch from current GCC (such as GCC 8) to current clang than from a decade old compiler (such as GCC 4.2). I'm not necessarily proposing to use modern GCC across the port, but at least where some version of GCC is explicitly requested (hence s/USE_GCC=any/USE_GCC=yes/g and, though that can be an independent change, the equivalent in Mk/Uses/compiler.mk). Gerald ======== example commit ======== Author: stephen Date: Sun Jun 30 23:32:57 2019 New Revision: 505525 URL: https://svnweb.freebsd.org/changeset/ports/505525 Log: - On GCC architectures, don't use the base GCC to build. PR: 238885 Submitted by: Piotr Kubaj Modified: head/math/octave-forge-nurbs/Makefile Modified: head/math/octave-forge-nurbs/Makefile ============================================================================== --- head/math/octave-forge-nurbs/Makefile Sun Jun 30 23:10:19 2019 (r505524) +++ head/math/octave-forge-nurbs/Makefile Sun Jun 30 23:32:57 2019 (r505525) @@ -22,8 +22,15 @@ WRKSRC= ${WRKDIR}/${OCTSRC}/src .include "${.CURDIR}/../../Mk/bsd.octave.mk" +.include + +# Force newer GCC on platforms using GCC 4.2 as base +.if ${CHOSEN_COMPILER_TYPE} == gcc +USE_GCC= yes +.endif + post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} -.include +.include