Debian Bug report logs - #341945
debtags: segfault in postinst

version graph

Package: debtags; Maintainer for debtags is Enrico Rossi <e.rossi@tecnobrain.com>; Source for debtags is src:debtags (PTS, buildd, popcon).

Reported by: Enrico Tassi <gareuselesinge@users.sourceforge.net>

Date: Sun, 4 Dec 2005 11:48:01 UTC

Severity: grave

Merged with 342734

Found in version debtags/1.5.2+b1

Fixed in version 1.5.2+b2

Done: Steve Langasek <vorlon@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
New Bug report received and forwarded. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Enrico Tassi <gareuselesinge@users.sourceforge.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debtags: segfault in postinst
Date: Sun, 4 Dec 2005 12:18:34 +0100
Package: debtags
Version: 1.5.2+b1
Severity: important

apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up debtags (1.5.2+b1) ...
Get:1 http://debtags.alioth.debian.org/tags/tags-current.gz [208kB]
Get:2 http://debtags.alioth.debian.org/tags/vocabulary.gz [13.9kB]
Fetched 222kB in 2s (98.8kB/s)
Reading tag data and vocabulary for http://debtags.alioth.debian.org/tags/...
Tag data: /var/cache/debtags/debtags.alioth.debian.org_tags_tags-current.gz...
Voc data: /var/cache/debtags/debtags.alioth.debian.org_tags_vocabulary.gz...
Writing system vocabulary...
Writing merged tag database...
*** glibc detected *** free(): invalid pointer: 0x0000000000d66f10 ***
/var/lib/dpkg/info/debtags.postinst: line 22: 10820 Aborted                 (core dumped) debtags update
dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 134
Errors were encountered while processing:
 debtags
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debtags depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.43     Advanced front-end for dpkg
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-4  GCC support library
ii  libstdc++6                    4.0.2-4    The GNU Standard C++ Library v3
ii  libtdb1                       1.0.6-13   Trivial Database - shared library
ii  zlib1g                        1:1.2.3-8  compression library - runtime

debtags recommends no packages.

-- no debconf information

-- 
Enrico Tassi



Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to "Douglas F. Calvert" <dfc@anize.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #10 received at 341945@bugs.debian.org (full text, mbox, reply):

From: "Douglas F. Calvert" <dfc@anize.org>
To: Debian Bug Tracking System <341945@bugs.debian.org>
Subject: debtags: glibc detected *** free(): invalid pointer: 0x0a14af78
Date: Mon, 05 Dec 2005 19:54:41 -0500
Package: debtags
Version: 1.5.2+b1
Followup-For: Bug #341945


Hello, 
I am getting a similar error {i think}. If it makes a difference I am running a kernel with exec-shield enabled...

Unpacking debtags (from .../debtags_1.5.2+b1_i386.deb) ...
Setting up debtags (1.5.2+b1) ...
Get:1 http://debtags.alioth.debian.org/tags/tags-current.gz [208kB]
Get:2 http://debtags.alioth.debian.org/tags/vocabulary.gz [13.9kB]
Fetched 222kB in 0s (534kB/s)
Reading tag data and vocabulary for http://debtags.alioth.debian.org/tags/...
Tag data: /var/cache/debtags/debtags.alioth.debian.org_tags_tags-current.gz...
Voc data: /var/cache/debtags/debtags.alioth.debian.org_tags_vocabulary.gz...
Writing system vocabulary...
Writing merged tag database...
*** glibc detected *** free(): invalid pointer: 0x0a14af78 ***
/var/lib/dpkg/info/debtags.postinst: line 22: 32736 Aborted                 debtags update
dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 134
Errors were encountered while processing:
 debtags


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-exec-shield
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages debtags depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.43     Advanced front-end for dpkg
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-5  GCC support library
ii  libstdc++6                    4.0.2-5    The GNU Standard C++ Library v3
ii  libtdb1                       1.0.6-13   Trivial Database - shared library
ii  zlib1g                        1:1.2.3-8  compression library - runtime

debtags recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Paul Wise <pabs3@bonedaddy.net>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #15 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Paul Wise <pabs3@bonedaddy.net>
To: 341945@bugs.debian.org
Subject: debtags update failure.
Date: Tue, 06 Dec 2005 13:19:40 +0800
[Message part 1 (text/plain, inline)]
I'm getting this too. It seems like the error that happens when using
different C++ allocators in a library and in a binary.

Backtrace from the binary from the package:

