Package: prelink
Version: 0.0.20090925-1ig
Followup-For: Bug #620630
I have added some logging to collect more info and it sure looks like it is
something wrong with files being processed.
The patch:
*** orig/conflict.c 2009-07-09 11:49:59.000000000 +0300
--- my/conflict.c 2011-06-09 22:44:52.000000000 +0300
***************
*** 759,765 ****
ndso = info->dsos[j];
break;
}
!
assert (j < ndeps);
if (i < firstbss2)
j = get_relocated_mem (info, ndso, s->u.ent->base + s->value,
--- 759,772 ----
ndso = info->dsos[j];
break;
}
! if (j == ndeps) {
! error (0, 0, "%s %d 0x%lx: Could not find symbol dependendency is
against %s",
! dso->filename, ndeps, s->u.ent, s->u.ent->soname);
! for (j = 0; j < ndeps -1; ++j) {
! error (0, 0, "0x%lx: Dependency %s", info->ent->depends[j],
info->ent->depends[j]->soname);
! }
! goto error_out;
! }
assert (j < ndeps);
if (i < firstbss2)
j = get_relocated_mem (info, ndso, s->u.ent->base + s->value,
And it gives me following log:
prelink: /usr/bin/aptitude-curses 21 0x11e47a0: Could not find symbol
dependendency is against /usr/bin/aptitude-curses
prelink: 0x108f6d0: Dependency libapt-pkg.so.4.10
prelink: 0x1087560: Dependency libncursesw.so.5
prelink: 0x10f8410: Dependency libsigc-2.0.so.0
prelink: 0x11e4c10: Dependency libcwidget.so.3
prelink: 0x108fb60: Dependency libept.so.1
prelink: 0x108fc00: Dependency libxapian.so.22
prelink: 0x10750e0: Dependency libz.so.1
prelink: 0x10b4340: Dependency libsqlite3.so.0
prelink: 0x11e4cb0: Dependency libboost_iostreams.so.1.46.1
prelink: 0x1074eb0: Dependency libpthread.so.0
prelink: 0x1081030: Dependency libstdc++.so.6
prelink: 0x1074f70: Dependency libm.so.6
prelink: 0x1081240: Dependency libgcc_s.so.1
prelink: 0x10679c0: Dependency libc.so.6
prelink: 0x1076220: Dependency libutil.so.1
prelink: 0x1067ce0: Dependency libdl.so.2
prelink: 0x1075d90: Dependency libuuid.so.1
prelink: 0x109b910: Dependency libbz2.so.1.0
prelink: 0x10751a0: Dependency librt.so.1
prelink: 0x1067ab0: Dependency ld-linux-x86-64.so.2
prelink: /usr/lib/scim-1.0/scim-panel-dbus 19 0x1266460: Could not find symbol
dependendency is against /usr/lib/scim-1.0/scim-panel-dbus
prelink: 0x10aa8c0: Dependency libQtDBus.so.4
prelink: 0x10aa280: Dependency libQtCore.so.4
prelink: 0x12898c0: Dependency libscim-1.0.so.8
prelink: 0x1081030: Dependency libstdc++.so.6
prelink: 0x10679c0: Dependency libc.so.6
prelink: 0x1074eb0: Dependency libpthread.so.0
prelink: 0x10aa400: Dependency libQtXml.so.4
prelink: 0x1074df0: Dependency libdbus-1.so.3
prelink: 0x1081240: Dependency libgcc_s.so.1
prelink: 0x10750e0: Dependency libz.so.1
prelink: 0x1067ce0: Dependency libdl.so.2
prelink: 0x10787f0: Dependency libgthread-2.0.so.0
prelink: 0x10751a0: Dependency librt.so.1
prelink: 0x10785f0: Dependency libglib-2.0.so.0
prelink: 0x1074f70: Dependency libm.so.6
prelink: 0x10a6270: Dependency libltdl.so.7
prelink: 0x1067ab0: Dependency ld-linux-x86-64.so.2
prelink: 0x10788c0: Dependency libpcre.so.3
So there is no matching record in depndencies array, but more interestingly
'/usr/bin/aptitude-curses' is a weird value for soname field.
Have no idea about ELF structures so it's up to someone more knowlegeable to
investigate.
Though the patch makes it go to the next file to my surprise so it is a
workaround as well :)
--
Cheers,
Igor
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'),
(500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-7.dmz.2-liquorix-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages prelink depends on:
ii execstack 0.0.20090925-1 ELF GNU_STACK program header editi
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libelfg0 0.8.13-1 an ELF object file access library
ii libselinux1 2.0.98-1+b1 SELinux runtime shared libraries
prelink recommends no packages.
prelink suggests no packages.
-- Configuration Files:
/etc/default/prelink changed:
PRELINKING=yes
PRELINK_OPTS=-m
PRELINK_NONRPM_CHECK_INTERVAL=7
/etc/prelink.conf changed:
-b *.la
-b *.png
-b *.py
-b *.pl
-b *.pm
-b *.sh
-b *.xml
-b *.xslt
-b *.a
-b *.js
-b /lib/modules
-b /usr/lib/locale
-l /usr/local/sbin
-l /sbin
-l /usr/sbin
-l /usr/local/bin
-l /bin
-l /usr/bin
-l /usr/X11R6/bin
-l /usr/games
-l /usr/local/lib
-l /lib
-l /usr/lib
-l /usr/X11R6/lib
-b /usr/bin/skype
-b /usr/lib/libexiv2.so.9.0.0
-b /usr/lib/libdjvulibre.so.21.3.0
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]