From owner-freebsd-ports Tue Jul 3 16:50:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 05E8737B407 for ; Tue, 3 Jul 2001 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f63No0520377; Tue, 3 Jul 2001 16:50:00 -0700 (PDT) (envelope-from gnats) Received: from minerva.uucp.kew.com (kendra.ne.mediaone.net [24.218.227.234]) by hub.freebsd.org (Postfix) with ESMTP id EFFEB37B401 for ; Tue, 3 Jul 2001 16:46:54 -0700 (PDT) (envelope-from root@minerva.uucp.kew.com) Received: by minerva.uucp.kew.com (Postfix, from userid 0) id E0C8ABA14; Tue, 3 Jul 2001 19:46:53 -0400 (EDT) Message-Id: <20010703234653.E0C8ABA14@minerva.uucp.kew.com> Date: Tue, 3 Jul 2001 19:46:53 -0400 (EDT) From: ahd@kew.com Reply-To: ahd@kew.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28680: pkg_update complains about missing REQUIRED_BY for port build packages Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28680 >Category: ports >Synopsis: pkg_update complains about missing REQUIRED_BY for port build packages >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 03 16:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Drew Derbyshire >Release: FreeBSD 4.3-RELEASE i386 >Organization: Kendra Electronic Wonderworks, Stoneham MA 02180 (http://www.kew.com) >Environment: System: FreeBSD minerva.hh.kew.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Jun 23 09:50:15 EDT 2001 root@:/usr/scratch/obj/usr/src/sys/MINERVA i386 >Description: Invocation of pkg_update routine causes an error message reporting a missing +REQUIRED_BY file: minerva,/usr/ports/textproc/ispell,123# make package . . (build runs) . minerva,/usr/ports/textproc/ispell,123# pkg_update ispell-3.2.04_1.tgz Updating ispell packages to version 3.2.04 Can't open /var/db/pkg/ispell-3.2.04/+REQUIRED_BY, No such file or directory This happens even if the same package is run twice in a row (one would hope if the first pass cleanup encountered an error, it was cleaned by the first pass install). >How-To-Repeat: Execute pkg_update on a port built package. >Fix: Don't issue the error message if the +REQUIRED_BY is an optional component of the package database; otherwise, tweak the port build process to always create a +REQUIRED_BY component. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message