Report forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Kevin Ryde <user42@zip.com.au>:
New Bug report received and forwarded. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Package: libgpmg1
Version: 1.20.3~pre3-3
Severity: normal
I see the Gpm_Event struct in gpm 1.20.3 has gained new wdx and wdy
fields over what 1.19.6 had. I think that may be a break of binary
compatility for programs using the low-level library, requiring a bump
of the soname and/or packagename.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.22-2-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages libgpmg1 depends on:
ii libc6 2.7-1 GNU C Library: Shared libraries
libgpmg1 recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Kevin Ryde <user42@zip.com.au>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Oops, wdx and wdy are not new, they've just moved. I think that'll
cause problems for programs built against the old and running against
the new, in particular the "type" field has moved, which hurts a program
of mine.
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Peter Samuelson <peter@p12n.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
[Kevin Ryde]
> Oops, wdx and wdy are not new, they've just moved. I think that'll
> cause problems for programs built against the old and running against
> the new, in particular the "type" field has moved, which hurts a
> program of mine.
Yes, sorry about that - I haven't really had time to figure out the
best plan to deal with that. In summary:
- Debian patched libgpm 1.19 a long long time ago, to add those fields,
among many other changes. (Without changing the SONAME. Don't look
at me, I wasn't involved yet.) This made Debian libgpm binary
incompatible with upstream, and we have in fact gotten a few
complaints about that.
- Upstream 1.20 now has the same fields but they put them in a
different place. Now there are 3 different ABIs to worry about,
without the SONAME of the library having been changed. Though
upstream's 2 ABIs are probably backward-compatible since they added
the fields at the end of the struct.
- Our initial 1.20 release keeps the upstream ordering, hence this bug.
I've known about it for a long time, I just haven't sat down to
formulate the best solution.
So, in lenny, we can either be binary compatible with upstream (i.e.,
with Fedora et. al), or we can be binary compatible with sarge and
etch, or we can be incompatible with both (by gratuitously changing our
SONAME). I'm leaning toward the latter.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Kevin Ryde <user42@zip.com.au>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Peter Samuelson <peter@p12n.org> writes:
>
> In summary:
Oh!
> Though upstream's 2 ABIs are probably backward-compatible since they
> added the fields at the end of the struct.
I'd suspect not, if the struct grows. I make it 24 bytes in the
unmodified upstream 1.19.5, now 28 in 1.20, so an old binary would have
space for 24 but Gpm_GetEvent in the new library would plonk 28 there.
There'd be an upstream soname bump for that, would there, maybe ...?
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Nico Schottelius <nico-debian-pkg-gpm-devel@schottelius.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
yes, in 1.20.3 the version bumps
Kevin Ryde [Wed, Apr 02, 2008 at 10:04:06AM +1100]:
> Peter Samuelson <peter@p12n.org> writes:
> >
> > In summary:
>
> Oh!
>
> > Though upstream's 2 ABIs are probably backward-compatible since they
> > added the fields at the end of the struct.
>
> I'd suspect not, if the struct grows. I make it 24 bytes in the
> unmodified upstream 1.19.5, now 28 in 1.20, so an old binary would have
> space for 24 but Gpm_GetEvent in the new library would plonk 28 there.
> There'd be an upstream soname bump for that, would there, maybe ...?
>
>
>
> _______________________________________________
> pkg-gpm-devel mailing list
> pkg-gpm-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-gpm-devel
--
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/
PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Kevin Ryde <user42@zip.com.au>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
(Apologies for mucho delayed followup ...)
Nico Schottelius <nico-debian-pkg-gpm-devel@schottelius.org> writes:
>
> yes, in 1.20.3 the version bumps
Oh, you don't meant just to libgpm.so.1.20.0?
I think that's still a soname of "libgpm.so.1".
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Hi Nico!
On Wed, 2008-04-02 at 10:52:46 +0200, Nico Schottelius wrote:
> Kevin Ryde [Wed, Apr 02, 2008 at 10:04:06AM +1100]:
> > Peter Samuelson <peter@p12n.org> writes:
> > >
> > > In summary:
> > Oh!
> >
> > > Though upstream's 2 ABIs are probably backward-compatible since they
> > > added the fields at the end of the struct.
> >
> > I'd suspect not, if the struct grows. I make it 24 bytes in the
> > unmodified upstream 1.19.5, now 28 in 1.20, so an old binary would have
> > space for 24 but Gpm_GetEvent in the new library would plonk 28 there.
> > There'd be an upstream soname bump for that, would there, maybe ...?
> yes, in 1.20.3 the version bumps
I've just checked and in 1.20.3 the library has the same SOVERSION,
the SONAME is «libgpm.so.1», although the library name is
«libgpm.so.1.20.0». It would be really helpful if you could bump it so
that the SONAME becomes something like «libgpm.so.2», and release a
new upstream version.
I think most of the freezes reported lately are due to that.
thanks,
guillem
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Nico Schottelius <nico-debian-pkg-gpm-devel@schottelius.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Guillem Jover [Wed, May 21, 2008 at 02:54:51AM +0300]:
> Hi Nico!
Hmpf, I knew I forgot something :-/
Will fix until 20080531 -> quite busy right now.
Will CC you / the bug as soon as fixed.
Nico
--
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/
PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package libgpmg1.
(full text, mbox, link).
Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
On Wed, 2008-05-21 at 15:38:41 +0200, Nico Schottelius wrote:
> Will fix until 20080531 -> quite busy right now.
Ok no problem, although if you told us what SONAME are you going to
use on the next release, we could go ahead and start the transition,
given that changing SONAME implies changing a package name and the
Debian ftp-masters need to approve this manually, which might take
some time.
> Will CC you / the bug as soon as fixed.
thanks,
guillem
Bug reassigned from package `libgpmg1' to `gpm'.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Wed, 11 Jun 2008 05:48:03 GMT) (full text, mbox, link).
Forcibly Merged 412927470882473496476431.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org.
(Wed, 11 Jun 2008 05:48:06 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>: Bug#473496; Package gpm.
(full text, mbox, link).
Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Source: gpm
Source-Version: 1.20.4-1
We believe that the bug you reported is fixed in the latest version of
gpm, which is due to be installed in the Debian FTP archive:
gpm_1.20.4-1.diff.gz
to pool/main/g/gpm/gpm_1.20.4-1.diff.gz
gpm_1.20.4-1.dsc
to pool/main/g/gpm/gpm_1.20.4-1.dsc
gpm_1.20.4-1_i386.deb
to pool/main/g/gpm/gpm_1.20.4-1_i386.deb
gpm_1.20.4.orig.tar.gz
to pool/main/g/gpm/gpm_1.20.4.orig.tar.gz
libgpm-dev_1.20.4-1_i386.deb
to pool/main/g/gpm/libgpm-dev_1.20.4-1_i386.deb
libgpm2_1.20.4-1_i386.deb
to pool/main/g/gpm/libgpm2_1.20.4-1_i386.deb
libgpmg1-dev_1.20.4-1_i386.deb
to pool/main/g/gpm/libgpmg1-dev_1.20.4-1_i386.deb
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 473496@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated gpm 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: SHA1
Format: 1.8
Date: Wed, 11 Jun 2008 09:30:31 +0300
Source: gpm
Binary: gpm libgpm2 libgpm-dev libgpmg1-dev
Architecture: source i386
Version: 1.20.4-1
Distribution: experimental
Urgency: low
Maintainer: Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description:
gpm - General Purpose Mouse interface
libgpm-dev - General Purpose Mouse - development files
libgpm2 - General Purpose Mouse - shared library
libgpmg1-dev - transitional dummy package which can be safely removed
Closes: 412927470882472062473496474516476431479345482138483916
Changes:
gpm (1.20.4-1) experimental; urgency=low
.
[ Guillem Jover ]
* New upstream version. (Closes: #482138)
- debian/patches/001_logging.patch: Removed, merged upstream.
- debian/patches/006_version_000: Likewise.
- debian/patches/008_sun_repeat_000: Likewise.
- debian/patches/030_segfault: Likewise.
- debian/patches/001_missing_V_option.patch: Refresh.
- debian/patches/002_force_repeat_000: Likewise.
- debian/patches/005_types_000: Likewise.
- debian/patches/007_doc_fix_000: Likewise.
- debian/patches/010_ps2_rework.patch: Likewise.
- debian/patches/013_xterm_mouse_support_000: Likewise.
- debian/patches/015_libgpm_noverbose.patch: Likewise.
- debian/patches/030_daemon_quit: Likewise.
- debian/patches/040_no_OPEN_MAX.patch: Likewise.
- debian/patches/050_dont_link_libcurses: Likewise.
- debian/rules: Fix Changelog to Changes in dh_installchangelogs call.
- Properly cleanup on 'make clean', fixes building twice in a row.
(Closes: 479345)
- Support default gpm handlers again. (Closes: #472062)
- Do not log 'Connecting' and 'Request' messages on syslog.
(Closes: #474516)
* Debian broke ABI compatibility with upstream long time ago, the patch
got merged upstream recently but the new field was added in a different
place in the structure. With the new 1.20.3~pre3 release Debian had
to be either incompatible with previous Debian gpm versions or with
upstream again, but quite helpfully upstream bumped the SONAME.
(Closes: #412927, #470882, #473496, #476431)
- Add a new libgpm2 and libgpm-dev packages.
- Remove the libgpmg1 package.
- Make the libgpmg1-dev a dummy package to ease the transition.
- Remove old Conflicts and Replaces on libgpm1.
- Bump libgpm shlibs dependency to 1.20.4.
* Switch to use dh_lintian instead of manually installing the overrides.
Bump the versioned debhelper Build-Depends to 6.0.7.
* Remove now unused gpm lintian overrides, and add one for libgpmg1-dev.
* Fix parallel FTBFS in debian/rules by moving 'patch' dependency from
the build to a new pre-patch target that serializes configuration.
* Add a debian/README.source file.
* Now using Standards-Version 3.8.0.
.
[ Peter Samuelson ]
* New debconf translations:
- Italian, thanks David Paleino. (Closes: #483916)
Checksums-Sha1:
b3701fcd3afcdd19777d240e3927def0f46ac54c 1283 gpm_1.20.4-1.dsc
5a16db5e4dc39fbf3c53a09d1460ca468ef1af44 1347133 gpm_1.20.4.orig.tar.gz
6bf3fbeb1d991e2c2da121124a6b0c798ba72ac4 84127 gpm_1.20.4-1.diff.gz
fa131748b283c7f6fdfc340463631215079679ac 210658 gpm_1.20.4-1_i386.deb
375741d5bc2bb4ed4c5f7dba8ad4f6502a74b3bf 32950 libgpm2_1.20.4-1_i386.deb
d3456adc01b326bcc7a6dba8d20655bde17aacba 35950 libgpm-dev_1.20.4-1_i386.deb
ecc7d3b2238d8d71fc4ef7fa058e0f50bc9cfd74 22958 libgpmg1-dev_1.20.4-1_i386.deb
Checksums-Sha256:
32fc370e0c1baec1be59161507bf094e9bdd7a40c1f3d2443cfb8f5a1904fdf3 1283 gpm_1.20.4-1.dsc
d6c87cd0f2c32e2c3435c444728f2ae60324fda60dedda783ea0f24f363e576c 1347133 gpm_1.20.4.orig.tar.gz
94b7daa49307b12de12b87da832088735f403cfb58bef4e1f2a0be51ad8ec72c 84127 gpm_1.20.4-1.diff.gz
3e425cacfb57b766e1c9d6b3af8f502d7e010838e65476cfd57e2a1b6daecead 210658 gpm_1.20.4-1_i386.deb
06559ae50699ad309189aa35448c44e776f44447be24da51a01cd3b7ac54100b 32950 libgpm2_1.20.4-1_i386.deb
976240f29a2676e4ac7dfd006673fdce4f3f67fc66ec61a859d6f9a6e59f3a58 35950 libgpm-dev_1.20.4-1_i386.deb
158350780d2b2e0cb6c3a4e4fe98bc1b33e675e0c8e1f816e44726cd94b03f8d 22958 libgpmg1-dev_1.20.4-1_i386.deb
Files:
03cc9711888d250fb3125d8c30d137f1 1283 misc optional gpm_1.20.4-1.dsc
ac31dbe9ff294720acf4fc9328b60e22 1347133 misc optional gpm_1.20.4.orig.tar.gz
458ff87ab66527e23df1e3a533418f03 84127 misc optional gpm_1.20.4-1.diff.gz
e6a5fef1f85cd9782be3ec2f70097e7a 210658 misc optional gpm_1.20.4-1_i386.deb
952a1fa0adc0cd06f8eb84911bb2fb51 32950 libs standard libgpm2_1.20.4-1_i386.deb
da9e11223955affdd42ef159fd416801 35950 libdevel optional libgpm-dev_1.20.4-1_i386.deb
eaf21a235f0398251f948871855ac668 22958 oldlibs extra libgpmg1-dev_1.20.4-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhPclMACgkQuW9ciZ2SjJv90wCeNM6AITehFZkDCnimZd8ODTTp
YC8AoORxorddgAimMBaWKMsYBawlwNCA
=BNzL
-----END PGP SIGNATURE-----
Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Daniël Mantione <daniel.mantione@freepascal.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Gerfried Fuchs <rhonda@debian.at>:
Bug acknowledged by developer.
(full text, mbox, link).
Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Simon Raven <simon.raven@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Bug reopened, originator not changed.
Request was from Gerfried Fuchs <rhonda@deb.at>
to control@bugs.debian.org.
(Wed, 25 Jun 2008 08:45:23 GMT) (full text, mbox, link).
Bug reopened, originator not changed.
Request was from Paul Wise <pabs@debian.org>
to control@bugs.debian.org.
(Thu, 04 Sep 2008 04:21:04 GMT) (full text, mbox, link).
Disconnected #470882 from all other report(s).
Request was from Samuel Thibault <samuel.thibault@ens-lyon.org>
to control@bugs.debian.org.
(Tue, 07 Oct 2008 20:33:21 GMT) (full text, mbox, link).
Bug closed, send any further explanations to Daniël Mantione <daniel.mantione@freepascal.org>
Request was from Samuel Thibault <samuel.thibault@ens-lyon.org>
to control@bugs.debian.org.
(Tue, 07 Oct 2008 20:45:26 GMT) (full text, mbox, link).
Disconnected #476431 from all other report(s).
Request was from Samuel Thibault <samuel.thibault@ens-lyon.org>
to control@bugs.debian.org.
(Wed, 08 Oct 2008 17:39:04 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 06 Nov 2008 07:27:04 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.