From nobody@FreeBSD.org  Mon Jul  1 12:03:41 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8F16B37B409
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Jul 2002 12:03:41 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4BDF443E0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Jul 2002 12:03:41 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g61J3fOT050250
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 1 Jul 2002 12:03:41 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g61J3fID050249;
	Mon, 1 Jul 2002 12:03:41 -0700 (PDT)
Message-Id: <200207011903.g61J3fID050249@www.freebsd.org>
Date: Mon, 1 Jul 2002 12:03:41 -0700 (PDT)
From: Paul Marquis <pmarquis@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Specifying USE_GCC to "make clean" hangs
X-Send-Pr-Version: www-1.0

>Number:         40087
>Category:       ports
>Synopsis:       Specifying USE_GCC to "make clean" hangs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 12:10:01 PDT 2002
>Closed-Date:    Fri Aug 30 14:31:01 PDT 2002
>Last-Modified:  Fri Aug 30 14:31:01 PDT 2002
>Originator:     Paul Marquis
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Jun 25 21:43:42 EDT 2002     pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY  i386

>Description:
For any port, if one specifies USE_GCC to make clean and the version specified in USE_GCC is not the stock compiler version (that is, it requires building a port version of gcc), the make hangs, forking an infinite number of child make process.

I'm researching the porblem, but I figured somone with more experience with the port build system might be able to isolate it before I could.
>How-To-Repeat:
On a stable system, run the following (can be any port):

  # cd /usr/ports/devel/stlport && make clean USE_GCC=3.1

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->portmgr 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Sun Aug 4 11:48:00 PDT 2002 
Responsible-Changed-Why:  
USE_GCC is bsd.port.mk area which is portmgr arena 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40087 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Fri Aug 30 14:30:45 PDT 2002 
State-Changed-Why:  
USE_GCC isn't supposed to be used in this manner. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40087 
>Unformatted:
