From owner-freebsd-questions@FreeBSD.ORG Fri Jul 27 19:51:27 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8225016A418 for ; Fri, 27 Jul 2007 19:51:27 +0000 (UTC) (envelope-from dwinner@dwinner.net) Received: from outbound-mail-74.bluehost.com (outbound-mail-74.bluehost.com [69.89.20.9]) by mx1.freebsd.org (Postfix) with SMTP id 53C8313C458 for ; Fri, 27 Jul 2007 19:51:27 +0000 (UTC) (envelope-from dwinner@dwinner.net) Received: (qmail 31199 invoked by uid 0); 27 Jul 2007 19:51:27 -0000 Received: from unknown (HELO box122.bluehost.com) (69.89.22.122) by mailproxy4.bluehost.com with SMTP; 27 Jul 2007 19:51:27 -0000 Received: from [216.113.237.29] (helo=evenstar.ifqasys.lan) by box122.bluehost.com with esmtpa (Exim 4.66) (envelope-from ) id 1IEVqP-00007g-Gw; Fri, 27 Jul 2007 13:51:25 -0600 Message-ID: <46AA4CBB.4080605@dwinner.net> Date: Fri, 27 Jul 2007 15:51:23 -0400 From: Duane Winner User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {731:box122.bluehost.com:dwinnern:dwinner.net} {sentby:smtp auth 216.113.237.29 authed with dwinner+dwinner.net} Cc: "David J. Neu" , "Arend P. van der Veen" Subject: emacs22 and portsdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dwinner@dwinner.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 19:51:27 -0000 Hello, We've been having a problem with generating the ports Index ever since upgrading to emacs22. As per /usr/ports/UPDATING, we added EMACS_PORT_NAME=*emacs22* to /etc/make.conf Everything went fine. Now running emacs22. But ever since, our daily routine of cvsup'ing and portsdb -Uu has gone south, first with this error: lsdb-*emacs22*-0.10_1: "/usr/ports/editors/flim-*emacs22*" non-existent -- dependency list incomplete ===> devel/lsdb failed *** Error code 1 1 error and now today this: Updating the ports index ... Generating INDEX.tmp - please wait..eieio-emacs22-0.17_2: "/usr/ports/editors/speedbar-emacs22" non-existent -- dependency list incomplete ===> devel/eieio failed *** Error code 1 1 error ... *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! Perhaps we should be doing a "portsdb -Fu" instead of "-Uu"? (that works when I tried it) I'm not sure, because according to the portsdb manpage, "If you define special macros in /etc/make.conf and the dependency of some ports are changed, you should create INDEX by yourself by using this option. Otherwise, using -F option is recommended since it is much faster." but we do have that "EMACS_PORT_NAME=emacs22" in /etc/make.conf, so I'm not sure. We are also not sure what the implications are of doing a "portupgrade -a" or "portinstall" after after a failed portsdb. Some of our ports are getting out of date, and we're not sure what to do. Also, I'm not sure if "EMACS_PORT_NAME=emacs22" even needs to stay in /etc/make.conf after upgrading. I just did a fresh install of FreeBSD a new server yesterday, and emacs22 was installed by default when I did my "portinstall emacs" anyway, so is there any sense in keeping it in make.conf on boxes where I've upgraded? On one test machine, I took that line out /etc/make.conf, and portsdb -Uu works again, so any guidance on this topic would also be appreciated. Thank you, DW