[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295474: marked as done (xfree86: FTBFS on hurd-i386: wacom driver build error)



Your message dated Tue, 23 Aug 2005 17:48:02 -0400
with message-id <20050823214802.GA9015@squee.verizon.net>
and subject line Closing
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; 16 Feb 2005 01:25:06 +0000
>From mbanck@gmx.net Tue Feb 15 17:25:06 2005
Return-path: <mbanck@gmx.net>
Received: from imap.gmx.net (mail.gmx.net) [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1D1DwA-0007oJ-00; Tue, 15 Feb 2005 17:25:06 -0800
Received: (qmail invoked by alias); 16 Feb 2005 01:24:34 -0000
Received: from ppp-62-245-211-50.mnet-online.de (EHLO localhost.localdomain) (62.245.211.50)
  by mail.gmx.net (mp004) with SMTP; 16 Feb 2005 02:24:34 +0100
X-Authenticated: #686195
Received: from mbanck by localhost.localdomain with local (Exim 4.34)
	id 1D1Dvd-0004Fs-3x
	for submit@bugs.debian.org; Wed, 16 Feb 2005 02:24:33 +0100
Date: Wed, 16 Feb 2005 02:24:33 +0100
From: Michael Banck <mbanck@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xfree86: FTBFS on hurd-i386: wacom driver build error
Message-ID: <20050216012433.GA16234@chemicalconnection.dyndns.org>
Reply-To: Michael Banck <mbanck@debian.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY"
Content-Disposition: inline
X-Reportbug-Version: 3.5ubuntu4
User-Agent: Mutt/1.5.6+20040907i
X-Y-GMX-Trusted: 0
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: xfree86
Severity: important
Tags: patch

Since the wacom driver got updated in -9, it no longer builds on
hurd-i386:

gcc -c -O0 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes
	-Wmissing-prototypes -Wmissing-declarations
	-Wredundant-decls -Wnested-externs -Wundef      -I.
	-I../../../../../../programs/Xserver/hw/xfree86/common
	-I../../../../../../programs/Xserver/hw/xfree86/loader
	-I../../../../../../programs/Xserver/hw/xfree86/os-support
	-I../../../../../../programs/Xserver/include
	-I../../../../../../programs/Xserver/mi
	-I../../../../../../exports/include/X11
	-I../../../../../../include/extensions  -I../../../../../..
	-I../../../../../../exports/include -I/usr/X11R6/include
	-D__GNU__ -D__i386__ -D_POSIX_C_SOURCE=199309L
	-D_POSIX_SOURCE -D_XOPEN_SOURCE                  -D_BSD_SOURCE
	-D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX
	-DXAPPGROUP -DXCSECURITY -DTOGCUP   -DXF86BIGFONT
	-DDPMSExtension -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR
	-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
	-DXFreeXDGA -DXvExtension -DXFree86Server -DXF86VIDMODE
	-DXvMCExtension               -DSMART_SCHEDULE -DBUILDDEBUG
	-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG
	-DFUNCPROTO=15 -DNARROWPROTO -DXFree86Module    wcmCommon.c
In file included from wcmCommon.c:24:
xf86Wacom.h:456:5: warning: "LINUX_INPUT" is not defined
wcmCommon.c: In function `xf86WcmSendEvents':
wcmCommon.c:485: warning: ISO C89 forbids mixed declarations and code
wcmCommon.c: In function `xf86WcmEvent':
wcmCommon.c:828: error: `gWacomUSBDevice' undeclared (first use in this
function)
wcmCommon.c:828: error: (Each undeclared identifier is reported only
once
wcmCommon.c:828: error: for each function it appears in.)
make[8]: *** [wcmCommon.o] Error 1

The reason is that LINUX_INPUT is not defined on hurd-i386 (I guess it
should not?), and wcmCommon.c declares gWacomUSBDevice guarded by #ifdef
LINUX_INPUT, while it is not guarded when it gets used later on,
resulting in this error.

As the wacom driver is pretty uninteresting to GNU/Hurd at this point, I
suggest simply not building it on hurd-i386 for the time being by
overriding XInputDrivers in xc/config/cf/gnu.cf. Patch updating #800
attached (it also changes the defines to include -D_GNU_SOURCE, which
was an oversight).


thanks,

Michael

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xinput.diff"

Index: patches/800_gnu_config.diff
===================================================================
--- patches/800_gnu_config.diff	(revision 2195)
+++ patches/800_gnu_config.diff	(working copy)
@@ -12,9 +13,10 @@
 # define HasKatmaiSupport	NO
 #endif
 
---- xc/config/cf/gnu.cf~	2004-07-27 13:17:07.000000000 +0200
-+++ xc/config/cf/gnu.cf	2004-07-27 17:14:26.000000000 +0200
-@@ -18,6 +18,154 @@
+diff -Naur xc.orig/config/cf/gnu.cf xc/config/cf/gnu.cf
+--- xc/config/cf/gnu.cf~	2005-02-16 01:18:29.701334208 +0100
++++ xc/config/cf/gnu.cf	2005-02-16 01:08:35.000000000 +0100
+@@ -18,9 +18,157 @@
  #endif
  XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
  
@@ -168,7 +170,11 @@
 +
  #define GNUSourceDefines      -D_POSIX_C_SOURCE=199309L \
                                -D_POSIX_SOURCE -D_XOPEN_SOURCE \
-                               -D_BSD_SOURCE -D_SVID_SOURCE
+-                              -D_BSD_SOURCE -D_SVID_SOURCE
++                              -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
+ 
+ XCOMM XXXMB: What about _GNU_SOURCE, see Linux/UseInstalled?
+ 
 @@ -66,6 +214,14 @@
  #define HasNCurses		YES
  #endif
@@ -210,3 +216,16 @@
  #define ConnectionFlags		-DUNIXCONN -DTCPCONN
  
  #ifndef StaticLibrary
+@@ -161,6 +325,12 @@
+ 
+ #include <gnuLib.rules>
+ 
++#define XInputDrivers           mouse keyboard /* acecad */ calcomp citron \
++                                digitaledge dmc dynapro elographics tek4957 \
++                                microtouch mutouch penmount spaceorb summa \
++                                void magellan /* magictouch */ hyperpen \
++                                jamstudio fpit palmax
++
+ XCOMM XXX Might need this if they are not careful with slashes.
+ XCOMM #define DirFailPrefix -
+ 

--4Ckj6UjgE2iN1+kY--

---------------------------------------
Received: (at 295474-done) by bugs.debian.org; 23 Aug 2005 21:48:04 +0000
>From naughtynus@verizon.net Tue Aug 23 14:48:04 2005
Return-path: <naughtynus@verizon.net>
Received: from vms042pub.verizon.net [206.46.252.42] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E7gcm-0007D8-00; Tue, 23 Aug 2005 14:48:04 -0700
Received: from squee ([130.64.45.222])
 by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04
 (built Dec 24 2004)) with ESMTPA id <0ILP000ZI38350J1@vms042.mailsrvcs.net> for
 295474-done@bugs.debian.org; Tue, 23 Aug 2005 16:48:03 -0500 (CDT)
Received: by squee (Postfix, from userid 1000)	id 9B87A46C51; Tue,
 23 Aug 2005 17:48:02 -0400 (EDT)
Date: Tue, 23 Aug 2005 17:48:02 -0400
From: David Nusinow <david_nusinow@verizon.net>
Subject: Closing
To: 295474-done@bugs.debian.org
Message-id: <20050823214802.GA9015@squee.verizon.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.5.10i
Delivered-To: 295474-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-0.5 required=4.0 tests=BAYES_10,ONEWORD autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

Closing, per azeem. Thanks!

 - David



Reply to: