Your message dated Fri, 11 Nov 2011 18:47:12 +0000
with message-id <e1row88-00072e...@franck.debian.org>
and subject line Bug#648447: fixed in fso-gsmd 0.5.0+git20110916-2
has caused the Debian Bug report #648447,
regarding fso-gsmd: function return values implicitly converted to pointers, 
unreliable on amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
648447: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648447
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fso-gsmd
Version: 0.5.0+git20110916-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch precise

There are some missing prototypes in fso-gsmd for functions returning
pointers.  This causes GCC to assume a prototype returning int, which
can cause problems on architectures such as amd64 where the sizes of int
and pointer aren't equal, because it ends up throwing away the top half
of the pointer.  On Ubuntu amd64 we force this to cause a build failure
because it can produce runtime errors that are otherwise hard to track
down:

  
https://launchpadlibrarian.net/84918694/buildlog_ubuntu-precise-amd64.fso-gsmd_0.5.0%2Bgit20110916-1_FAILEDTOBUILD.txt.gz

The following patch syncs up the prototypes in conversions.h with the
definitions in conversions.c to fix this bug.

  * Add some missing prototypes to src/3rdparty/conversions.h.

diff -Nru fso-gsmd-0.5.0+git20110916/debian/patches/missing-prototypes.patch 
fso-gsmd-0.5.0+git20110916/debian/patches/missing-prototypes.patch
--- fso-gsmd-0.5.0+git20110916/debian/patches/missing-prototypes.patch  
1970-01-01 01:00:00.000000000 +0100
+++ fso-gsmd-0.5.0+git20110916/debian/patches/missing-prototypes.patch  
2011-11-11 15:32:20.000000000 +0000
@@ -0,0 +1,27 @@
+Description: Add some necessary prototypes to conversions.h
+Author: Colin Watson <cjwat...@ubuntu.com>
+Forwarded: no
+Last-Update: 2011-11-11
+
+Index: b/src/3rdparty/conversions.h
+===================================================================
+--- a/src/3rdparty/conversions.h
++++ b/src/3rdparty/conversions.h
+@@ -1,12 +1,17 @@
+ #ifndef CONVERSIONS_H
+ #define CONVERSIONS_H
+ 
++char *utf8_to_ucs2(const char* str);
++char *utf8_to_gsm(const char* str);
+ char *gsm_to_utf8(const char* str);
+ char *ucs2_to_utf8(const char *str);
+ typedef struct sms structsms;
++void sms_copy(void* self, void* dup);
+ struct sms* sms_new();
+ void sms_free(struct sms* self);
+ long sms_size();
++struct cbs* cbs_new();
++void cbs_free(struct cb* self);
+ 
+ #endif /* CONVERSIONS_H */
+ 
diff -Nru fso-gsmd-0.5.0+git20110916/debian/patches/series 
fso-gsmd-0.5.0+git20110916/debian/patches/series
--- fso-gsmd-0.5.0+git20110916/debian/patches/series    2011-10-30 
16:52:10.000000000 +0000
+++ fso-gsmd-0.5.0+git20110916/debian/patches/series    2011-11-11 
15:27:13.000000000 +0000
@@ -4,3 +4,4 @@
 remove-fsogsm.h.patch
 sms-storage-dir.patch
 fix-pkglibdir.patch
+missing-prototypes.patch

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



--- End Message ---
--- Begin Message ---
Source: fso-gsmd
Source-Version: 0.5.0+git20110916-2

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

fso-gsmd-dbg_0.5.0+git20110916-2_amd64.deb
  to main/f/fso-gsmd/fso-gsmd-dbg_0.5.0+git20110916-2_amd64.deb
fso-gsmd_0.5.0+git20110916-2.debian.tar.gz
  to main/f/fso-gsmd/fso-gsmd_0.5.0+git20110916-2.debian.tar.gz
fso-gsmd_0.5.0+git20110916-2.dsc
  to main/f/fso-gsmd/fso-gsmd_0.5.0+git20110916-2.dsc
fso-gsmd_0.5.0+git20110916-2_amd64.deb
  to main/f/fso-gsmd/fso-gsmd_0.5.0+git20110916-2_amd64.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 648...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Reichel <s...@debian.org> (supplier of updated fso-gsmd 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 11 Nov 2011 17:47:50 +0100
Source: fso-gsmd
Binary: fso-gsmd fso-gsmd-dbg fso-gsmd-openmoko fso-gsmd-ezx fso-gsmd-htc
Architecture: source amd64
Version: 0.5.0+git20110916-2
Distribution: unstable
Urgency: low
Maintainer: Debian FreeSmartphone.Org Team 
<pkg-fso-maint@lists.alioth.debian.org>
Changed-By: Sebastian Reichel <s...@debian.org>
Description: 
 fso-gsmd   - freesmartphone.org GSM daemon
 fso-gsmd-dbg - debugging symbols for freesmartphone.org GSM daemon
 fso-gsmd-ezx - freesmartphone.org GSM daemon for Motorola EZX devices
 fso-gsmd-htc - freesmartphone.org GSM daemon for HTC devices
 fso-gsmd-openmoko - freesmartphone.org GSM daemon for Openmoko devices
Closes: 648447
Changes: 
 fso-gsmd (0.5.0+git20110916-2) unstable; urgency=low
 .
   * new patch: add some missing prototypes to src/3rdparty/conversions.h
     (Closes: #648447)
Checksums-Sha1: 
 fed0ef1585bb17bc9c07aa7e0a82fb9fb4096dd1 2541 fso-gsmd_0.5.0+git20110916-2.dsc
 d072a01b4e1803b43bc1ddd40551daf99d57db70 7528 
fso-gsmd_0.5.0+git20110916-2.debian.tar.gz
 6283d5be7869d94f3582691baa9b1b464c4ed6a4 433254 
fso-gsmd_0.5.0+git20110916-2_amd64.deb
 1cabcabab32f0a677b8cbed908895a219017ec9c 980618 
fso-gsmd-dbg_0.5.0+git20110916-2_amd64.deb
Checksums-Sha256: 
 29d02917e90933ec1ea059bc3aa2a1bc6469fd1c0afb4a31b2d21c6faef3dee3 2541 
fso-gsmd_0.5.0+git20110916-2.dsc
 d8cc0ca2adfa88a5e40d0dd96b5718186fbd0d028c58957b97c83c973efeddec 7528 
fso-gsmd_0.5.0+git20110916-2.debian.tar.gz
 cd6097909a70ce5a933001473db8fb5930bd6209b0cb0d2e60e4028369f627b7 433254 
fso-gsmd_0.5.0+git20110916-2_amd64.deb
 d92ab47e48a5fd1a5276126bba2b53bfc7143001b0cb2a0bc76d02d72dbc6c82 980618 
fso-gsmd-dbg_0.5.0+git20110916-2_amd64.deb
Files: 
 2d691724fb588ab73ecd6d7f868e1ddc 2541 misc extra 
fso-gsmd_0.5.0+git20110916-2.dsc
 498d9426b4a618b3aede0771e146152a 7528 misc extra 
fso-gsmd_0.5.0+git20110916-2.debian.tar.gz
 46e5b6b8c75fec27daaeeb1a811b7037 433254 misc extra 
fso-gsmd_0.5.0+git20110916-2_amd64.deb
 4188740ae89c16767371a0fef826b499 980618 debug extra 
fso-gsmd-dbg_0.5.0+git20110916-2_amd64.deb

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

iQIcBAEBCAAGBQJOvWhhAAoJENju1/PIO/qa08IQAIDf4sw1xi9LhLgwUuuEjexT
zdPeWrJqJ0PG/4cjsLOZE7SmX496uH6D8O+vSVOPTPkXUUYJAUYIAPgDwyobquvK
aPWe2Yk60g2WBpuiH+DYh1XcAeq7SVeyg5oXGUpnUhGXfaCczhk/r4dU6cQo7WKM
cgiGo5T8ks8u/P1JtdgQI1Dtj78OgkbfqAlboruS74LP1UPqP5otoCYTfY/2GJNE
stIkGDS0uzDxO5AXF7++nn/K4JzP4brHrEsq2JMnfbbGls2aC1CnU1WcnMSHxVHY
NuFwDwuQvMSqHaKDnHh8vm8BDCuNRr9YmF8aNbPFFL34lPQVn8lQY04W6SX14ndQ
RKRS1doyFli2tys9MV0zdEPF04nlgGMWM2AMwGg0BprgjA8RLjJwOSHqaPRjMyWY
s5Dewr9VhJLh1r1gxaOXmu4Rm1gRB5mXkElwxuVJ+P0WvyIXlGQFHpc+MwXhHIKC
vCFTB7sn15i3Rz+mKKSCjNrSQjF+uElskSbz4xF1lAkxdLGgGi6RhRmcQFPMVkjb
A5GwSYfATwdLwMHpu/ofqksbyu++RTAMG16GcnWF6C232J0JuCW6/ncknItIL+82
3DCNv17lA8eN9FiabnQ0f1jaJQlIQBqCkaWc+WHYDg8YLdsmfZ3lhEFHFrtwx/5s
K0/YTtCqazg3Oh2U0sMD
=PNc2
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fso-maint

Reply via email to