[subversion 0005267]: upgrade to a fresher version
Mantis Bug Tracker via bug-notifications
bug-notifications at lists.opencsw.org
Wed Mar 23 13:50:09 CET 2016
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=5267
======================================================================
Reported By: pfelecan
Assigned To: dam
======================================================================
Project: subversion
Issue ID: 5267
Category: upgrade
Reproducibility: N/A
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 2016-02-23 14:47 CET
Last Modified: 2016-03-23 13:50 CET
======================================================================
Summary: upgrade to a fresher version
Description:
Is it possible to upgrade this and afferent packages to a more recent
version ?
TIA
======================================================================
----------------------------------------------------------------------
(0011118) pfelecan (developer) - 2016-03-23 13:50
https://www.opencsw.org/mantis/view.php?id=5267#c11118
----------------------------------------------------------------------
The missing symbol error is only the tip of the iceberg, i.e., we only
see the last resolution error.
When debugging the dynamic link process, we can see that the first
error occurs when trying to solve the svn__decompress symbol for
libsvn_fs_x-1.so.0, thus, the library and its symbols are deleted:
24009: 1: ld.so.1: httpd.prefork: fatal: relocation error: file
./libsvn_fs_x-1.so.0: symbol svn__decompress: referenced symbol not found
24009: 1:
24009: 1:
24009: 1: relocation processing: file=./libsvn_fs_x-1.so.0; finished
(failed)
24009: 1:
24009: 1: file=./libsvn_fs_x-1.so.0; loading failed: cleaning up lmco
0x50
24009: 1:
24009: 1: handle=./libsvn_fs_x-1.so.0; collected for possible removal [
GPH_INITIAL ]
24009: 1:
24009: 1: handle=./libsvn_fs_x-1.so.0; inspecting for deletion:
24009: 1: file=./libsvn_fs_x-1.so.0; object deleting [ GLOBAL ]
24009: 1: file=./libsvn_fs_util-1.so.0; object removed from handle [
GLOBAL ]
24009: 1:
24009: 1: processing .fini dependencies [ OBJECTS-DELETED ]:
24009: 1:
24009: 1: Summary of PLT types bound: total=0
24009: 1:
24009: 1: file=./libsvn_fs_x-1.so.0; deleting
After that, like dominoes, when loading libraries which need symbols
from the one already deleted, symbol resolution errors apear:
24009: 1: ld.so.1: httpd.prefork: fatal: relocation error: file
./libsvn_fs_fs-1.so.0: symbol svn__decompress: referenced symbol not found
24009: 1:
24009: 1:
24009: 1: relocation processing: file=./libsvn_fs_fs-1.so.0; finished
(failed)
24009: 1:
24009: 1: file=./libsvn_fs_fs-1.so.0; loading failed: cleaning up lmco
0x40
[...]
24009: 1: file=./libsvn_fs_fs-1.so.0; deleting
and
24009: 1: ld.so.1: httpd.prefork: fatal: relocation error: file
./libsvn_fs-1.so.0: symbol svn_fs_fs__init: referenced symbol not found
24009: 1:
24009: 1:
24009: 1: relocation processing: file=./libsvn_fs-1.so.0; finished
(failed)
24009: 1:
24009: 1: file=./libsvn_fs-1.so.0; loading failed: cleaning up lmco 0x30
[...]
24009: 1: file=./libsvn_fs-1.so.0; deleting
and eventually
24009: 1: ld.so.1: httpd.prefork: fatal: relocation error: file
/opt/csw/apache2/libexec/mod_dav_svn.so: symbol svn_fs_youngest_rev:
referenced symbol not found
24009: 1:
24009: 1:
24009: 1: relocation processing:
file=/opt/csw/apache2/libexec/mod_dav_svn.so; finished (failed)
24009: 1:
24009: 1: file=/opt/csw/apache2/libexec/mod_dav_svn.so; loading failed:
cleaning up lmco 0x20
[...]
24009: 1: dlerror() called from file=/opt/csw/lib/i386/libapr-1.so.0:
ld.so.1: httpd.prefork: fatal: relocation error: file
/opt/csw/apache2/libexec/mod_dav_svn.so: symbol svn_fs_youngest_rev:
referenced symbol not found
which is what we see in apache's log.
Consequently, the root cause is not what we see but a missing
dependency on libsvn_fs_x-1.so.0.0.0 which can be seen with:
ldd -r libsvn_fs_x-1.so.0.0.0
libsvn_delta-1.so.0 => /opt/csw/lib/svn/libsvn_delta-1.so.0
libsvn_fs_util-1.so.0 =>
/opt/csw/lib/svn/libsvn_fs_util-1.so.0
libsvn_subr-1.so.0 => /opt/csw/lib/svn/libsvn_subr-1.so.0
libintl.so.8 => /opt/csw/lib/i386/libintl.so.8
libapr-1.so.0 => /opt/csw/lib/i386/libapr-1.so.0
libc.so.1 => /lib/libc.so.1
libaprutil-1.so.0 => /opt/csw/lib/i386/libaprutil-1.so.0
libexpat.so.1 => /opt/csw/lib/i386/libexpat.so.1
libz.so.1 => /opt/csw/lib/pentium_pro+mmx/libz.so.1
libsqlite3.so.0 => /opt/csw/lib/i386/libsqlite3.so.0
libmagic.so.1 => /opt/csw/lib/i386/libmagic.so.1
libsocket.so.1 => /lib/libsocket.so.1
libiconv.so.2 => /opt/csw/lib/i386/libiconv.so.2
libuuid.so.1 => /opt/csw/lib/libuuid.so.1
libsendfile.so.1 => /lib/libsendfile.so.1
librt.so.1 => /lib/librt.so.1
libnsl.so.1 => /lib/libnsl.so.1
libpthread.so.1 => /lib/libpthread.so.1
libpcreposix.so.0 => /opt/csw/lib/i386/libpcreposix.so.0
libaio.so.1 => /lib/libaio.so.1
libmd.so.1 => /lib/libmd.so.1
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libpcre.so.1 => /opt/csw/lib/i386/libpcre.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
symbol not found: svn__decompress
(./libsvn_fs_x-1.so.0.0.0)
symbol not found: svn__compress (./libsvn_fs_x-1.so.0.0.0)
libm.so.2 => /lib/libm.so.2
The missing dependency for libsvn_fs_x-1.so is libsvn_subr-1.so, as
seen bellow:
$ cd /opt/csw/lib/svn
$ nm -D -l -r * | grep svn__decompress
[85] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_delta-1.so:svn__decompress
[85] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_delta-1.so.0:svn__decompress
[85] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_delta-1.so.0.0.0:svn__decompress
[102] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_fs-1.so:svn__decompress
[102] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_fs-1.so.0:svn__decompress
[102] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_fs-1.so.0.0.0:svn__decompress
[128] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_x-1.so:svn__decompress
[128] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_x-1.so.0:svn__decompress
[128] | 0| 0|FUNC |GLOB |0 |UNDEF
|libsvn_fs_x-1.so.0.0.0:svn__decompress
[1064] | 191504| 28|FUNC |GLOB |0 |12
|libsvn_subr-1.so:svn__decompress
[1064] | 191504| 28|FUNC |GLOB |0 |12
|libsvn_subr-1.so.0:svn__decompress
[1064] | 191504| 28|FUNC |GLOB |0 |12
|libsvn_subr-1.so.0.0.0:svn__decompress
How to correct this? That's the question!
More information about the bug-notifications
mailing list