From owner-freebsd-ports@FreeBSD.ORG Thu Jul 6 18:26:16 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 4BB2D16A4E2 for ; Thu, 6 Jul 2006 18:26:16 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id CE46A43D49 for ; Thu, 6 Jul 2006 18:26:14 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 06 Jul 2006 18:26:13 -0000 Received: from p50911DC8.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.29.200] by mail.gmx.net (mp040) with SMTP; 06 Jul 2006 20:26:13 +0200 X-Authenticated: #428038 Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 7A5F220050E; Thu, 6 Jul 2006 20:26:11 +0200 (CEST) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28990-05; Thu, 6 Jul 2006 20:26:10 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id E7887200F16; Thu, 6 Jul 2006 20:26:09 +0200 (CEST) From: Matthias Andree To: matt@genesi-usa.com In-Reply-To: <001901c6a0d6$309bf310$99dfdfdf@bakuhatsu.net> (Matt Sealey's message of "Thu, 6 Jul 2006 03:28:38 -0500") References: <001901c6a0d6$309bf310$99dfdfdf@bakuhatsu.net> X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Thu, 06 Jul 2006 20:26:09 +0200 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at emma.line.org X-Y-GMX-Trusted: 0 Cc: freebsd-ports@freebsd.org, 'Sergey Matveychuk' Subject: Re: ruby-bdb broken somehow? 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: Thu, 06 Jul 2006 18:26:16 -0000 "Matt Sealey" writes: > Mrff. > > Okay I rebuuilt from scratch. > > First run of portupgrade complained that the DB was not the required > format and completely rebuilt the package database. > > It makes me wonder what else broke that used Ruby and put databases > on my disk somewhere.. and is going to explode because it was using > a 1.8x bdb database and not a 4.3? As your database was rebuilt (since ruby18-bdb-* didn't like the 1.85 format it found), no need to be scared, it's in 4.3 format now. Follows generic Berkeley DB 4.2 -> 4.3 upgrade instructions: Other than that, db43 can handle db42 *non-transactional* databases (like portupgrade uses). Transactional databases leave log.NNNNNNNN and __db.NNN files behind. If you have *transactional* databases (those to write BOTH log.NNNNNNNNNN and __db.NNN), see the application-specific upgrade notes (for instance, bogofilter has them in README.db). If there are none, remove the db42-written __db.* files *BEFORE* running the now db43-based application for the first time, Berkeley DB will then upgrade the database logs properly. It cannot hurt to make proper backups before database/application upgrades though -- be sure to backup the log.* files *AFTER* the *.db files. -- Matthias Andree