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

Bug#225428: marked as done (toshutils: FTBFS: Errors in kernel headers)



Your message dated Wed, 07 Jan 2004 13:33:46 -0500
with message-id <E1AeIV0-0002vd-00@auric.debian.org>
and subject line Bug#225428: fixed in linux-kernel-headers 2.5.999-test7-bk-14
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; 29 Dec 2003 18:48:39 +0000
>From daniel@frobnitz.ddts.net Mon Dec 29 12:48:29 2003
Return-path: <daniel@frobnitz.ddts.net>
Received: from maynard.mail.mindspring.net [207.69.200.243] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ab25r-0001x3-00; Mon, 29 Dec 2003 12:26:19 -0600
Received: from user-119bq03.biz.mindspring.com ([66.149.232.3] helo=frobnitz.ddts.net)
	by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1)
	id 1Ab25q-0003xN-00
	for submit@bugs.debian.org; Mon, 29 Dec 2003 13:26:18 -0500
Received: from daniel by frobnitz.ddts.net with local (Exim 4.30)
	id 1Ab25i-0001je-CN
	for submit@bugs.debian.org; Mon, 29 Dec 2003 10:26:10 -0800
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: toshutils: FTBFS: Errors in kernel headers
From: Daniel Schepler <schepler@math.berkeley.edu>
Date: Mon, 29 Dec 2003 10:26:10 -0800
Message-ID: <873cb3o4zh.fsf@frobnitz.ddts.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Sender: Daniel Schepler <daniel@frobnitz.ddts.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_12_29 
	(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_29
X-Spam-Level: 

--=-=-=

Package: toshutils
Severity: serious
Version: 2.0.1-5
Tags: patch

>From my build log:

...
gcc -s -o fan fan.o sci.o hci.o
sci.o(.text+0x320): In function `tosh_get_info':
: multiple definition of `tosh_get_info'
fan.o(.text+0x5b0): first defined here
hci.o(.text+0x220): In function `tosh_get_info':
: multiple definition of `tosh_get_info'
fan.o(.text+0x5b0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [fan] Error 1
make[2]: Leaving directory `/tmp/buildd/toshutils-2.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/toshutils-2.0.1'
make: *** [build-stamp] Error 2

Below I've included a patch which fixes the compilation by patching
the included toshiba.h header to work with the current
linux-kernel-headers, then makes the program use the included
toshiba.h.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frobnitz 2.6.0-test11 #1 Wed Dec 3 21:42:26 PST 2003 i686
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.ISO-8859-1)


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=toshutils.diff
Content-Description: toshutils patch

diff -urN toshutils-2.0.1.old/contrib/kernel/toshiba.h toshutils-2.0.1/contrib/kernel/toshiba.h
--- toshutils-2.0.1.old/contrib/kernel/toshiba.h	2001-09-26 06:17:45.000000000 -0700
+++ toshutils-2.0.1/contrib/kernel/toshiba.h	2003-12-29 10:20:37.067243888 -0800
@@ -22,8 +22,8 @@
 
 #define TOSH_PROC "/proc/toshiba"
 #define TOSH_DEVICE "/dev/toshiba"
-#define TOSH_SMM _IOWR('t', 0x90, 24)
-#define TOSH_VIDCAP _IOWR('t', 0x91, 256)
+#define TOSH_SMM _IOWR('t', 0x90, int)	/* broken: meant 24 bytes */
+#define TOSH_VIDCAP _IOWR('t', 0x91, int)	/* broken: meant 256 bytes */
 
 typedef struct {
 	unsigned int eax;
diff -urN toshutils-2.0.1.old/src/hci.h toshutils-2.0.1/src/hci.h
--- toshutils-2.0.1.old/src/hci.h	2002-01-27 05:23:36.000000000 -0800
+++ toshutils-2.0.1/src/hci.h	2003-12-29 10:13:27.867135932 -0800
@@ -40,7 +40,7 @@
 extern "C" {
 #endif
 
-#include<linux/toshiba.h>
+#include "../contrib/kernel/toshiba.h"
 
 
 enum {
diff -urN toshutils-2.0.1.old/src/sci.h toshutils-2.0.1/src/sci.h
--- toshutils-2.0.1.old/src/sci.h	2001-10-05 06:10:56.000000000 -0700
+++ toshutils-2.0.1/src/sci.h	2003-12-29 10:12:48.397458672 -0800
@@ -72,7 +72,7 @@
 extern "C" {
 #endif
 
-#include<linux/toshiba.h>
+#include "../contrib/kernel/toshiba.h"
 
 /*
  * the different modes that can be changed

--=-=-=--

---------------------------------------
Received: (at 225428-close) by bugs.debian.org; 7 Jan 2004 19:54:58 +0000
>From katie@auric.debian.org Wed Jan 07 13:54:58 2004
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 1AeIYR-0000ql-00; Wed, 07 Jan 2004 12:37:19 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 1AeIV0-0002vd-00; Wed, 07 Jan 2004 13:33:46 -0500
From: Daniel Jacobowitz <dan@debian.org>
To: 225428-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#225428: fixed in linux-kernel-headers 2.5.999-test7-bk-14
Message-Id: <E1AeIV0-0002vd-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Wed, 07 Jan 2004 13:33:46 -0500
Delivered-To: 225428-close@bugs.debian.org

Source: linux-kernel-headers
Source-Version: 2.5.999-test7-bk-14

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

linux-kernel-headers_2.5.999-test7-bk-14.diff.gz
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-14.diff.gz
linux-kernel-headers_2.5.999-test7-bk-14.dsc
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-14.dsc
linux-kernel-headers_2.5.999-test7-bk-14_i386.deb
  to pool/main/l/linux-kernel-headers/linux-kernel-headers_2.5.999-test7-bk-14_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 225428@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <dan@debian.org> (supplier of updated linux-kernel-headers 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: Wed,  7 Jan 2004 13:14:48 -0500
Source: linux-kernel-headers
Binary: linux-kernel-headers
Architecture: source i386
Version: 2.5.999-test7-bk-14
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Daniel Jacobowitz <dan@debian.org>
Description: 
 linux-kernel-headers - Linux Kernel Headers for development
Closes: 225428 226540
Changes: 
 linux-kernel-headers (2.5.999-test7-bk-14) unstable; urgency=low
 .
   * Add a patch for <linux/toshiba.h> (Closes: #225428).
     - debian/patches/toshiba.patch
   * Add another HPPA patch (Closes: #226540) (I hope).
     - debian/patches/hppa-atomic.patch
Files: 
 6991f219db60cc55b30c24291c300774 858 devel standard linux-kernel-headers_2.5.999-test7-bk-14.dsc
 5aaa4aaf3932413ca6b634db40cd7380 56995 devel standard linux-kernel-headers_2.5.999-test7-bk-14.diff.gz
 53e86d645dfd067cd53b83b2f64fe566 1376382 devel standard linux-kernel-headers_2.5.999-test7-bk-14_i386.deb

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

iD8DBQE//E4RbgOPXuCjg3cRAs/1AJ9L8kom/gNBhW2BcXTHCWSEXmncYACfcLXC
KOekQf1n/3yJycnK4sug/7w=
=7R8b
-----END PGP SIGNATURE-----



Reply to: