pkgsrc-Bugs archive

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

pkg/38611: pkg_add mono broken



>Number:         38611
>Category:       pkg
>Synopsis:       pkg_add mono broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 13:50:00 +0000 2008
>Originator:     Thomas Klausner
>Release:        NetBSD 4.99.62
>Organization:
Curiosity is the very basis of education and if you tell me that 
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
        
        
System: NetBSD hiro.nih.at 4.99.62 NetBSD 4.99.62 (HIRO64) #25: Tue Apr 29 
23:04:54 CEST 2008 
wiz%hiro.nih.at@localhost:/disk/wd2a/archive/cvs/src/sys/arch/amd64/compile/obj/HIRO64
 amd64
Architecture: x86_64
Machine: amd64
>Description:
pkg_add doesn't handle binary packages with long symlinks correctly which
were created with pkg_create.

Example: lang/mono.

When pkg_add'ing mono, one gets:
# ls -l /usr/pkg/lib/mono/1.0/System.Runtime.S*
lrwxr-xr-x  1 root  wheel  16 Apr 30 07:09 
/usr/pkg/lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll -> 
././@LongSymLink

When extracting the binary package using gtar-base-1.15*, one gets:
# ls -l lib/mono/1.0/System.Runtime.S*
l---------  1 root  wheel  129 May  8 13:43 
lib/mono/1.0/System.Runtime.Serialization.Formatters.Soap.dll -> 
../gac/System.Runtime.Serialization.Formatters.Soap/1.0.5000.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll

So the binary package itself is ok, just pkg_add fails.

This breaks dependencies of mono, e.g. mono-xsp or mono-tools when
the mono dependency is installed from the binary package.

>How-To-Repeat:
cd /usr/pkgsrc/lang/mono
make package
pkg_delete mono
pkg_add mono
>Fix:
Not supplied.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index