NetBSD Problem Report #37919

From martin@duskware.de  Wed Jan 30 09:07:10 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7162863B853
	for <gnats-bugs@gnats.netbsd.org>; Wed, 30 Jan 2008 09:07:10 +0000 (UTC)
Message-Id: <20080130084656.B895E63B101@narn.NetBSD.org>
Date: Wed, 30 Jan 2008 08:46:56 +0000 (UTC)
From: hbent@cs.oberlin.edu
Reply-To: hbent@cs.oberlin.edu
To: netbsd-bugs-owner@NetBSD.org
Subject: pkgsrc-2007Q4 netbsd compat packages set incorrect symlinks
X-Send-Pr-Version: www-1.0

>Number:         37919
>Category:       pkg
>Synopsis:       pkgsrc-2007Q4 netbsd compat packages set incorrect symlinks
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 30 09:10:01 +0000 2008
>Originator:     Henry R. Bent
>Release:        4.99.51
>Organization:
>Environment:
NetBSD aelfric 4.99.51 NetBSD 4.99.51 (AELFRIC) #1: Tue Jan 29 04:01:25 EST 2008  root@aelfric:/usr/obj/src-current/sys/arch/i386/compile/AELFRIC i386
>Description:
All ELF compat packages (compat15 and newer) in 2007Q4 set symlinks without a preceding /usr/pkgsrc.  They look like this (example from compat40):

aelfric% ll /usr/lib/libssh.so.5
lrwxr-xr-x 1 root wheel 31 2008-01-30 03:24 /usr/lib/libssh.so.5 -> emul/netbsd/usr/lib/libssh.so.5

At the very least they should have a preceding forward slash, though I imagine they are supposed to point to /usr/pkgsrc/emul.

Looks like the .symlinks-data file in work/ is being generated incorrectly.  Here is a line from the one in compat40:

# SYMLINK: emul/netbsd/usr/lib/libssh.so.5 /usr/lib/libssh.so.5
>How-To-Repeat:
Install emulators/compat15, compat16, compat20, compat30, compat40 on i386 and note incorrect symlinks.  Not tested on other platforms.
>Fix:
I couldn't figure it out, sorry.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.