Your message dated Fri, 24 Apr 2009 17:47:04 +0000
with message-id <e1lxpuo-00005l...@ries.debian.org>
and subject line Bug#520853: fixed in gpm 1.20.4-3.2
has caused the Debian Bug report #520853,
regarding gpm: FTBFS: storage size of 'sucred' is unknown
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.)


-- 
520853: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520853
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gpm
Version: 1.20.4-3.1
Severity: serious
Tags: patch

From my pbuilder build log:

...
gcc -I/tmp/buildd/gpm-1.20.4/src -DHAVE_CONFIG_H -include headers/config.h 
-Wall -
DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\""  -Wall -g -D_REENTRANT -O2 
-Wall -g -D_REENTRANT -
O2 -c -o daemon/processconn.o daemon/processconn.c
daemon/processconn.c: In function 'processConn':
daemon/processconn.c:56: warning: passing argument 3 of 'accept' from 
incompatible pointer type
daemon/processconn.c:103: error: storage size of 'sucred' isn't known
daemon/processconn.c:104: error: invalid application of 'sizeof' to incomplete 
type 'struct ucred' 
daemon/processconn.c:103: warning: unused variable 'sucred'
make[2]: *** [daemon/processconn.o] Error 1
make[2]: Leaving directory `/tmp/buildd/gpm-1.20.4/src'
make[1]: *** [do-all] Error 1
make[1]: Leaving directory `/tmp/buildd/gpm-1.20.4'
make: *** [build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

I'm attaching a patch which fixes this error.
-- 
Daniel Schepler

Index: gpm-1.20.4/src/daemon/processconn.c
===================================================================
--- gpm-1.20.4.orig/src/daemon/processconn.c	2009-03-20 17:35:10.000000000 +0000
+++ gpm-1.20.4/src/daemon/processconn.c	2009-03-20 17:42:44.000000000 +0000
@@ -19,6 +19,7 @@
  *
  ********/
 
+#define _GNU_SOURCE  /* needed for struct ucred */
 #include <sys/socket.h>             /* accept            */
 #include <stdlib.h>                 /* malloc            */
 #include <unistd.h>                 /* close             */

--- End Message ---
--- Begin Message ---
Source: gpm
Source-Version: 1.20.4-3.2

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-3.2.diff.gz
  to pool/main/g/gpm/gpm_1.20.4-3.2.diff.gz
gpm_1.20.4-3.2.dsc
  to pool/main/g/gpm/gpm_1.20.4-3.2.dsc
gpm_1.20.4-3.2_i386.deb
  to pool/main/g/gpm/gpm_1.20.4-3.2_i386.deb
libgpm-dev_1.20.4-3.2_i386.deb
  to pool/main/g/gpm/libgpm-dev_1.20.4-3.2_i386.deb
libgpm2_1.20.4-3.2_i386.deb
  to pool/main/g/gpm/libgpm2_1.20.4-3.2_i386.deb
libgpmg1-dev_1.20.4-3.2_i386.deb
  to pool/main/g/gpm/libgpmg1-dev_1.20.4-3.2_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 520...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Eisentraut <pet...@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 ftpmas...@debian.org)


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

Format: 1.8
Date: Fri, 24 Apr 2009 18:41:08 +0300
Source: gpm
Binary: gpm libgpm2 libgpm-dev libgpmg1-dev
Architecture: source i386
Version: 1.20.4-3.2
Distribution: unstable
Urgency: medium
Maintainer: Debian GPM Team <pkg-gpm-de...@lists.alioth.debian.org>
Changed-By: Peter Eisentraut <pet...@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: 520853
Changes: 
 gpm (1.20.4-3.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/patches/070_struct_ucred: fix FTBFS. Closes: #520853
Checksums-Sha1: 
 ab60bb68b62816b2141f48cb75d3ac039e08a2ac 1258 gpm_1.20.4-3.2.dsc
 9798472f3a48617f92bbed3c116598099b90d8de 166108 gpm_1.20.4-3.2.diff.gz
 1d65e8c675c8f9214606c5af08fb01aa252f495e 213410 gpm_1.20.4-3.2_i386.deb
 c1f79037d73559fa7b866438f46bd421fe80f09b 33596 libgpm2_1.20.4-3.2_i386.deb
 8bdf9acc8e2121ffad2889c2e9a55546bec0d9f1 37478 libgpm-dev_1.20.4-3.2_i386.deb
 4dd29e65e4bd9a64a3f2c0cf8e1f7c6a3364df7d 23728 libgpmg1-dev_1.20.4-3.2_i386.deb
Checksums-Sha256: 
 c79d75e49faedb814433248325aacdf6099a5422903b6d789927f9121c2b7ab8 1258 
gpm_1.20.4-3.2.dsc
 210f798552591bd69ab95d33e186a5ba1dc59d701f205b04e46d922b80d975f8 166108 
gpm_1.20.4-3.2.diff.gz
 b97d94ee309a1733f13579da4976cc6bd7afecc3c1a71809793f16720dfb6d2c 213410 
gpm_1.20.4-3.2_i386.deb
 004feae9b17863902c090d6f681369ac3da5dcd279e204e5fd5fdc8fc99ee81e 33596 
libgpm2_1.20.4-3.2_i386.deb
 8f412b88bf1ecbac3bca9ba805fa03c77220ecb5b5e0f3b6f8328d3cb1d5d8cc 37478 
libgpm-dev_1.20.4-3.2_i386.deb
 207eb676e61a7f2d26b99f63397dcafbb2272bbfd8c995e843908ebbd1f86850 23728 
libgpmg1-dev_1.20.4-3.2_i386.deb
Files: 
 19535f47f6d7cce3d4b920c9d29b35a5 1258 misc optional gpm_1.20.4-3.2.dsc
 09606e3c573c578699e29e14a81537c2 166108 misc optional gpm_1.20.4-3.2.diff.gz
 8649302946a3c722ea6d8aa632a29db6 213410 misc optional gpm_1.20.4-3.2_i386.deb
 f8af507ab2da5bafc0423b6b1471ff3e 33596 libs standard 
libgpm2_1.20.4-3.2_i386.deb
 6a9f594520946466aa924e5891910ea4 37478 libdevel optional 
libgpm-dev_1.20.4-3.2_i386.deb
 18f49f17df60206338408cb809cdb43c 23728 oldlibs extra 
libgpmg1-dev_1.20.4-3.2_i386.deb

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

iEYEARECAAYFAknx9w4ACgkQTTx8oVVPtMayNQCfQbcB84CmTELpiyBMWOfa5LbQ
WhsAn11HcVjvYVtnqT8qUD6zQ2f7ur1A
=l5Es
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to