OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004420 [subversion] regular use major always 2010-05-17 12:55 2010-09-17 15:56
Reporter alexs77 View Status public  
Assigned To dam
Priority normal Resolution no change required  
Status closed  
Summary 0004420: Linked against old neon library (0.26)
Description When I try to execute svn, it fails, because it's linked against neon 0.26, but on the repository, there's already 0.29.
Additional Information --($ ~)-- pkginfo -l CSWsvn
   PKGINST: CSWsvn
      NAME: subversion - Version control rethought
  CATEGORY: application
      ARCH: sparc
   VERSION: 1.6.9,REV=2010.03.07
   BASEDIR: /
    VENDOR: http://subversion.apache.org/ [^] packaged for CSW by THURNER rupert
    PSTAMP: rupert@build8s-20100307143220
  INSTDATE: Apr 20 2010 15:35
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: rupert@opencsw.org
    STATUS: vollständig installiert
     FILES: 101 installierte Pfadnamen
                   8 gemeinsam genutzte Pfadnamen
                  15 Verzeichnisse
                  32 ausführbare Dateien
               12768 genutzte Blöcke (geschätzter Wert)


--($ ~)-- ldd /opt/csw/bin/svn | grep 'file not found'
        libneon.so.26 => (file not found)
        libneon.so.26 => (file not found)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007930)
dam (administrator)
2010-05-17 21:40

Hi Alex,

please see what packages are installed with
  pkginfo -x CSWneon CSWneonfull
and what is in the libdir with
  ls -l /opt/csw/lib/libneon*

The .so-version has no resemblence to the software version and the 0.29.3-package contains all previous versions still in use by OpenCSW packages, so it should be no problem in theory. The current libneon uses "alternatives" to select different versions with separate sets of compiled-in features and dependencies (CSWneon vs. CSWneonfull).
(0007931)
alexs77 (reporter)
2010-05-18 09:52

--($ ~)-- pkginfo -x CSWneon CSWneonfull
CSWneon neon - Neon HTTP and WebDAV client library (minimal dependencies)
         (sparc) 0.29.3,REV=2010.02.25
ERROR: information for "CSWneonfull" was not found

--($ ~)-- ls -l /opt/csw/lib/libneon*
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon-minimal.so.26.0.4
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon-minimal.so.27.2.3
lrwxrwxrwx 1 root root 17 May 11 10:44 /opt/csw/lib/libneon.so -> libneon.so.27.2.3
lrwxrwxrwx 1 root root 17 May 11 10:44 /opt/csw/lib/libneon.so.26 -> libneon.so.26.0.4
lrwxrwxrwx 1 root root 17 May 11 10:44 /opt/csw/lib/libneon.so.27 -> libneon.so.27.2.3


So CSWneonfull isn't installed. I just removed (pkgrm) CSWneon CSWsvn and re-installed it (pkgutil -yi CSWsvn). CSWneonfull still isn't there and after the reinstallation, there's now this situation:

--($ ~)-- pkginfo -x CSWneon CSWneonfull
CSWneon neon - Neon HTTP and WebDAV client library (minimal dependencies)
         (sparc) 0.29.3,REV=2010.02.25
ERROR: information for "CSWneonfull" was not found

--($ ~)-- ls -l /opt/csw/lib/libneon*
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon-minimal.so.26.0.4
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon-minimal.so.27.2.3
lrwxrwxrwx 1 root root 17 May 18 09:49 /opt/csw/lib/libneon.so -> libneon.so.27.2.3
lrwxrwxrwx 1 root root 17 May 18 09:49 /opt/csw/lib/libneon.so.26 -> libneon.so.26.0.4
lrwxrwxrwx 1 root other 33 May 18 09:49 /opt/csw/lib/libneon.so.26.0.4 -> /etc/opt/csw/alternatives/neon.26
lrwxrwxrwx 1 root root 17 May 18 09:49 /opt/csw/lib/libneon.so.27 -> libneon.so.27.2.3
lrwxrwxrwx 1 root other 30 May 18 09:49 /opt/csw/lib/libneon.so.27.2.3 -> /etc/opt/csw/alternatives/neon



When I manually install CSWneonfull, I can run svn. But if CSWneonfull is required, shouldn't CSWsvn depend on it?
(0007932)
dam (administrator)
2010-05-18 15:15

The idea is to have a basic CSWneon --without-libproxy --without-pakchois --without-gssapi which fullfills the basic dependency and then to have an optional CSWneonfull with additional features and more dependencies. The libraries in both packages should work with svn. Usually svn should depend on the basic package and the user is free to install the more featureful package at any time and immediately gain more features. This is done using "alternatives":
  http://wiki.opencsw.org/project-alternatives [^]

I just verified the plain intallation of CSWneon without CSWneonfull and it seems to work:

=> Installing CSWneon-0.29.3,REV=2010.02.25

Processing package instance <CSWneon> from </var/opt/csw/pkgutil/packages/neon-0.29.3,REV=2010.02.25-SunOS5.8-sparc-CSW.pkg>

neon - Neon HTTP and WebDAV client library (minimal dependencies)
(sparc) 0.29.3,REV=2010.02.25
Please see /opt/csw/share/doc/neon/license for license information.
## Processing package information.
## Processing system information.
   3 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing neon - Neon HTTP and WebDAV client library (minimal dependencies) as <CSWneon>