Get:1 http://debtags.alioth.debian.org/tags/tags-current.gz [208kB]
Get:2 http://debtags.alioth.debian.org/tags/vocabulary.gz [13.9kB]
Fetched 222kB in 14s (14.9kB/s)
Reading tag data and vocabulary for http://debtags.alioth.debian.org/tags/...
Tag data: /var/cache/debtags/debtags.alioth.debian.org_tags_tags-current.gz...
Voc data: /var/cache/debtags/debtags.alioth.debian.org_tags_vocabulary.gz...
Writing system vocabulary...
Writing merged tag database...
*** glibc detected *** free(): invalid pointer: 0x08599e78 ***
 
Program received signal SIGABRT, Aborted.
[Switching to Thread -1211640128 (LWP 25346)]
0xb7cba7a7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7cba7a7 in raise () from /lib/tls/libc.so.6
#1  0xb7cbc04b in abort () from /lib/tls/libc.so.6
#2  0xb7cf1015 in __fsetlocking () from /lib/tls/libc.so.6
#3  0xb7cf7667 in malloc_usable_size () from /lib/tls/libc.so.6
#4  0xb7cf7b02 in free () from /lib/tls/libc.so.6
#5  0xb7ea57c1 in operator delete () from /usr/lib/libstdc++.so.6
#6  0x081060c2 in pkgAcquire::Item::MD5Sum ()
#7  0x08106090 in pkgAcquire::Item::MD5Sum ()
#8  0x08106090 in pkgAcquire::Item::MD5Sum ()
#9  0x08106090 in pkgAcquire::Item::MD5Sum ()
#10 0x08106090 in pkgAcquire::Item::MD5Sum ()
#11 0x08106090 in pkgAcquire::Item::MD5Sum ()
#12 0x08106090 in pkgAcquire::Item::MD5Sum ()
#13 0x08106090 in pkgAcquire::Item::MD5Sum ()
#14 0x08106090 in pkgAcquire::Item::MD5Sum ()
#15 0x08106090 in pkgAcquire::Item::MD5Sum ()
#16 0x081038fe in tut::test_object<tut::cache_component_debtags_expression_shar>::test<3> ()
#17 0x08104b65 in tut::test_object<tut::cache_component_debtags_expression_shar>::test<3> ()
#18 0x0807f80f in std::_Rb_tree<std::string, std::pair<std::string const, int>, std::_Select1st<std::pair<std::string const, int> >, std::less<std::string>, std::allocator<std::pair<std::string const, int> > >::insert_unique ()
#19 0xb7ca5ed0 in __libc_start_main () from /lib/tls/libc.so.6
#20 0x08068841 in ?? ()

Backtrace from a pbuilder generated binary with nostrip on:

# gdb debtags
GNU gdb 6.3.90_20051119-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run update
Starting program: /usr/bin/debtags update
[Thread debugging using libthread_db enabled]
[New Thread -1211758912 (LWP 29190)]
Get:1 http://debtags.alioth.debian.org/tags/tags-current.gz [208kB]
Get:2 http://debtags.alioth.debian.org/tags/vocabulary.gz [13.9kB]
Fetched 222kB in 9s (23.6kB/s)
Reading tag data and vocabulary for http://debtags.alioth.debian.org/tags/...
Tag data: /var/cache/debtags/debtags.alioth.debian.org_tags_tags-current.gz...
Voc data: /var/cache/debtags/debtags.alioth.debian.org_tags_vocabulary.gz...
Writing system vocabulary...
Writing merged tag database...
*** glibc detected *** free(): invalid pointer: 0x08599e78 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1211758912 (LWP 29190)]
0xb7c9d7a7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7c9d7a7 in raise () from /lib/tls/libc.so.6
#1  0xb7c9f04b in abort () from /lib/tls/libc.so.6
#2  0xb7cd4015 in __fsetlocking () from /lib/tls/libc.so.6
#3  0xb7cda667 in malloc_usable_size () from /lib/tls/libc.so.6
#4  0xb7cdab02 in free () from /lib/tls/libc.so.6
#5  0xb7e887c1 in operator delete () from /usr/lib/libstdc++.so.6
#6  0x081060c2 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#7  0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#8  0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#9  0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#10 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#11 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#12 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#13 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#14 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#15 0x08106090 in std::_Rb_tree<std::string, std::pair<std::string const, Tagcoll::OpSet<std::string> >, std::_Select1st<std::pair<std::string const, Tagcoll::OpSet<std::string> > >, std::less<std::string>, std::allocator<std::pair<std::string const, Tagcoll::OpSet<std::string> > > >::_M_erase ()
#16 0x081038fe in aptFront::cache::component::debtags::generateIndexes ()
#17 0x08104b65 in aptFront::cache::component::debtags::updateDatabase ()
#18 0x0807f80f in main (argc=1, argv=0xbff9d8f4) at debtags.cc:1605

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
[signature.asc (application/pgp-signature, inline)]

