NetBSD Problem Report #37919

From  Wed Jan 30 09:07:10 2008
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 7162863B853
	for <>; Wed, 30 Jan 2008 09:07:10 +0000 (UTC)
Message-Id: <>
Date: Wed, 30 Jan 2008 08:46:56 +0000 (UTC)
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
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
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/
lrwxr-xr-x 1 root wheel 31 2008-01-30 03:24 /usr/lib/ -> emul/netbsd/usr/lib/

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/ /usr/lib/
Install emulators/compat15, compat16, compat20, compat30, compat40 on i386 and note incorrect symlinks.  Not tested on other platforms.
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:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.