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

Bug#415095: marked as done (linux-kernel-headers: please revert addition of typedef for __kernel_dev_t in linux/types.h)



Your message dated Tue, 18 Dec 2007 00:35:19 +0100
with message-id <20071217233519.GK29139@stro.at>
and subject line linux-kernel-headers: please revert addition of typedef for __kernel_dev_t in linux/types.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)

--- Begin Message ---
Package: linux-kernel-headers
Version: 2.6.18-7
Severity: normal
Tags: patch

Way back in the days of bug#220991, the following two lines of code were
added to /usr/include/linux/types.h:

   /* For util-linux / cryptoloop.  How lame.  */
   typedef __u32 __kernel_dev_t;

These are no longer needed -- both util-linux and cryptsetup build from
source just fine if I remove them.  What's more, having this typedef in
types.h causes an FTBS of uclibc for almost all architectures (arm has
been hacked to make it work) -- see bug#269721, which could be closed
if this code was removed.  In fact, it was in trying to build uclibc for
ia64 and i386 that I stumbled across this problem.

Here's the patch:

--- types.h.orig	2007-03-15 18:46:00.000000000 -0600
+++ types.h	2007-03-15 18:46:22.000000000 -0600
@@ -7,8 +7,6 @@
 /* For other kernel headers.  */
 # include <linux/posix_types.h>
 # include <asm/types.h>
-/* For util-linux / cryptoloop.  How lame.  */
-typedef __u32 __kernel_dev_t;
 #else
 
 #ifdef	__KERNEL__


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 2.6.22-1

fixed in newer linux-libc-dev.

protected by __KERNEL_STRICT_NAMES

-- 
maks


--- End Message ---

Reply to: