Bug#223027: marked as done (libgtop2: FTBFS: improperly #includes kernel header <linux/isdn.h>)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 21 Dec 2003 12:33:35 -0600


Your message dated Sun, 21 Dec 2003 11:32:26 -0500
with message-id <E1AY6VG-00071s-00@auric.debian.org>
and subject line Bug#223027: fixed in libgtop2 2.0.8-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Dec 2003 21:46:01 +0000
>From steve@ivanhoe.blckknght.org Fri Dec 05 15:46:00 2003
Return-path: <steve@ivanhoe.blckknght.org>
Received: from adsl-68-73-208-152.dsl.chmpil.ameritech.net (ivanhoe.blckknght.org) [68.73.208.152] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1ASNRV-000294-00; Fri, 05 Dec 2003 15:24:54 -0600
Received: by ivanhoe.blckknght.org (Postfix, from userid 1000)
	id 9EED213928; Fri,  5 Dec 2003 15:24:52 -0600 (CST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Steven Barker <steve@blckknght.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgtop2: FTBFS: improperly #includes kernel header <linux/isdn.h>
X-Mailer: reportbug 2.36
Date: Fri, 05 Dec 2003 15:24:52 -0600
Message-Id: <20031205212452.9EED213928@ivanhoe.blckknght.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-4.0 required=4.0 tests=BAYES_70,HAS_PACKAGE 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Package: libgtop2
Version: 2.0.5-4
Severity: serious
Justification: fails to build from source

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

While trying to investigate bug #194108, I discovered that this
package does not build from source on current unstable.  This is
because it #includes at least one kernel header, <linux/isdn.h> (from
src/sysdeps/linux/ppp.c).  This breaks when building against current
glibc, which has kernel headers from linux 2.6, which are not intended
to be used from userspace.  I've briefly looked at the kernel headers
in question, but I do not understand what causes the compile to fail.
Perhaps someone more familiar with the kernel source can fix this.

Here is the relevant part of the build:

/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/linux -I../../include -DNEED_GNOMESUPPORT_H -I../../support -I../../support -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2  -I/usr/X11R6/include  -DGTOPLOCALEDIR=\"/usr/share/locale\" -DLIBGTOP_VERSION=\"2.0.5\" -DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VERSION_CODE=2000005 -DLIBGTOP_SERVER=\"/usr/bin/libgtop_server2\"    -g -O2 -c ppp.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/linux -I../../include -DNEED_GNOMESUPPORT_H -I../../support -I../../support -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -I/usr/X11R6/include -DGTOPLOCALEDIR=\"/usr/share/locale\" -DLIBGTOP_VERSION=\"2.0.5\" -DLIBGTOP_SERVER_VERSION=\"5\" -DLIBGTOP_VERSION_CODE=2000005 -DLIBGTOP_SERVER=\"/usr/bin/libgtop_server2\" -g -O2 -Wp,-MD,.deps/ppp.pp -c ppp.c  -fPIC -DPIC -o .libs/ppp.o
In file included from /usr/include/linux/timer.h:5,
                 from /usr/include/linux/isdn/fsm.h:15,
                 from /usr/include/linux/isdn.h:17,
                 from ppp.c:29:
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/timer.h:6,
                 from /usr/include/linux/isdn/fsm.h:15,
                 from /usr/include/linux/isdn.h:17,
                 from ppp.c:29:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:433: error: for each function it appears in.)
In file included from /usr/include/linux/timer.h:6,
                 from /usr/include/linux/isdn/fsm.h:15,
                 from /usr/include/linux/isdn.h:17,
                 from ppp.c:29:
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/isdn/fsm.h:15,
                 from /usr/include/linux/isdn.h:17,
                 from ppp.c:29:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:11: error: field `entry' has incomplete type
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from ppp.c:36:

- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux ivanhoe.blckknght.org 2.6.0-test7-1-386 #1 Sun Oct 12 10:29:56 EST 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages libgtop2 depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines

- -- no debconf information

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

iD8DBQE/0PekUpL3Q+vVk2sRAjlIAJ9Fe3FyAHv+Xev+TgKRwgqB57zwmQCcDKMk
3xEAAaH8deQxkmPjjuupb/4=
=oKF+
-----END PGP SIGNATURE-----

---------------------------------------
Received: (at 223027-close) by bugs.debian.org; 21 Dec 2003 18:21:36 +0000
>From katie@auric.debian.org Sun Dec 21 12:21:36 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AY6Xf-00076i-00; Sun, 21 Dec 2003 10:34:55 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AY6VG-00071s-00; Sun, 21 Dec 2003 11:32:26 -0500
From: Sebastien Bacher <seb128@debian.org>
To: 223027-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#223027: fixed in libgtop2 2.0.8-1
Message-Id: <E1AY6VG-00071s-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 21 Dec 2003 11:32:26 -0500
Delivered-To: 223027-close@bugs.debian.org

Source: libgtop2
Source-Version: 2.0.8-1

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

libgtop2-daemon_2.0.8-1_i386.deb
  to pool/main/libg/libgtop2/libgtop2-daemon_2.0.8-1_i386.deb
libgtop2-dev_2.0.8-1_i386.deb
  to pool/main/libg/libgtop2/libgtop2-dev_2.0.8-1_i386.deb
libgtop2_2.0.8-1.diff.gz
  to pool/main/libg/libgtop2/libgtop2_2.0.8-1.diff.gz
libgtop2_2.0.8-1.dsc
  to pool/main/libg/libgtop2/libgtop2_2.0.8-1.dsc
libgtop2_2.0.8-1_i386.deb
  to pool/main/libg/libgtop2/libgtop2_2.0.8-1_i386.deb
libgtop2_2.0.8.orig.tar.gz
  to pool/main/libg/libgtop2/libgtop2_2.0.8.orig.tar.gz



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 223027@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Bacher <seb128@debian.org> (supplier of updated libgtop2 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.7
Date: Sat, 20 Dec 2003 18:28:19 +0100
Source: libgtop2
Binary: libgtop2-daemon libgtop2-dev libgtop2
Architecture: source i386
Version: 2.0.8-1
Distribution: unstable
Urgency: low
Maintainer: Sebastien Bacher <seb128@debian.org>
Changed-By: Sebastien Bacher <seb128@debian.org>
Description: 
 libgtop2   - Libraries for gtop system monitoring library (part of Gnome 2)
 libgtop2-daemon - gtop daemon for monitoring remote machines (part of Gnome 2)
 libgtop2-dev - Dev libraries for gtop system monitoring library (part of Gnome 2
Closes: 223027 224613
Changes: 
 libgtop2 (2.0.8-1) unstable; urgency=low
 .
   * New upstream release (Closes: #224613).
   * debian/patches/01_kernel26-headers.dpatch:
     + removed since changes are included in the new version.
   * debian/patches/01_libgtop2-kernel2.6.dpatch:
     + new patch to build with 2.6 headers (Closes: #223027).
Files: 
 c9818e3508db1620edc2d1f7eca7aadc 1209 libs optional libgtop2_2.0.8-1.dsc
 c4ffb1166627f51a066b9765deb1df07 1374689 libs optional libgtop2_2.0.8.orig.tar.gz
 87ab0a03e92c2241ecb035ab801e5be9 15049 libs optional libgtop2_2.0.8-1.diff.gz
 60c40d7ab7fa5495601a28b67de3b48c 327908 libs optional libgtop2_2.0.8-1_i386.deb
 73a2b575e1dc404bb5978411ae184fdb 58578 libdevel optional libgtop2-dev_2.0.8-1_i386.deb
 768f02eb80027fce3db2b3882d3db3ef 11940 admin optional libgtop2-daemon_2.0.8-1_i386.deb

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

iD8DBQE/5ccKJYSUupF6Il4RAn94AJsHvALwV0S4aTGv7w6o5bmsXSgAvACg6TP4
V7v+kS5a/esx6h/QamwL6A8=
=KXuj
-----END PGP SIGNATURE-----