NetBSD Problem Report #24190
Received: (qmail 9787 invoked by uid 605); 22 Jan 2004 00:57:12 -0000
Message-Id: <20040122005707.0E6F633439@sulley.infnis.com>
Date: Wed, 21 Jan 2004 18:57:07 -0600 (CST)
From: Min Sik Kim <minskim@bawi.org>
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: symlink integrity check fails for pkgviews packages
X-Send-Pr-Version: 3.95
>Number: 24190
>Category: pkg
>Synopsis: symlink integrity check fails for pkgviews packages
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 22 00:58:00 +0000 2004
>Closed-Date: Tue Jun 01 17:33:57 +0000 2004
>Last-Modified: Tue Jun 01 17:33:57 +0000 2004
>Originator: Min Sik Kim
>Release: NetBSD 1.6ZH
>Organization:
>Environment:
>Description:
The symlink integrity check introduced in PR #23048 fails if a package
contains symlinks and is installed as a pkgviews package.
For example, lang/tcl has three symlinks. After installing it into
the standard view, 'pkg_admin check tcl' shows the following:
% pkg_admin check tcl
symlink (/usr/pkg/bin/tclsh) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/bin/tclsh: Symlink:tclsh8.3
symlink (/usr/pkg/lib/libtcl83.so) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/lib/libtcl83.so: Symlink:libtcl83.so.1.0
symlink (/usr/pkg/lib/libtcl83.so.1) is not same as recorded value, Symlink:/usr/pkg/packages/tcl-8.3.4/lib/libtcl83.so.1: Symlink:libtcl83.so.1.0
.
Checked 623 files from 1 package.
Done.
>How-To-Repeat:
Install lang/tcl as pkgviews and run 'pkg_admin check tcl'.
>Fix:
>Release-Note:
>Audit-Trail:
From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24190 CVS commit: pkgsrc/pkgtools/pkg_install/files
Date: Tue, 1 Jun 2004 17:32:21 +0000 (UTC)
Module Name: pkgsrc
Committed By: minskim
Date: Tue Jun 1 17:32:21 UTC 2004
Modified Files:
pkgsrc/pkgtools/pkg_install/files: configure configure.ac
pkgsrc/pkgtools/pkg_install/files/lib: plist.c version.h
pkgsrc/pkgtools/pkg_install/files/view: pkg_view.sh.in
Log Message:
Import 20040601.
- Handle symlinks in a view correctly.
- Remove superfluous escapes in BRE.
This closes PR pkg/24190.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pkgsrc/pkgtools/pkg_install/files/configure
cvs rdiff -r1.7 -r1.8 pkgsrc/pkgtools/pkg_install/files/configure.ac
cvs rdiff -r1.8 -r1.9 pkgsrc/pkgtools/pkg_install/files/lib/plist.c
cvs rdiff -r1.30 -r1.31 pkgsrc/pkgtools/pkg_install/files/lib/version.h
cvs rdiff -r1.3 -r1.4 pkgsrc/pkgtools/pkg_install/files/view/pkg_view.sh.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: minskim
State-Changed-When: Tue Jun 1 17:33:37 UTC 2004
State-Changed-Why:
Fixed.
>Unformatted:
Environment:
System: NetBSD sulley.infnis.com 1.6ZH NetBSD 1.6ZH (SULLEY) #3: Fri Jan 16 16:57:45 CST 2004 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.