Severity set to `serious'. Request was from Enrico Zini <enrico@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Martin-Éric Racine <q-funk@iki.fi>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #22 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Martin-Éric Racine <q-funk@iki.fi>
To: Debian Bug Tracking System <341945@bugs.debian.org>
Subject: debtags: invalid pointer error also confirmed on ppc
Date: Fri, 09 Dec 2005 02:29:31 +0200
Package: debtags
Version: 1.5.2+b1
Followup-For: Bug #341945

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Setting up debtags (1.5.2+b1) ...
Get:1 http://debtags.alioth.debian.org/tags/tags-current.gz [208kB]
Get:2 http://debtags.alioth.debian.org/tags/vocabulary.gz [13.9kB]
Fetched 222kB in 8s (25.0kB/s)
Reading tag data and vocabulary for http://debtags.alioth.debian.org/tags/...
Tag data: /var/cache/debtags/debtags.alioth.debian.org_tags_tags-current.gz...
Voc data: /var/cache/debtags/debtags.alioth.debian.org_tags_vocabulary.gz...
Writing system vocabulary...
Writing merged tag database...
*** glibc detected *** free(): invalid pointer: 0x10681cd0 ***
/var/lib/dpkg/info/debtags.postinst: line 22:  2731 Keskeytetty             debtags update
dpkg: error processing debtags (--configure):
 subprocess post-installation script returned error exit status 134
Errors were encountered while processing:
 debtags
E: Sub-process /usr/bin/dpkg returned an error code (1)

- -- System Information:
Debian Release: testing/unstable
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-imac
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages debtags depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.43     Advanced front-end for dpkg
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-4  GCC support library
ii  libstdc++6                    4.0.2-4    The GNU Standard C++ Library v3
ii  libtdb1                       1.0.6-13   Trivial Database - shared library
ii  zlib1g                        1:1.2.3-8  compression library - runtime

debtags recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDmM/reXr56x4Muc0RAhAsAJ9h40lu/9U88eH6yNDe1IO5nQFMhwCghD3w
ZKRjCBrFLoeER8EaCnHoDzc=
=i6Ti
-----END PGP SIGNATURE-----



Severity set to `grave'. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Merged 341945 342734. Request was from Steve Langasek <vorlon@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #31 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Enrico Zini <enrico@enricozini.org>
To: 341945@bugs.debian.org, 341945-submitter@bugs.debian.org, 342734-submitter@bugs.debian.org, debian-release@lists.debian.org, debtags-devel@lists.alioth.debian.org
Subject: Investigation of the bug
Date: Sat, 10 Dec 2005 11:18:53 +0100
[Message part 1 (text/plain, inline)]
Hello,

Sorry to have been lingering on this bug: on Igloo's buildd report I saw
that some of the packages were still rebuilding and I thought it was
just a matter of waiting.

Today I investigated a bit more.  The problem is indeed connected to the
C++ allocator thing, and the recompile was incomplete because debtags
links statically with some libraries, and it's nonobvious to find the
dependencies.  Luckily, thanks to a suggestion of Jonas Smedegaard at
Debconf4, I use dh_buildinfo.

It turned out that the libtagcoll-dev is still built with libstdc++6
4.0.2-3.  It in turn gets statically linked into libapt-front-dev, which
in turn gets statically linked into debtags.


So, it seems that there are some recompiles to be triggered:

Step 1: libtagcoll-dev

Step 2: tagcoll, tagcolledit, libapt-front-dev
        (since they statically link libtagcoll-dev)

Step 3: debtags, debtags-edit, packagesearch
        (since they statically link libapt-front-dev)


Thanks,

Enrico


Thanks also to azeem and peterS who helped me figuring some details of
the course of action to follow.
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@enricozini.org>
[signature.asc (application/pgp-signature, inline)]

Message sent on to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
Bug#341945. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #39 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 341945@bugs.debian.org, 341945-submitter@bugs.debian.org, 342734-submitter@bugs.debian.org, debian-release@lists.debian.org, debtags-devel@lists.alioth.debian.org
Subject: Re: Investigation of the bug
Date: Sun, 11 Dec 2005 00:41:57 -0800
[Message part 1 (text/plain, inline)]
On Sat, Dec 10, 2005 at 11:18:53AM +0100, Enrico Zini wrote:

> Sorry to have been lingering on this bug: on Igloo's buildd report I saw
> that some of the packages were still rebuilding and I thought it was
> just a matter of waiting.

> Today I investigated a bit more.  The problem is indeed connected to the
> C++ allocator thing, and the recompile was incomplete because debtags
> links statically with some libraries, and it's nonobvious to find the
> dependencies.  Luckily, thanks to a suggestion of Jonas Smedegaard at
> Debconf4, I use dh_buildinfo.

> It turned out that the libtagcoll-dev is still built with libstdc++6
> 4.0.2-3.  It in turn gets statically linked into libapt-front-dev, which
> in turn gets statically linked into debtags.

> So, it seems that there are some recompiles to be triggered:

> Step 1: libtagcoll-dev

> Step 2: tagcoll, tagcolledit, libapt-front-dev
>         (since they statically link libtagcoll-dev)

> Step 3: debtags, debtags-edit, packagesearch
>         (since they statically link libapt-front-dev)

Could you perform these steps locally on your system and confirm that it
does correct the failure, before we commit buildd time on all archs to
rebuilding these?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
[signature.asc (application/pgp-signature, inline)]

Message sent on to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
Bug#341945. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #47 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 341945@bugs.debian.org, 341945-submitter@bugs.debian.org, 342734-submitter@bugs.debian.org, debian-release@lists.debian.org, debtags-devel@lists.alioth.debian.org
Subject: Re: Investigation of the bug
Date: Sun, 11 Dec 2005 00:48:25 -0800
[Message part 1 (text/plain, inline)]
On Sat, Dec 10, 2005 at 11:18:53AM +0100, Enrico Zini wrote:
> Hello,

> Sorry to have been lingering on this bug: on Igloo's buildd report I saw
> that some of the packages were still rebuilding and I thought it was
> just a matter of waiting.

> Today I investigated a bit more.  The problem is indeed connected to the
> C++ allocator thing, and the recompile was incomplete because debtags
> links statically with some libraries, and it's nonobvious to find the
> dependencies.  Luckily, thanks to a suggestion of Jonas Smedegaard at
> Debconf4, I use dh_buildinfo.

> It turned out that the libtagcoll-dev is still built with libstdc++6
> 4.0.2-3.  It in turn gets statically linked into libapt-front-dev, which
> in turn gets statically linked into debtags.

> So, it seems that there are some recompiles to be triggered:

> Step 1: libtagcoll-dev

> Step 2: tagcoll, tagcolledit, libapt-front-dev
>         (since they statically link libtagcoll-dev)

> Step 3: debtags, debtags-edit, packagesearch
>         (since they statically link libapt-front-dev)

BTW, due to the way static linking works, this is only two steps. 
libapt-front-dev doesn't *contain* the code from libtagcoll-dev; rather, the
reverse-build-deps of libapt-front-dev pull this code in directly from
libtagcoll-dev at build-time.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
[signature.asc (application/pgp-signature, inline)]

Message sent on to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
Bug#341945. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Enrico Zini <enrico@enricozini.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #55 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Enrico Zini <enrico@enricozini.org>
To: 341945@bugs.debian.org, 341945-submitter@bugs.debian.org, 342734-submitter@bugs.debian.org, debian-release@lists.debian.org, debtags-devel@lists.alioth.debian.org
Subject: Re: Bug#341945: Investigation of the bug
Date: Sun, 11 Dec 2005 12:34:42 +0100
[Message part 1 (text/plain, inline)]
On Sun, Dec 11, 2005 at 12:41:57AM -0800, Steve Langasek wrote:

> On Sat, Dec 10, 2005 at 11:18:53AM +0100, Enrico Zini wrote:
> > So, it seems that there are some recompiles to be triggered:
> > Step 1: libtagcoll-dev
> > Step 2: tagcoll, tagcolledit, libapt-front-dev
> >         (since they statically link libtagcoll-dev)
> > Step 3: debtags, debtags-edit, packagesearch
> >         (since they statically link libapt-front-dev)
> Could you perform these steps locally on your system and confirm that it
> does correct the failure, before we commit buildd time on all archs to
> rebuilding these?

Sure.  Done.  It works.

Here's the list of things I did: there are small mismatches with the
list I gave above, as I was thinking more in terms of upstream deps than
actual debian deps.

 * tagcoll
   apt-get source tagcoll
   cd tagcoll-1.5.1/
   debuild -us -uc -rfakeroot
   cd ..
   su -c "dpkg -i libtagcoll-dev_1.5.1-1_i386.deb tagcoll_1.5.1-1_i386.deb"

 * tagcolledit
   apt-get source tagcolledit
   cd tagcolledit-1.2/
   debuild -us -uc -rfakeroot
   cd ..
   su -c "dpkg -i tagcolledit_1.2-1_i386.deb"

 * libapt-front-dev
   apt-get source libapt-front-dev
   cd libapt-front-0.3.4/
   debuild -us -uc -rfakeroot
   cd ..
   su -c "dpkg -i libapt-front-dev_0.3.4_i386.deb"
 
 * debtags
   apt-get source debtags
   cd debtags-1.5.2/
   debuild -us -uc -rfakeroot
   cd ..
   su -c "dpkg -i debtags_1.5.2_i386.deb"

   * It works! *

 * debtags-edit
   apt-get source debtags-edit
   cd debtags-edit-1.1.2/
   debuild -us -uc -rfakeroot
   cd ..
   su -c "dpkg -i debtags-edit_1.1.2_i386.deb"

Haven't done packagesearch, but I think we have the idea.


Ciao,

Enrico

--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>
[signature.asc (application/pgp-signature, inline)]

Message sent on to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
Bug#341945. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #63 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 341945@bugs.debian.org, debian-release@lists.debian.org, debtags-devel@lists.alioth.debian.org
Subject: Re: Bug#341945: Investigation of the bug
Date: Sun, 11 Dec 2005 04:37:56 -0800
[Message part 1 (text/plain, inline)]
Version: 1.5.2+b2

On Sun, Dec 11, 2005 at 12:34:42PM +0100, Enrico Zini wrote:
> On Sun, Dec 11, 2005 at 12:41:57AM -0800, Steve Langasek wrote:

> > On Sat, Dec 10, 2005 at 11:18:53AM +0100, Enrico Zini wrote:
> > > So, it seems that there are some recompiles to be triggered:
> > > Step 1: libtagcoll-dev
> > > Step 2: tagcoll, tagcolledit, libapt-front-dev
> > >         (since they statically link libtagcoll-dev)
> > > Step 3: debtags, debtags-edit, packagesearch
> > >         (since they statically link libapt-front-dev)
> > Could you perform these steps locally on your system and confirm that it
> > does correct the failure, before we commit buildd time on all archs to
> > rebuilding these?

> Sure.  Done.  It works.

Spiff.  Closing the bug as fixed in the next binNMU then, which is already
scheduled (along with the binNMUs for tagcolledit, debtags-edit,
libapt-front, and packagesearch).

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Enrico Zini <enrico@debian.org>:
Bug#341945; Package debtags. (full text, mbox, link).


Acknowledgement sent to Jonas Smedegaard <dr@jones.dk>:
Extra info received and forwarded to list. Copy sent to Enrico Zini <enrico@debian.org>. (full text, mbox, link).


Message #68 received at 341945@bugs.debian.org (full text, mbox, reply):

From: Jonas Smedegaard <dr@jones.dk>
To: dh-buildinfo@packages.debian.org
Cc: 341945@bugs.debian.org
Subject: Success story of dh-buildinfo!
Date: Sun, 11 Dec 2005 19:29:43 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

By accident (I was bitten by this bug as well, being a fan of debtags),
I noticed this[1] comment of a succesful use of dh-buildinfo.

Thanks for a neat little tool!


 - Jonas


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=341945;msg=31;att=0
- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDnHAXn7DbMsAkQLgRAjiKAKCRGfrE9t/4kVuDYFpsZ/NrcUPlCQCcDNY4
p8AZncU5EdGF7c5GlJGC9Xo=
=uA51
-----END PGP SIGNATURE-----



Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Enrico Tassi <gareuselesinge@users.sourceforge.net>:
Bug acknowledged by developer. (full text, mbox, link).


Message #73 received at 341945-done@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 341945-done@bugs.debian.org
Subject: Re: debtags: segfault in postinst
Date: Tue, 13 Dec 2005 03:40:07 -0800
[Message part 1 (text/plain, inline)]
Version: 1.5.2+b2

Fixed in binNMU.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Jun 2007 04:27:42 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 30 05:37:39 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.