[bug-notifications] [subversion 0004096]: Symlinks pointing to non-existing files

Mantis Bug Tracker noreply at opencsw.org
Wed Dec 23 11:28:37 CET 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=4096 
====================================================================== 
Reported By:                maciej
Assigned To:                
====================================================================== 
Project:                    subversion
Issue ID:                   4096
Category:                   packaging
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-12-23 11:28 CET
Last Modified:              2009-12-23 11:28 CET
====================================================================== 
Summary:                    Symlinks pointing to non-existing files
Description: 
Looks like the subversion package contains symlinks to non-existing files:

maciej at build8s [build8s]:~ > ls -l /opt/csw/lib/libsvn_ra_dav-1.so
lrwxrwxrwx   1 root     other        116 Dec 19 01:18
/opt/csw/lib/libsvn_ra_dav-1.so ->
/home/rupert/mgar/pkg/subversion/trunk/work/solaris8-sparc/install-isa-sparcv8/opt/csw/lib/libsvn_ra_neon-1.so.0.0.0

maciej at build8s [build8s]:~ > pkgchk -l -p /opt/csw/lib/libsvn_ra_dav-1.so
Pathname: /opt/csw/lib/libsvn_ra_dav-1.so
Type: symbolic link
Source of link:
/home/rupert/mgar/pkg/subversion/trunk/work/solaris8-sparc/install-isa-sparcv8/opt/csw/lib/libsvn_ra_neon-1.so.0.0.0
Referenced by the following packages:
        CSWsvn         
Current status: installed

I expected to find the problem in this target:

fix-ra_dav:
	@# libsvn_ra_dav-1* has been renamed to libsvn_ra_neon-1* 
	@# in the new versions of subversion, 
	@# we need to link for backward compatability
	@(gln -s libsvn_ra_neon-1.so.0.0.0
$(DESTDIR)$(SVNLIB)/libsvn_ra_dav-1.so.0)
	@(gln -s libsvn_ra_neon-1.so.0.0.0
$(DESTDIR)$(SVNLIB)/libsvn_ra_dav-1.so)
	@$(MAKECOOKIE)

...but it looks good to me. The fact remains, in both sparc and x86
packages, the symlink points to a non-existing file:

vsol01 ~ # grep neon /var/sadm/pkg/CSWsvn/save/pspool/CSWsvn/pkgmap 
1 s none
/opt/csw/lib/libsvn_ra_dav-1.so=/home/rupert/mgar/pkg/subversion/trunk/work/solaris8-i386/install-isa-i386/opt/csw/lib/libsvn_ra_neon-1.so.0.0.0
1 s none
/opt/csw/lib/libsvn_ra_dav-1.so.0=/home/rupert/mgar/pkg/subversion/trunk/work/solaris8-i386/install-isa-i386/opt/csw/lib/libsvn_ra_neon-1.so.0.0.0
1 s none /opt/csw/lib/svn/libsvn_ra_neon-1.so=libsvn_ra_neon-1.so.0.0.0
1 s none /opt/csw/lib/svn/libsvn_ra_neon-1.so.0=libsvn_ra_neon-1.so.0.0.0
1 f none /opt/csw/lib/svn/libsvn_ra_neon-1.so.0.0.0 0755 root bin 198472
48123 1258221717

======================================================================




More information about the bug-notifications mailing list