Debian Bug report logs - #520853
gpm: FTBFS: storage size of 'sucred' is unknown

version graph

Package: gpm; Maintainer for gpm is Axel Beckert <abe@debian.org>; Source for gpm is src:gpm (PTS, buildd, popcon).

Reported by: Daniel Schepler <dschepler@gmail.com>

Date: Mon, 23 Mar 2009 04:00:01 UTC

Severity: serious

Tags: patch

Found in version gpm/1.20.4-3.1

Fixed in version gpm/1.20.4-3.2

Done: Peter Eisentraut <petere@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, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#520853; Package gpm. (Mon, 23 Mar 2009 04:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Schepler <schepler@math.berkeley.edu>:
New Bug report received and forwarded. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>. (Mon, 23 Mar 2009 04:00:03 GMT) (full text, mbox, link).


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

From: Daniel Schepler <schepler@math.berkeley.edu>
To: submit@bugs.debian.org
Subject: gpm: FTBFS: storage size of 'sucred' is unknown
Date: Sun, 22 Mar 2009 20:57:39 -0700
[Message part 1 (text/plain, inline)]
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

[070_struct_ucred (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#520853; Package gpm. (Mon, 23 Mar 2009 05:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Nico Schottelius <nico-nospam@schottelius.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>. (Mon, 23 Mar 2009 05:45:02 GMT) (full text, mbox, link).


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

From: Nico Schottelius <nico-nospam@schottelius.org>
To: Daniel Schepler <schepler@math.berkeley.edu>, 520853@bugs.debian.org
Subject: Re: Bug#520853: gpm: FTBFS: storage size of 'sucred' is unknown
Date: Mon, 23 Mar 2009 06:42:26 +0100
[Message part 1 (text/plain, inline)]
Hey Daniel!

Daniel Schepler [Sun, Mar 22, 2009 at 08:57:39PM -0700]:
> From my pbuilder build log:
> 
> ...
> daemon/processconn.c:56: warning: passing argument 3 of 'accept' from incompatible pointer type
> [...] 
> I'm attaching a patch which fixes this error.

Using #define _GNU_SOURCE to add more glibc specific is probably
not the best way to go, as there's already a messy #ifdef below
to catch the SO_PEERCRED case.

Maybe getting rid of the whole section and making the socket group
read/writable only is the better way?

Sincerly,

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
[signature.asc (application/pgp-signature, inline)]

Changed Bug submitter from Daniel Schepler <schepler@math.berkeley.edu> to Daniel Schepler <dschepler@gmail.com>. Request was from Daniel Schepler <dschepler@gmail.com> to control@bugs.debian.org. (Thu, 09 Apr 2009 23:57:18 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#520853; Package gpm. (Thu, 23 Apr 2009 20:54:06 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Eisentraut <petere@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>. (Thu, 23 Apr 2009 20:54:06 GMT) (full text, mbox, link).


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

From: Peter Eisentraut <petere@debian.org>
To: 520853@bugs.debian.org
Subject: NMU patch
Date: Thu, 23 Apr 2009 23:48:55 +0300
[Message part 1 (text/plain, inline)]
Since there is no progress on this bug and maintenance of this package appears 
to be slow overall, I propose the following NMU patch.
[gpm-520853.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GPM Team <pkg-gpm-devel@lists.alioth.debian.org>:
Bug#520853; Package gpm. (Thu, 23 Apr 2009 21:12:02 GMT) (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>. (Thu, 23 Apr 2009 21:12:02 GMT) (full text, mbox, link).


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

From: Peter Samuelson <peter@p12n.org>
To: Peter Eisentraut <petere@debian.org>, 520853@bugs.debian.org
Subject: Re: Bug#520853: NMU patch
Date: Thu, 23 Apr 2009 16:10:23 -0500
[Peter Eisentraut]
> +gpm (1.20.4-3.2) UNRELEASED; urgency=low
> +
> +  * Non-maintainer upload.
> +  * debian/patches/070_struct_ucred: fix FTBFS. Closes: #520853
> +
> + -- Peter Eisentraut <petere@debian.org>  Thu, 23 Apr 2009 22:04:24 +0300

Ack, please go ahead.
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/




Reply sent to Peter Eisentraut <petere@debian.org>:
You have taken responsibility. (Fri, 24 Apr 2009 18:15:05 GMT) (full text, mbox, link).


Notification sent to Daniel Schepler <dschepler@gmail.com>:
Bug acknowledged by developer. (Fri, 24 Apr 2009 18:15:05 GMT) (full text, mbox, link).


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

From: Peter Eisentraut <petere@debian.org>
To: 520853-close@bugs.debian.org
Subject: Bug#520853: fixed in gpm 1.20.4-3.2
Date: Fri, 24 Apr 2009 17:47:04 +0000
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 520853@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Eisentraut <petere@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: 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-devel@lists.alioth.debian.org>
Changed-By: Peter Eisentraut <petere@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-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 07 Mar 2011 09:12:44 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: Sat Jul 1 15:33:10 2023; 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.