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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 30 09:10:01 +0000 2008
>Closed-Date:    Mon May 23 05:25:14 +0000 2022
>Last-Modified:  Mon May 23 05:25:14 +0000 2022
>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.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 23 May 2022 04:33:50 +0000
State-Changed-Why:
Is this still a problem? I'm guessing not... been a long time


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 23 May 2022 05:25:14 +0000
State-Changed-Why:
feedback mail bounced, assume fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.