Bug#863705: [Aptitude-devel] Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-06-09 Thread Olly Betts
[Dropping aptitude@ as it doesn't allow non-subscriber messages]

On Tue, May 30, 2017 at 10:57:06PM +0100, Olly Betts wrote:
> I can try to fix the xapian-core version in backports, but that only
> helps people with 1.4.1-1~bpo8+1 installed if they upgrade from
> backports before trying to mix in packages from stretch.
> 
> Not sure quite how much work that would be - it'll require coordinating
> uploads of the rdeps using the backported xapian-core, but I don't know
> of the top of my head how to get a list of those.  I know there's
> xapian-omega; I thought notmuch was too, but that still seems to be on
> libxapian22.

I checked the Packages file, which shows only xapian-core and
xapian-omega with dependencies on libxapian30 so that's not hard
to coordinate.

Cheers,
Olly



Bug#863705: [Aptitude-devel] Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Olly Betts
So if I understand the issue correctly, it's that libxapian30 in
unstable is built with the new C++ ABI while libxapian30 in backports
was built with the old C++ ABI, so really should have been libxapian30v4
or something (not sure if there's a reverse convention to the v5
suffix)?

Sorry for not spotting that when I did the backport.  It worked fine in
my testing in a jessie environment - I guess you only see problems if
you try to run a mixed jessie/stretch environment.  Or perhaps if you
try to do the upgrade to stretch using aptitude.

On Tue, May 30, 2017 at 10:51:19PM +0200, Axel Beckert wrote:
> Hi Sven,
> 
> Sven Joachim wrote:
> > Control: reassign -1 libxapian30 1.4.1-1~bpo8+1
> 
> I wouldn't be so quick with reassigning.
> 
> > > aptitude: symbol lookup error: aptitude: undefined symbol: 
> > > _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> > 
> > This happens because libxapian30 from jessie-backports is not compatible
> > with libstdc++6 from unstable
> 
> Hrm, this sounds to me as if aptitude's dependency on libxapian30
> should be more tight.

That addresses this for aptitude, but not other rdeps.  It's perhaps a
worse issue for aptitude, as you don't want your package management tool
broken while trying to upgrade packages.

> Or maybe even better: libstdc++6 should break with this version of
> libxapian30 from backports.

This seems to address the wider problem, but rather feels like it's
addressing it in the wrong place.

I can try to fix the xapian-core version in backports, but that only
helps people with 1.4.1-1~bpo8+1 installed if they upgrade from
backports before trying to mix in packages from stretch.

Not sure quite how much work that would be - it'll require coordinating
uploads of the rdeps using the backported xapian-core, but I don't know
of the top of my head how to get a list of those.  I know there's
xapian-omega; I thought notmuch was too, but that still seems to be on
libxapian22.

Cheers,
Olly



Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Axel Beckert
Control: clone -1 -2
Control: reassign -2 libstdc++6 6.3.0-18
Control: retitle -2 libstdc++6: Add versioned Breaks against 
libxapian30/1.4.1-1~bpo8+1
Control: severity -2 serious

Hi,

Sven Joachim wrote:
> >> > aptitude: symbol lookup error: aptitude: undefined symbol:
> >> _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> >> 
> >> This happens because libxapian30 from jessie-backports is not compatible
> >> with libstdc++6 from unstable
[...]
> > Or maybe even better: libstdc++6 should break with this version of
> > libxapian30 from backports.
> 
> That's probably the most realistic way considering the proximity of the
> stretch release.

Cloning this bug report accordingly against libstdc++6.

Debian Release Team: Feel free to downgrade the severity of the cloned
bug report. For now, I leave it at RC.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Sven Joachim
On 2017-05-30 22:51 +0200, Axel Beckert wrote:

> Sven Joachim wrote:
>> Control: reassign -1 libxapian30 1.4.1-1~bpo8+1
>
> I wouldn't be so quick with reassigning.
>
>> > aptitude: symbol lookup error: aptitude: undefined symbol:
>> _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
>> 
>> This happens because libxapian30 from jessie-backports is not compatible
>> with libstdc++6 from unstable
>
> Hrm, this sounds to me as if aptitude's dependency on libxapian30
> should be more tight.

True, but this is not aptitude's call.  The way to achieve it is to bump
shlibs in libxapian30 and rebuild its reverse dependencies.

> Or maybe even better: libstdc++6 should break with this version of
> libxapian30 from backports.

That's probably the most realistic way considering the proximity of the
stretch release.

Cheers,
   Sven



Bug#863705: [Aptitude-devel] Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Axel Beckert
Hi Sven,

Sven Joachim wrote:
> Control: reassign -1 libxapian30 1.4.1-1~bpo8+1

I wouldn't be so quick with reassigning.

> > aptitude: symbol lookup error: aptitude: undefined symbol: 
> > _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> 
> This happens because libxapian30 from jessie-backports is not compatible
> with libstdc++6 from unstable

Hrm, this sounds to me as if aptitude's dependency on libxapian30
should be more tight.

Or maybe even better: libstdc++6 should break with this version of
libxapian30 from backports.

> (and should not have been uploaded to jessie-backports in the first
> place, or under a different package name).

Ok, yes, but that doesn't really help to solve this issue. :-/

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Leandro sullo sgorbio
Il giorno mar, 30/05/2017 alle 11.15 +0200, Sven Joachim ha scritto:

[...]

> This happens because libxapian30 from jessie-backports is not compatible
> with libstdc++6 from unstable (and should not have been uploaded to
> jessie-backports in the first place, or under a different package name).
> See #791312 for more information.
> 
> Leandro, upgrade libxapian30 to the stretch version, and you should be
> fine.

Yes, I can confirm it works!

Thanks a lot!

[...]

-- 
Ciao
leandro


signature.asc
Description: This is a digitally signed message part


Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Sven Joachim
Control: reassign -1 libxapian30 1.4.1-1~bpo8+1

On 2017-05-30 10:22 +0200, Leandro Noferini wrote:

> Package: aptitude
> Version: 0.8.7-1
> Severity: grave
> Justification: renders package unusable
>
> Buongiorno,
>
> I upgraded aptitude some minutes from stable to testing (for the new version 
> that will arrive soon) but it gives me this error:
>
> root@nasone:~# aptitude
> aptitude: symbol lookup error: aptitude: undefined symbol: 
> _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
>
> And it stops to the shell prompt.

This happens because libxapian30 from jessie-backports is not compatible
with libstdc++6 from unstable (and should not have been uploaded to
jessie-backports in the first place, or under a different package name).
See #791312 for more information.

Leandro, upgrade libxapian30 to the stretch version, and you should be
fine.

Cheers,
   Sven

> -- Package-specific info:
> Terminal: screen
> $DISPLAY not set.
> which aptitude: /usr/bin/aptitude
>
> aptitude version information:
>
> aptitude linkage:
>   linux-vdso.so.1 (0x7ffcaa5ce000)
>   libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 
> (0x7fb1f8ef6000)
>   libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 
> (0x7fb1f8cc6000)
>   libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
> (0x7fb1f8a9b000)
>   libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 
> (0x7fb1f8894000)
>   libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 
> (0x7fb1f8597000)
>   libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
> (0x7fb1f82cd000)
>   libboost_iostreams.so.1.62.0 => 
> /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.62.0 (0x7fb1f80b5000)
>   libboost_filesystem.so.1.62.0 => 
> /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x7fb1f7e9c000)
>   libboost_system.so.1.62.0 => 
> /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x7fb1f7c97000)
>   libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 
> (0x7fb1f7885000)
>   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
> (0x7fb1f7668000)
>   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
> (0x7fb1f72e5000)
>   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fb1f6fe4000)
>   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
> (0x7fb1f6dce000)
>   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fb1f6a22000)
>   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7fb1f681e000)
>   libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
> (0x7fb1f6607000)
>   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7fb1f63eb000)
>   libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
> (0x7fb1f61db000)
>   liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x7fb1f5fb8000)
>   liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 
> (0x7fb1f5da5000)
>   librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7fb1f5b9d000)
>   libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x7fb1f5997000)
>   /lib64/ld-linux-x86-64.so.2 (0x559867415000)
>
> -- System Information:
> Debian Release: 8.8
>   APT prefers stable
>   APT policy: (990, 'stable'), (500, 'stable-updates'), (200, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
> Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages aptitude depends on:
> ii  aptitude-common0.8.7-1
> ii  libapt-pkg5.0  1.4.4
> ii  libboost-filesystem1.62.0  1.62.0+dfsg-4
> ii  libboost-iostreams1.62.0   1.62.0+dfsg-4
> ii  libboost-system1.62.0  1.62.0+dfsg-4
> ii  libc6  2.19-18+deb8u9
> ii  libcwidget3v5  0.5.17-4+b1
> ii  libgcc11:4.9.2-10
> ii  libncursesw5   6.0+20161126-1
> ii  libsigc++-2.0-0v5  2.10.0-1
> ii  libsqlite3-0   3.8.7.1-1+deb8u2
> ii  libstdc++6 6.3.0-18
> ii  libtinfo5  6.0+20161126-1
> ii  libxapian301.4.1-1~bpo8+1
>
> Versions of packages aptitude recommends:
> ii  libparse-debianchangelog-perl  1.2.0-1.1
> ii  sensible-utils 0.0.9
>
> Versions of packages aptitude suggests:
> pn  apt-xapian-index
> pn  aptitude-doc-en | aptitude-doc  
> pn  debtags 
> ii  tasksel 3.31+deb8u1
>
> -- no debconf information



Bug#863705: aptitude: symbol lookup error: aptitude: undefined symbol:

2017-05-30 Thread Leandro Noferini
Package: aptitude
Version: 0.8.7-1
Severity: grave
Justification: renders package unusable

Buongiorno,

I upgraded aptitude some minutes from stable to testing (for the new version 
that will arrive soon) but it gives me this error:

root@nasone:~# aptitude
aptitude: symbol lookup error: aptitude: undefined symbol: 
_ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

And it stops to the shell prompt.

-- Package-specific info:
Terminal: screen
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:

aptitude linkage:
linux-vdso.so.1 (0x7ffcaa5ce000)
libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 
(0x7fb1f8ef6000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 
(0x7fb1f8cc6000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x7fb1f8a9b000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 
(0x7fb1f8894000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 
(0x7fb1f8597000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x7fb1f82cd000)
libboost_iostreams.so.1.62.0 => 
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.62.0 (0x7fb1f80b5000)
libboost_filesystem.so.1.62.0 => 
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x7fb1f7e9c000)
libboost_system.so.1.62.0 => 
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x7fb1f7c97000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 
(0x7fb1f7885000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7fb1f7668000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7fb1f72e5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7fb1f6fe4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7fb1f6dce000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fb1f6a22000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7fb1f681e000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 
(0x7fb1f6607000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x7fb1f63eb000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x7fb1f61db000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x7fb1f5fb8000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 
(0x7fb1f5da5000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7fb1f5b9d000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x7fb1f5997000)
/lib64/ld-linux-x86-64.so.2 (0x559867415000)

-- System Information:
Debian Release: 8.8
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (200, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common0.8.7-1
ii  libapt-pkg5.0  1.4.4
ii  libboost-filesystem1.62.0  1.62.0+dfsg-4
ii  libboost-iostreams1.62.0   1.62.0+dfsg-4
ii  libboost-system1.62.0  1.62.0+dfsg-4
ii  libc6  2.19-18+deb8u9
ii  libcwidget3v5  0.5.17-4+b1
ii  libgcc11:4.9.2-10
ii  libncursesw5   6.0+20161126-1
ii  libsigc++-2.0-0v5  2.10.0-1
ii  libsqlite3-0   3.8.7.1-1+deb8u2
ii  libstdc++6 6.3.0-18
ii  libtinfo5  6.0+20161126-1
ii  libxapian301.4.1-1~bpo8+1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-1.1
ii  sensible-utils 0.0.9

Versions of packages aptitude suggests:
pn  apt-xapian-index
pn  aptitude-doc-en | aptitude-doc  
pn  debtags 
ii  tasksel 3.31+deb8u1

-- no debconf information