## Installing part 1 of 1.
/opt/csw/lib/libneon-minimal.so.26.0.4
/opt/csw/lib/libneon-minimal.so.27.2.3
/opt/csw/lib/libneon.so <symbolic link>
/opt/csw/lib/libneon.so.26 <symbolic link>
/opt/csw/lib/libneon.so.27 <symbolic link>
/opt/csw/lib/sparcv9/libneon-minimal.so.26.0.4
/opt/csw/lib/sparcv9/libneon-minimal.so.27.2.3
/opt/csw/lib/sparcv9/libneon.so <symbolic link>
/opt/csw/lib/sparcv9/libneon.so.26 <symbolic link>
/opt/csw/lib/sparcv9/libneon.so.27 <symbolic link>
/opt/csw/share/doc/neon/license
/opt/csw/share/locale/cs/LC_MESSAGES/neon.mo
/opt/csw/share/locale/de/LC_MESSAGES/neon.mo
/opt/csw/share/locale/fr/LC_MESSAGES/neon.mo
/opt/csw/share/locale/ja/LC_MESSAGES/neon.mo
/opt/csw/share/locale/nn/LC_MESSAGES/neon.mo
/opt/csw/share/locale/pl/LC_MESSAGES/neon.mo
/opt/csw/share/locale/ru/LC_MESSAGES/neon.mo
/opt/csw/share/locale/tr/LC_MESSAGES/neon.mo
/opt/csw/share/locale/zh_CN/LC_MESSAGES/neon.mo
[ verifying class <none> ]
Registering 'neon' alternative /opt/csw/lib/libneon-minimal.so.27.2.3 ...
[ verifying class <cswalternatives> ]

Installation of <CSWneon> was successful.
root@testing9s :/root > ls -l /opt/csw/lib/libneon*
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon-minimal.so.26.0.4
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon-minimal.so.27.2.3
lrwxrwxrwx 1 root other 17 May 18 15:13 /opt/csw/lib/libneon.so -> libneon.so.27.2.3
lrwxrwxrwx 1 root other 17 May 18 15:13 /opt/csw/lib/libneon.so.26 -> libneon.so.26.0.4
lrwxrwxrwx 1 root other 33 May 18 15:13 /opt/csw/lib/libneon.so.26.0.4 -> /etc/opt/csw/alternatives/neon.26
lrwxrwxrwx 1 root other 17 May 18 15:13 /opt/csw/lib/libneon.so.27 -> libneon.so.27.2.3
lrwxrwxrwx 1 root other 30 May 18 15:13 /opt/csw/lib/libneon.so.27.2.3 -> /etc/opt/csw/alternatives/neon
root@testing9s :/root > ls -lL /opt/csw/lib/libneon*
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon-minimal.so.26.0.4
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon-minimal.so.27.2.3
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon.so
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon.so.26
-rwxr-xr-x 1 root bin 175564 Feb 25 11:58 /opt/csw/lib/libneon.so.26.0.4
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon.so.27
-rwxr-xr-x 1 root bin 212988 Feb 25 12:04 /opt/csw/lib/libneon.so.27.2.3

Which version of alternatives are you using?

root@testing9s :/root > pkginfo -x CSWalternatives
CSWalternatives alternatives - Alternatives engine from Red Hat chkconfig-1.3.30c
                      (sparc) 1.3.30c,REV=2010.02.18
(0007933)
alexs77 (reporter)
2010-05-18 15:38
edited on: 2010-05-18 15:39

alternatives...
That might be it. If you checkout the mirrors (eg. ftp://mirror.switch.ch/mirror/opencsw/current/sparc/5.10/ [^] or http://ftp.math.purdue.edu/mirrors/opencsw.org/current/sparc/5.10/ [^] ), you can find *TWO* versions of CSWalternatives there:

[ ] alternatives-1.0,REV=2009.10.17-SunOS5.9-all-CSW.pkg.gz 17-May-2010 09:10 5.3K
[ ] alternatives-1.0,REV=2010.05.01-SunOS5.10-all-CSW.pkg.gz 14-May-2010 08:29 5.4K

The catalog - http://mirror.switch.ch/ftp/mirror/opencsw/current/sparc/5.10/catalog [^] - has:

--($ ~)-- grep ^alternatives /var/opt/csw/pkgutil/catalog.mirror.switch.ch_ftp_mirror_opencsw_current_sparc_5.10
alternatives 1.0,REV=2009.10.17 CSWalternatives alternatives-1.0,REV=2009.10.17-SunOS5.9-all-CSW.pkg.gz 153be37696eaf87af452e894743f7b5b 5388 none none

And that's the version I had installed.

Unfortunately, this version is also broken. /opt/csw/sbin/alternatives is installed with chmod 0644.

After having manually installed alternatives-1.0,REV=2010.05.01-SunOS5.10-all-CSW.pkg.gz, I got an /opt/csw/sbin/alternatives with proper permissions (ie. 0755).

Do you want me to file a bug regarding the duplicate alternatives pkg on the mirrors?

(0008289)
dam (administrator)
2010-09-17 15:55

The issue on CSWalternatives has been fixed in 1.0,REV=2010.05.21.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker