From owner-freebsd-ports@FreeBSD.ORG Tue May 23 19:37:15 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DAC316A595 for ; Tue, 23 May 2006 19:37:15 +0000 (UTC) (envelope-from anrays@gmail.com) Received: from tor.farlep.net (tor.farlep.net [213.130.1.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86B8043D45 for ; Tue, 23 May 2006 19:37:14 +0000 (GMT) (envelope-from anrays@gmail.com) Received: from santinel.home.ua (max5-10.dialup.farlep.net [213.130.5.139]) by tor.farlep.net with ESMTP id k4NJb0IB008073; Tue, 23 May 2006 22:37:08 +0300 Received: from anray by santinel.home.ua with local (Exim 4.61; FreeBSD) id 1FicgY-0006q9-52; Tue, 23 May 2006 22:36:54 +0300 To: Mark Evenson , References: <200204301328.g3UDS9X43078@thelonious.eziba.com> From: Andrey Slusar Mail-Followup-To: Mark Evenson , , freebsd-ports@freebsd.org Date: Tue, 23 May 2006 22:36:54 +0300 In-Reply-To: (Mark Evenson's message of "Tue, 23 May 2006 21:01:38 +0200") Message-ID: <86bqtoy1m1.fsf@santinel.home.ua> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SMTP-Vilter-Version: 1.1.8 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean Cc: freebsd-ports@freebsd.org Subject: Re: setting EMACS_PORT_NAME=emacs22 forks make infinitely at the port registration step X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2006 19:37:21 -0000 Tue, 23 May 2006 21:01:38 +0200, Mark Evenson wrote: > Jay Sachs wrote: > >> Number: 37596 > >> Category: ports > >> Synopsis: EMACS_PORT_NAME=xemacs21 forks make infinitely when installing other ports This bug is uncorrectly fixed. > When setting EMACS_PORT_NAME=emacs22 (The new Emacs has some nice new > features esp. wrt. Lisp development) on the command line or in > /etc/make.conf, the ports mechanism forks infinitely at the port > registration step. Eventually this forking stops when the recursion > limit is reached, but gosh does it take a long time on a slow > machine. Or even a fast machine for that matter. > This seems to be identical to the symptom that was fixed with > ports/37596, and I don't really understand why it would be > returning. Maybe it is from some other cause? > This is happening on freshly supped ports trees under RELENG_6_1 on > several machines (two new, one quite old that has been nursed along > over the years since 2001), using portupgrade -ras to keep ports in > sync with dependencies. > The recursively invoked make(1)s look like this from a ps: > root 86542 8.4 0.4 1284 1136 p3 S+ 8:54PM 0:00.28 make > CHILD_DEPENDS=yes PARENT_CHECKED= package-depends-list > The empty PARENT_CHECKED is suspicious, but when I run manually with a > value, it still forks forever. > Am I using the EMACS_PORT_NAME variable correctly? (i.e. its not a > forbidden user knob like USE_XXX) > Can I help provide more information? > Should I reopen the bug report or start a new one? See this fix, submitted by nobutaka. This is now in testing and later committed to ports tree. --8<---------------cut here---------------start------------->8--- --- Mk/bsd.port.mk.orig Tue May 23 22:21:46 2006 +++ Mk/bsd.port.mk Tue May 23 22:22:03 2006 @@ -1339,7 +1339,7 @@ .include "${PORTSDIR}/Mk/bsd.openssl.mk" .endif -.if defined(USE_EMACS) || defined(EMACS_PORT_NAME) +.if defined(USE_EMACS) .include "${PORTSDIR}/Mk/bsd.emacs.mk" .endif --8<---------------cut here---------------end--------------->8--- -- Regards, Andrey.