libgssapi.so in >=app-crypt/heimdal-1.4 has changed version from HEIMDAL_GSS_1.0 to HEIMDAL_GSS_2.0 without changing filename and soname (from libgssapi.so.2 to e.g. libgssapi.so.3). Example problem: $ svn up Updating '.' ... /usr/lib/libgssapi.so.2: version `HEIMDAL_GSS_1.0' not found (required by /usr/lib/libsvn_ra_serf-1.so.0) svn: Unrecognized URL scheme for '${URL}' All packages installing binaries linked against libgssapi.so.2 need to be rebuilt. If filename of libgssapi.so was changed, then preserve-libs functionality of Portage 2.2.* would preserve old library and suggest reinstallation of packages, which need to be reinstalled. Possible solutions: 1. Convince upstream to change filename/soname of libgssapi.so. --- lib/gssapi/Makefile.am +++ lib/gssapi/Makefile.am @@ -201,1 +201,1 @@ -libgssapi_la_LDFLAGS = -version-info 2:0:0 +libgssapi_la_LDFLAGS = -version-info 3:0:0 2. Add a warning in pkg_postinst().
libroken also has the same problem. Contacted upstream for both of them. Let's see how they respond.
My interpretation of changes in lib/roken/version-script.map is that libroken.so doesn't have this problem. Only lib/gssapi/version-script.map changes version: -HEIMDAL_GSS_1.0 { +HEIMDAL_GSS_2.0 {
libroken has the same problem in the sense that there are symbol changes in the library without any corresponding version change. Example: version 1.3.3: # scanelf -s rk_cloexec_dir /usr/lib/libroken.so.18 TYPE SYM FILE ET_DYN - /usr/lib/libroken.so.18 version 1.4.x: # scanelf -s rk_cloexec_dir lib/roken/.libs/libroken.so.18 TYPE SYM FILE ET_DYN rk_cloexec_dir lib/roken/.libs/libroken.so.18 resulting in: /var/tmp/portage/app-crypt/heimdal-1.4.1_pre20110216/work/heimdal/kdc/.libs/kdc: relocation error: /var/tmp/portage/app-crypt/heimdal-1.4.1_pre20110216/work/heimdal/lib/krb5/.libs/libkrb5.so.26: symbol rk_cloexec_dir, version HEIMDAL_ROKEN_1.0 not defined in file libroken.so.18 with link time reference
+*heimdal-1.4.1_pre20110216-r1 (20 Feb 2011) + + 20 Feb 2011; Eray Aslan <eras@gentoo.org> + +heimdal-1.4.1_pre20110216-r1.ebuild: + Added revdep-rebuild warning for libgssapi.so bug #355375 +
(In reply to comment #1) > libroken also has the same problem. Contacted upstream for both of them. What was the response of upstream?
No response yet.
*** Bug 355695 has been marked as a duplicate of this bug. ***
Heimdal upstream is notoriously bad at this stuff - they forget to do so version bumps, release headers that c++ compilers reject, etc. Their every release should be approached with caution.
libgssapi version bumped upstream. In the tree with heimdal-1.4.1_pre20110301. FYI.