From owner-freebsd-questions@FreeBSD.ORG Fri Sep 1 18:03:38 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 958F016A4DD for ; Fri, 1 Sep 2006 18:03:38 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 372F543D46 for ; Fri, 1 Sep 2006 18:03:37 +0000 (GMT) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id k81I3jTq018558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 1 Sep 2006 11:03:45 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id k81I3jCh018557 for questions@freebsd.org; Fri, 1 Sep 2006 11:03:45 -0700 (PDT) Received: by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA10312; Fri, 1 Sep 06 10:58:08 PDT Date: Fri, 1 Sep 06 10:58:08 PDT From: perryh@pluto.rain.com (Perry Hutchison) Message-Id: <10609011758.AA10312@pluto.rain.com> To: questions@freebsd.org Cc: Subject: Trouble building abiword in the Ports Collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 18:03:38 -0000 What I have done: * Installed 6.1, including the Ports Collection, from CD. * Ran portsnap fetch. * Attempted portsnap update. ? It sez this only works after an extract. What is the point of installing the collection from CD if it has to be completely reinstalled from a download anyway? * Ran portsnap extract. * Built richtext, apparently successfully. * Attempted to build abiword. It complained about a glibc version problem, and said to run gnomelogalyzer.sh. gnomelogalyzer.sh found nothing specific, but said to run 'portupgrade -a' on general principles. ? Why should this be needed? Shouldn't a freshly-downloaded portsnap already be up to date? * Attempted 'portupgrade -a'. It ran for several hours, fetching and building a huge amount of stuff (most of which I don't think I want), and pausing several times for answers to imponderable configuration questions, before eventually failing. ? Shouldn't those configuration screens have a "help" function, for those of us who have no clue what some of the options amount to? * Reran 'portupgrade -a' to get a smaller logfile, showing only the errors (since presumably the successful builds won't be redone). This time it complains about the pkgdb. ? Now what? Is it time to "rm -rf /usr/ports /var/db/pkg" and start completely over (and if so, what should I do differently this time)? =============== logfile from second 'portupgrade -a' =============== # date ; portupgrade -a ; date Fri Sep 1 10:34:20 PDT 2006 [Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... [Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!] Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ Fri Sep 1 10:34:24 PDT 2006 # ls -l /var/db/pkg/pkgdb.db -rw-r--r-- 1 root wheel 5963776 Sep 1 01:42 /var/db/pkg/pkgdb.db # file /var/db/pkg/pkgdb.db /var/db/pkg/pkgdb.db: Berkeley DB 1.85/1.86 (Btree, version 3, native byte-order)