From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 5 08:10:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 4809822D for ; Thu, 5 Dec 2013 08:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 218781652 for ; Thu, 5 Dec 2013 08:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB58A09b061785 for ; Thu, 5 Dec 2013 08:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB58A0rM061773; Thu, 5 Dec 2013 08:10:00 GMT (envelope-from gnats) Resent-Date: Thu, 5 Dec 2013 08:10:00 GMT Resent-Message-Id: <201312050810.rB58A0rM061773@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C812FC1 for ; Thu, 5 Dec 2013 08:06:42 +0000 (UTC) Received: from qmta03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:32]) by mx1.freebsd.org (Postfix) with ESMTP id D98B4161C for ; Thu, 5 Dec 2013 08:06:41 +0000 (UTC) Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta03.emeryville.ca.mail.comcast.net with comcast id xk631m0031zF43QA3k6g63; Thu, 05 Dec 2013 08:06:40 +0000 Received: from jdc.koitsu.org ([76.102.14.35]) by omta24.emeryville.ca.mail.comcast.net with comcast id xk6f1m0020lNtxY8kk6fKy; Thu, 05 Dec 2013 08:06:40 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 0FB3B73A1A; Thu, 5 Dec 2013 00:06:39 -0800 (PST) Message-Id: <20131205080639.0FB3B73A1A@icarus.home.lan> Date: Thu, 5 Dec 2013 00:06:39 -0800 (PST) From: Jeremy Chadwick To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/184509: benchmarks/bonnie++ incorrectly requires lang/gcc Cc: Kenji Rikitake X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 08:10:01 -0000 >Number: 184509 >Category: ports >Synopsis: benchmarks/bonnie++ incorrectly requires lang/gcc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 05 08:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.2-STABLE FreeBSD 9.2-STABLE #0 r258959: Wed Dec 4 22:38:16 PST 2013 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: PR 183432 has introduced a completely unnecessary dependency on gcc 4.6.4 (more specifically, building of ports/lang/gcc): root@icarus:/usr/ports/benchmarks/bonnie++ # make all-depends-list /usr/ports/lang/gcc /usr/ports/devel/binutils /usr/ports/devel/gmake /usr/ports/lang/gcc-ecj45 /usr/ports/archivers/zip /usr/ports/lang/perl5.16 /usr/ports/math/gmp /usr/ports/math/mpfr /usr/ports/math/mpc /usr/ports/converters/libiconv /usr/ports/devel/bison /usr/ports/devel/libtool /usr/ports/devel/m4 bonnie++ builds just fine using the base system gcc on RELENG_9 (gcc 4.2.1). I do not use clang anywhere on my system (I use WITHOUT_CLANG=true in /etc/src.conf). The cause of this dependency is the introduction of USE_GCC=yes into the Makefile. What you probably should be using is: USE_GCC=any ...which I can verify solves the issue I describe above. But please check with folks who use clang first. I've CC'd the author of PR 183432 so he can check to see if USE_GCC=any still works for him on his clang-based system. If it doesn't, then bapt@ needs to be involved in this discussion and explain to ports maintainers how to properly use USE_GCC or how to make this port work with both base system gcc as well as clang. >How-To-Repeat: See above. >Fix: See above. >Release-Note: >Audit-Trail: >Unformatted: