From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 20 05:40:18 2004 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 5B94E16A4CE for ; Sat, 20 Nov 2004 05:40:18 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FCAE43D31 for ; Sat, 20 Nov 2004 05:40:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) iAK5eIQR010125 for ; Sat, 20 Nov 2004 05:40:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iAK5eIUB010121; Sat, 20 Nov 2004 05:40:18 GMT (envelope-from gnats) Resent-Date: Sat, 20 Nov 2004 05:40:18 GMT Resent-Message-Id: <200411200540.iAK5eIUB010121@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, Andrew Reilly Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 029F216A4D0 for ; Sat, 20 Nov 2004 05:36:40 +0000 (GMT) Received: from gizmo09ps.bigpond.com (gizmo09ps.bigpond.com [144.140.71.19]) by mx1.FreeBSD.org (Postfix) with SMTP id 5943243D2F for ; Sat, 20 Nov 2004 05:36:38 +0000 (GMT) (envelope-from andrew@areilly.bpc-users.org) Received: (qmail 8895 invoked from network); 20 Nov 2004 05:36:36 -0000 Received: from unknown (HELO psmam02.bigpond.com) (144.135.25.72) by gizmo09ps.bigpond.com with SMTP; 20 Nov 2004 05:36:36 -0000 Received: from cpe-138-130-188-103.nsw.bigpond.net.au ([138.130.188.103]) by psmam02.bigpond.com(MAM REL_3_4_2a 80/10897966) with SMTP id 10897966; Sat, 20 Nov 2004 15:36:36 +1000 Received: (qmail 45117 invoked by uid 1000); 20 Nov 2004 05:36:36 -0000 Message-Id: <20041120053636.45113.qmail@areilly.bpc-users.org> Date: 20 Nov 2004 05:36:36 -0000 From: Andrew Reilly To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/74147: portupgrade dies, "Generating INDEX.tmp" X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Reilly List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 05:40:18 -0000 >Number: 74147 >Category: ports >Synopsis: portupgrade dies, "Generating INDEX.tmp" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 20 05:40:17 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew Reilly >Release: FreeBSD 4.10-STABLE i386 >Organization: >Environment: System: FreeBSD gurney.reilly.home 4.10-STABLE FreeBSD 4.10-STABLE #2: Sat Nov 20 13:54:38 EST 2004 root@gurney.reilly.home:/usr/var/tmp/obj/usr/src/sys/GURNEY i386 >Description: CVSupped RELENG_4 and ports-all last night. Today: rebuilt world and kernel, and installed both, no problems. Started portupgrade -a (with $PORTUPGRADE flags -yrRbl /tmp/portupgrade.log) and that terminated with the following error log: ---> Session started at: Sat, 20 Nov 2004 15:49:25 +1100 [Updating the pkgdb in /var/db/pkg ... - 506 packages found (-1 +1) (...). done] Updating the ports index ... Generating INDEX.tmp - please wait.."/usr/ports/Mk/bsd.gnome.mk", line 8: Malformed conditional (${_USE_GNOME_ALL:Mgtk12}=="") "/usr/ports/Mk/bsd.gnome.mk", line 8: Need an operator "/usr/ports/Mk/bsd.port.mk", line 4930: if-less endif "/usr/ports/Mk/bsd.port.mk", line 4930: Need an operator make: fatal errors encountered -- cannot continue ===> chinese/xemacs21 failed *** Error code 1 1 error ******************************************************************** Before reporting this error, verify that you are running a supported version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections -- in particular, if you are using cvsup, you must cvsup the "ports-all" collection, and have no "refuse" files.) If that is the case, then report the failure to ports@FreeBSD.org together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and WITH/WITHOUT settings). Note: the latest pre-generated version of INDEX may be fetched automatically with "make fetchindex". ******************************************************************** *** Error code 1 Stop in /usr/ports. *** Error code 1 Stop in /usr/ports. failed to generate INDEX! index generation error ---> Session ended at: Sat, 20 Nov 2004 15:55:42 +1100 (consumed 00:06:16) /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:482:in `open_db': database file error (PortsDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:634:in `port' from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:822:in `all_depends_list' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1845 >How-To-Repeat: just do portupgrade -a on my system >Fix: I've nuked the bulk of my /etc/make.conf file, and it seems to be proceeding OK. It's certainly managed to run for longer than it was before. The deleted lines include (accumulated over many years): FETCH_BEFORE_ARGS=-p USA_RESIDENT=NO HAVE_MOTIF=yes MOTIF_STATIC=yes MAKE_IDEA=YES #MAKE_KERBEROS4=yes MAKE_KERBEROS5=yes MAKE_RSAINTL=YES PORTSSUPFILE=/usr/share/examples/cvsup/ports-gurney PRINTERDEVICE=ps SUPFILE=/usr/share/examples/cvsup/stable-gurney SUPHOST=cvsup3.au.FreeBSD.org XFREE86_VERSION=4 GNOME_DESKTOP_VERSION=2 ISPELL_BRITISH=yes ASPELL_EN=yes WITHOUT_PILOT=yes WANT_GTK=yes WITH_GTK2=yes WITH_ASPELL=yes WITH_AUDIOFILE=yes WITH_BSD_JDK=TRUE WITH_COMPFACE=yes WITH_FAM=yes WITH_FULL_MOZILLA=yes WITH_GIMP=yes WITH_GIF_LZW_COMPRESSION=yes WITH_GPGME=yes WITH_ISPELL=yes WITH_LAME=yes WITH_LZW=yes WITH_MIKMOD=yes WITH_MMX=yes WITH_MPG123=yes WITH_OPTIMIZED_CFLAGS=yes WITH_OPT_PPRO=yes WITH_PIXBUF=yes WITH_PYECASOUND=yes WITH_TTF_BYTECODE_ENABLED=YES WITH_VORBIS=yes WITH_QT=yes >Release-Note: >Audit-Trail: >Unformatted: