Bug#224774: marked as done (FTBFS: libgtop2 build dies when including linux/isdn.h)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 22 Dec 2003 06:03:24 -0600


Your message dated Mon, 22 Dec 2003 18:32:14 +1100
with message-id <200312221832.15122.peter@hawkins.emu.id.au>
and subject line Bug#224774: FTBFS: libgtop2 build dies when including linux/isdn.h
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; 22 Dec 2003 05:16:31 +0000
>From peter@hawkins.emu.id.au Sun Dec 21 23:16:30 2003
Return-path: <peter@hawkins.emu.id.au>
Received: from bill.trinity.unimelb.edu.au [203.28.240.2] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AYI6b-0007Px-00; Sun, 21 Dec 2003 22:55:45 -0600
Received: by bill.trinity.unimelb.edu.au (Postfix, from userid 119)
	id 3264A241E; Mon, 22 Dec 2003 15:55:44 +1100 (EST)
Received: from localhost (tela.trinity.unimelb.edu.au [203.28.240.109])
	by bill.trinity.unimelb.edu.au (Postfix) with ESMTP id 111A4241F
	for <submit@bugs.debian.org>; Mon, 22 Dec 2003 15:55:07 +1100 (EST)
Received: from warpcore (roger.trinity.unimelb.edu.au [203.28.240.3])
	by bill.trinity.unimelb.edu.au (Postfix) with ESMTP id 182D5241E
	for <submit@bugs.debian.org>; Mon, 22 Dec 2003 15:55:04 +1100 (EST)
From: Peter Hawkins <peter@hawkins.emu.id.au>
To: submit@bugs.debian.org
Subject: FTBFS: libgtop2 build dies when including linux/isdn.h
Date: Mon, 22 Dec 2003 15:55:26 +1100
User-Agent: KMail/1.5.4
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200312221555.26518.peter@hawkins.emu.id.au>
X-Virus-Scanned: by AMaViS new-20020517
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Package: libgtop2
Version: 2.0.5-4
Severity: serious

Hi...

libgtop2 apparently fails to build from source, probably due to the new 
linux-kernel-headers package.

Extract from the build log:
 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/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:
/usr/include/glib-2.0/glib/gmacros.h:64:1: warning: "G_GNUC_NORETURN" 
redefined
In file included from ../../glibtop.h:27,
                 from ppp.c:24:
../../include/glibtop/global.h:52:1: warning: this is the location of the 
previous definition
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:
/usr/include/glib-2.0/glib/gmacros.h:66:1: warning: "G_GNUC_CONST" redefined
In file included from ../../glibtop.h:27,
                 from ppp.c:24:
../../include/glibtop/global.h:54:1: warning: this is the location of the 
previous definition
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:
/usr/include/glib-2.0/glib/gmacros.h:68:1: warning: "G_GNUC_UNUSED" redefined
In file included from ../../glibtop.h:27,
                 from ppp.c:24:
../../include/glibtop/global.h:56:1: warning: this is the location of the 
previous definition
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
make[4]: *** [ppp.lo] Error 1
make[4]: Leaving directory `/home/peterh/debian/nmu/libgtop2-2.0.5/sysdeps/
linux'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/peterh/debian/nmu/libgtop2-2.0.5/sysdeps'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/peterh/debian/nmu/libgtop2-2.0.5'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/peterh/debian/nmu/libgtop2-2.0.5'
make: *** [build-stamp] Error 2
debuild: fatal error at line 763:
dpkg-buildpackage failed!

=)
Peter


---------------------------------------
Received: (at 224774-done) by bugs.debian.org; 22 Dec 2003 11:56:14 +0000
>From peter@hawkins.emu.id.au Mon Dec 22 05:56:13 2003
Return-path: <peter@hawkins.emu.id.au>
Received: from bill.trinity.unimelb.edu.au [203.28.240.2] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AYKYF-00086l-00; Mon, 22 Dec 2003 01:32:27 -0600
Received: by bill.trinity.unimelb.edu.au (Postfix, from userid 119)
	id 7F50B2420; Mon, 22 Dec 2003 18:32:25 +1100 (EST)
Received: from localhost (tela.trinity.unimelb.edu.au [203.28.240.109])
	by bill.trinity.unimelb.edu.au (Postfix) with ESMTP id 2D8D1241F
	for <224774-done@bugs.debian.org>; Mon, 22 Dec 2003 18:31:49 +1100 (EST)
Received: from warpcore (roger.trinity.unimelb.edu.au [203.28.240.3])
	by bill.trinity.unimelb.edu.au (Postfix) with ESMTP id F13AB241E
	for <224774-done@bugs.debian.org>; Mon, 22 Dec 2003 18:31:47 +1100 (EST)
From: Peter Hawkins <peter@hawkins.emu.id.au>
To: 224774-done@bugs.debian.org
Subject: Re: Bug#224774: FTBFS: libgtop2 build dies when including linux/isdn.h
Date: Mon, 22 Dec 2003 18:32:14 +1100
User-Agent: KMail/1.5.4
References: <200312221555.26518.peter@hawkins.emu.id.au> <87oeu1tjll.fsf@seb128.wanadoo.fr>
In-Reply-To: <87oeu1tjll.fsf@seb128.wanadoo.fr>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200312221832.15122.peter@hawkins.emu.id.au>
X-Virus-Scanned: by AMaViS new-20020517
Delivered-To: 224774-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=FOOASDF,HAS_BUG_NUMBER 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_15
X-Spam-Level: 

Hi...

No. I checked the latest version of the source on my local mirror. My 
apologies.

=)
Peter


On Mon, 22 Dec 2003 06:08 pm, you wrote:
> Peter Hawkins <peter@hawkins.emu.id.au> writes:
> > Package: libgtop2
> > Version: 2.0.5-4
>
> libgtop2 (2.0.8-1) unstable; urgency=low
>
> > Severity: serious
> >
> > Hi...
> >
> > libgtop2 apparently fails to build from source, probably due to the new
> > linux-kernel-headers package.
>
>   * debian/patches/01_libgtop2-kernel2.6.dpatch:
>     + new patch to build with 2.6 headers (Closes: #223027).
>
>
> Have you tested the last version ? The patch should work ...
>
>
>
> Cheers,
>
> Sebastien Bacher