From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 19 03:40:18 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0055616A4D1 for ; Sat, 19 Feb 2005 03:40:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C9B443D70 for ; Sat, 19 Feb 2005 03:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1J3eHn7087984 for ; Sat, 19 Feb 2005 03:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1J3eHjp087983; Sat, 19 Feb 2005 03:40:17 GMT (envelope-from gnats) Resent-Date: Sat, 19 Feb 2005 03:40:17 GMT Resent-Message-Id: <200502190340.j1J3eHjp087983@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, Bartosz Fabianowski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDBAA16A4D5 for ; Sat, 19 Feb 2005 03:34:44 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C990643D53 for ; Sat, 19 Feb 2005 03:34:44 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j1J3Yidq075493 for ; Sat, 19 Feb 2005 03:34:44 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j1J3YiZb075492; Sat, 19 Feb 2005 03:34:44 GMT (envelope-from nobody) Message-Id: <200502190334.j1J3YiZb075492@www.freebsd.org> Date: Sat, 19 Feb 2005 03:34:44 GMT From: Bartosz Fabianowski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/77707: Fix for ports/77403 introduced circular dependency in ports tree X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 03:40:18 -0000 >Number: 77707 >Category: ports >Synopsis: Fix for ports/77403 introduced circular dependency in ports tree >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 03:40:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bartosz Fabianowski >Release: 5.3-STABLE >Organization: >Environment: FreeBSD takahe.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Feb 14 17:57:24 CET 2005 root@takahe.local:/usr/obj/usr/src/sys/TAKAHE i386 >Description: The fix for ports/77403, commited on 13th February, introduced a possible circular dependency in the ports tree. The following line was added to the port's Makefile: USE_GCC= 2.7+ The way this is handled by Mk/bsd.gcc.mk, the port now depends on the earliest version of GCC that is at least 2.7. On my machine, the installed versions of GCC are 3.4 (system) and 3.2 (from ports). Since the earliest version of GCC on this machine is 3.2, the GCC 3.2 port now depends on itself. This is a very bad thing (TM) and, for example, breaks the INDEX build. >How-To-Repeat: On a machine with the following two versions of GCC installed, run make index with an up-to-date ports tree: * system GCC > 3.2 (OSVERSION >= 501103) * GCC 3.2 installed from ports The GCC 3.2 port will pick up itself as a build dependency. >Fix: USE_GCC= 2.7+ is completely useless as no version of GCC prior to 2.7 is available on FreeBSD anyway - neither in ports nor in the system. The obvious fix is therefore to remove this line from the port's Makefile. >Release-Note: >Audit-Trail: >Unformatted: