Debian Bug report logs - #632555
libpthread-stubs0: Multiarch support

version graph

Package: libpthread-stubs0; Maintainer for libpthread-stubs0 is (unknown);

Reported by: Samuel Thibault <sthibault@debian.org>

Date: Sun, 3 Jul 2011 14:30:01 UTC

Severity: normal

Tags: patch

Found in versions libpthread-stubs/0.3-2.1, 0.3-2.1

Fixed in version libpthread-stubs/0.3-3

Done: Julien Cristau <jcristau@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, XCB Developers <xcb@lists.freedesktop.org>:
Bug#632555; Package libpthread-stubs0. (Sun, 03 Jul 2011 14:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
New Bug report received and forwarded. Copy sent to XCB Developers <xcb@lists.freedesktop.org>. (Sun, 03 Jul 2011 14:30:04 GMT) (full text, mbox, link).


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

From: Samuel Thibault <sthibault@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libpthread-stubs0: Multiarch support
Date: Sun, 3 Jul 2011 16:27:28 +0200
[Message part 1 (text/plain, inline)]
Package: libpthread-stubs0
Version: 0.3-2.1
Severity: normal
Tags: patch

Hello,

This adds multiarch support to libpthread-stubs.

Samuel

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information
[patch (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, XCB Developers <xcb@lists.freedesktop.org>:
Bug#632555; Package libpthread-stubs0. (Mon, 04 Jul 2011 20:18:05 GMT) (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to XCB Developers <xcb@lists.freedesktop.org>. (Mon, 04 Jul 2011 20:18:05 GMT) (full text, mbox, link).


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

From: Julien Cristau <jcristau@debian.org>
To: Samuel Thibault <sthibault@debian.org>, 632555@bugs.debian.org
Subject: Re: [Xcb] Bug#632555: libpthread-stubs0: Multiarch support
Date: Mon, 4 Jul 2011 22:15:03 +0200
On Sun, Jul  3, 2011 at 16:27:28 +0200, Samuel Thibault wrote:

> --- libpthread-stubs-0.3/debian/control	2011-07-03 15:24:33.000000000 +0200
> +++ libpthread-stubs-0.3-mine/debian/control	2011-07-03 15:24:18.000000000 +0200
> @@ -12,6 +12,7 @@
>  Section: libs
>  Architecture: any
>  Depends: ${shlibs:Depends}, ${misc:Depends}
> +Multi-Arch: same

missing Pre-Depends, and bumped dependency on cdbs and/or debhelper.

>  Description: pthread stubs not provided by native libc
>   This library provides weak aliases for pthread functions not provided
>   in libc or otherwise available by default.  Libraries like libxcb rely
> --- libpthread-stubs-0.3/debian/rules	2011-07-03 15:24:33.000000000 +0200
> +++ libpthread-stubs-0.3-mine/debian/rules	2011-07-03 15:45:14.000000000 +0200
> @@ -5,7 +5,7 @@
>  include /usr/share/cdbs/1/rules/debhelper.mk
>  include /usr/share/cdbs/1/class/autotools.mk
>  
> -DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/
> +DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/ --libdir=/lib/$(DEB_HOST_MULTIARCH)

may need to set the variable first?

>  DEB_DH_MAKESHLIBS_ARGS_libpthread-stubs0=--add-udeb=libpthread-stubs0-udeb
>  
>  debian/copyright: debian/copyright.debian COPYING
> @@ -17,13 +17,13 @@
>  common-install-prehook-arch common-install-prehook-indep:: debian/copyright
>  
>  install/libpthread-stubs0::
> -	if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
> -	if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
> +	if test -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0.0.0; fi
> +	if test -L debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0; fi
>  
>  install/libpthread-stubs0-udeb::
> -	if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
> -	if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
> +	if test -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0.0.0; fi
> +	if test -L debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0; fi
>  
>  install/libpthread-stubs0-dev::
> -	if test -f debian/tmp/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.a usr/lib; ln -s /lib/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/libpthread-stubs.so; fi
> -	dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/
> +	if test -f debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.a usr/lib/$(DEB_HOST_MULTIARCH); ln -s /lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libpthread-stubs.so; fi
> +	dh_install -p$(cdbs_curpkg) debian/tmp/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/

Cheers,
Julien




Information forwarded to debian-bugs-dist@lists.debian.org, XCB Developers <xcb@lists.freedesktop.org>:
Bug#632555; Package libpthread-stubs0. (Mon, 04 Jul 2011 20:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to XCB Developers <xcb@lists.freedesktop.org>. (Mon, 04 Jul 2011 20:21:06 GMT) (full text, mbox, link).


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

From: Samuel Thibault <sthibault@debian.org>
To: Julien Cristau <jcristau@debian.org>
Cc: 632555@bugs.debian.org
Subject: Re: [Xcb] Bug#632555: libpthread-stubs0: Multiarch support
Date: Mon, 4 Jul 2011 22:19:43 +0200
Julien Cristau, le Mon 04 Jul 2011 22:15:03 +0200, a écrit :
> missing Pre-Depends,

Oops, indeed.

> and bumped dependency on cdbs and/or debhelper.

cdbs (>= 0.4.93) indeed.

> >  Description: pthread stubs not provided by native libc
> >   This library provides weak aliases for pthread functions not provided
> >   in libc or otherwise available by default.  Libraries like libxcb rely
> > --- libpthread-stubs-0.3/debian/rules	2011-07-03 15:24:33.000000000 +0200
> > +++ libpthread-stubs-0.3-mine/debian/rules	2011-07-03 15:45:14.000000000 +0200
> > @@ -5,7 +5,7 @@
> >  include /usr/share/cdbs/1/rules/debhelper.mk
> >  include /usr/share/cdbs/1/class/autotools.mk
> >  
> > -DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/
> > +DEB_CONFIGURE_EXTRA_FLAGS=--prefix=/ --libdir=/lib/$(DEB_HOST_MULTIARCH)
> 
> may need to set the variable first?

cdbs does it.

Samuel




Information forwarded to debian-bugs-dist@lists.debian.org, XCB Developers <xcb@lists.freedesktop.org>:
Bug#632555; Package libpthread-stubs0. (Wed, 09 Nov 2011 04:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Steve Langasek <steve.langasek@canonical.com>:
Extra info received and forwarded to list. Copy sent to XCB Developers <xcb@lists.freedesktop.org>. (Wed, 09 Nov 2011 04:24:04 GMT) (full text, mbox, link).


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

From: Steve Langasek <steve.langasek@canonical.com>
To: Debian Bug Tracking System <632555@bugs.debian.org>
Subject: Re: libpthread-stubs0: Multiarch support
Date: Tue, 08 Nov 2011 20:21:10 -0800
[Message part 1 (text/plain, inline)]
Package: libpthread-stubs
Version: 0.3-2.1
Followup-For: Bug #632555
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hello,

Attached is a slightly modified version of this patch, which has been
uploaded to Ubuntu.

Note that because libpthread-stubs0 is currently an empty package on most
architectures, the multiarch dpkg has some trouble with it, considering all
but one of the packages to be "disappeared":

  (Noting disappearance of libpthread-stubs0:armel, which has been completely replaced.)

This is, however, a bug in dpkg, not a bug in the libpthread-stubs multiarch
implementation.

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.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
[tmpenpTRm (text/x-diff, attachment)]

Added tag(s) pending. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Wed, 09 Nov 2011 21:03:09 GMT) (full text, mbox, link).


Reply sent to Julien Cristau <jcristau@debian.org>:
You have taken responsibility. (Fri, 11 Nov 2011 18:06:09 GMT) (full text, mbox, link).


Notification sent to Samuel Thibault <sthibault@debian.org>:
Bug acknowledged by developer. (Fri, 11 Nov 2011 18:06:09 GMT) (full text, mbox, link).


Message #27 received at 632555-close@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: 632555-close@bugs.debian.org
Subject: Bug#632555: fixed in libpthread-stubs 0.3-3
Date: Fri, 11 Nov 2011 18:02:44 +0000
Source: libpthread-stubs
Source-Version: 0.3-3

We believe that the bug you reported is fixed in the latest version of
libpthread-stubs, which is due to be installed in the Debian FTP archive:

libpthread-stubs0-dev_0.3-3_amd64.deb
  to main/libp/libpthread-stubs/libpthread-stubs0-dev_0.3-3_amd64.deb
libpthread-stubs0-udeb_0.3-3_amd64.udeb
  to main/libp/libpthread-stubs/libpthread-stubs0-udeb_0.3-3_amd64.udeb
libpthread-stubs0_0.3-3_amd64.deb
  to main/libp/libpthread-stubs/libpthread-stubs0_0.3-3_amd64.deb
libpthread-stubs_0.3-3.diff.gz
  to main/libp/libpthread-stubs/libpthread-stubs_0.3-3.diff.gz
libpthread-stubs_0.3-3.dsc
  to main/libp/libpthread-stubs/libpthread-stubs_0.3-3.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 632555@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated libpthread-stubs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 11 Nov 2011 18:40:41 +0100
Source: libpthread-stubs
Binary: libpthread-stubs0 libpthread-stubs0-udeb libpthread-stubs0-dev
Architecture: source amd64
Version: 0.3-3
Distribution: unstable
Urgency: low
Maintainer: XCB Developers <xcb@lists.freedesktop.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 libpthread-stubs0 - pthread stubs not provided by native libc
 libpthread-stubs0-dev - pthread stubs not provided by native libc, development files
 libpthread-stubs0-udeb - pthread stubs not provided by native libc - udeb (udeb)
Closes: 568281 622148 632555
Changes: 
 libpthread-stubs (0.3-3) unstable; urgency=low
 .
   [ Steve Langasek ]
   * Build for multiarch.  Closes: #632555.
 .
   [ Julien Cristau ]
   * Point Vcs-{Git,Browser} at collab-maint.
   * Remove Jamey Sharp from Uploaders (closes: #568281).
   * Remove Josh Triplett from Uploaders.
   * Use dh instead of cdbs.  In the process (and in order to be able to test
     it), make the package actually buildable on hurd, which doesn't have the
     stubs in libc, but whose libc.so pulls in libpthread-stubs.so, defeating
     our configure checks; so make the build find an empty libpthread-stubs.so
     instead of the system one.
 .
   [ Samuel Thibault ]
   * Fix pthread_exit prototype (closes: #622148).
Checksums-Sha1: 
 2a27a827d8109280b4dd520ff479890e1e833add 2062 libpthread-stubs_0.3-3.dsc
 27951a3ef5d269ce75f6a61070d738de5b6067be 2747 libpthread-stubs_0.3-3.diff.gz
 0762d349c871e5d7b08214376995df0f46bf5fd8 3228 libpthread-stubs0_0.3-3_amd64.deb
 4233d583ca2e844a02a7e9116121eca9b4a2dad2 648 libpthread-stubs0-udeb_0.3-3_amd64.udeb
 003c329424d7d69c5f267d06d1a46520dae99b95 3998 libpthread-stubs0-dev_0.3-3_amd64.deb
Checksums-Sha256: 
 55e98ef5317eccbc3dacdbb03f43a8c6ea53a576b53b9f1e1490ecfb798cf31a 2062 libpthread-stubs_0.3-3.dsc
 a743fb67637d5bb12a4331fa1ea4a443664873a7cf2e4f00e3f9977320d12cbd 2747 libpthread-stubs_0.3-3.diff.gz
 8d040f64e5bd9581674f92ea30c9356fb77afcb3dcd53fdb12f140022beffa5e 3228 libpthread-stubs0_0.3-3_amd64.deb
 e3f5ac79c7885864530452198ee3522f9a46dee59b6f4a5c6c86b5f83146e7d3 648 libpthread-stubs0-udeb_0.3-3_amd64.udeb
 31d74f6ccddda4dd99054131d64b54ad1d7c5d97cd9f27be712688830d134cc2 3998 libpthread-stubs0-dev_0.3-3_amd64.deb
Files: 
 741179fca9ea7436a871541a1561652a 2062 libdevel optional libpthread-stubs_0.3-3.dsc
 8b0ba224298f9323883eeada7379452d 2747 libdevel optional libpthread-stubs_0.3-3.diff.gz
 d9bed90a6887d7b6c83269970039f4ca 3228 libs optional libpthread-stubs0_0.3-3_amd64.deb
 07f893a2534b9ce87375366a61992252 648 debian-installer optional libpthread-stubs0-udeb_0.3-3_amd64.udeb
 006c74a48e870a2ead44d2e5eae0b545 3998 libdevel optional libpthread-stubs0-dev_0.3-3_amd64.deb

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

iQIcBAEBCAAGBQJOvV7hAAoJEDEBgAUJBeQMHLkP/i3NYscZY7ww9sv8e27Xnopy
iV2Th7gTMHAz0vDz1nOmzF5kQN+aKdDO5dRvy78wNgSzLZzujSotzVyKq/E0xg3w
E98JN/P0ABHgDwpcqp6yBaYzITTxpnKz87Zc03R3OONS5iU0sgzPX0FZOhLp5ZOJ
2NwUseEQslKWdztYMiBMhNxQQCiWgDng6PTKQ35YtuALdun9auYfL9G2/Egrh8Iu
DedORGH93nG5iW4drJy71WVnx5MAboYYP7FdnCY5SukRisp2r7/GxQxouO1hGXsM
CNFaj9TXHpHQQIFKiq1T+hznF7tu/4O4Hu+upsPCFS93Tg5eqnu+Z7Aas7T2DAky
nxvGuQo1f7aJ1MVrnzJGEDGo1kjh1IJ54DMh2sDHFOMUkSGDvlOlGm2dfgAvgt5Z
ttwUasCeFdlEvjwVfBu7xLQrSmuc9nfD9lafpi6qgBJZ6vp525+/i6itgoSHUnxy
XiaTAuxFLnatfDwlPD643kppgLPh2IyrYbGD/Cm+LtbsTECey1HLRAnMqt178uW6
O5ryVrTLLXeAv6iy3TCwgnbMMsi97t0W0Q3cgI9j4nBj9EDyDub3O+lyfbmdkibM
Oriy+d8GmzWbNZiKqdhazkiMndK98Dr8HF8SgSbcVpb++wEHsC7dTfXY+9D7a2Ts
2YUFjibH5Td3R0ve6K8u
=l5/w
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 20 Dec 2011 07:43:53 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: Thu Jan 11 05:32:31 2024; Machine Name: bembo

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.