pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37919: pkgsrc-2007Q4 netbsd compat packages set incorrect symlinks



>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.




Home | Main Index | Thread Index | Old Index