Your message dated Mon, 08 Sep 2008 15:02:05 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#497990: fixed in tp-smapi 0.37-3 has caused the Debian Bug report #497990, regarding Doesn't build with 2.6.27 due to inclusion of asm/semaphore.h instead of linux/semaphore.h 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 497990: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497990 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: tp-smapi-source Version: 0.37-2 Severity: wishlist Tags: patch Hi, tp-smapi-source wouldn't build for me for 2.6.27 kernels: /usr/bin/make -C /lib/modules/2.6.27-rc5-686/build M=/usr/src/modules/tp-smapi O=/lib/modules/2.6.27-rc5-686/build modules make[3]: entrant dans le répertoire « /usr/src/linux-headers-2.6.27-rc5-686 » CC [M] /usr/src/modules/tp-smapi/thinkpad_ec.o /usr/src/modules/tp-smapi/thinkpad_ec.c:39:27: error: asm/semaphore.h: Aucun fichier ou répertoire de ce type /usr/src/modules/tp-smapi/thinkpad_ec.c:86: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /usr/src/modules/tp-smapi/thinkpad_ec.c:86: warning: parameter names (without types) in function declaration using linux/semaphore.h instead of asm/semaphore.h seems ok with at least 2.6.26 and 2.6.27 kernels, please find debdiff of addition of a dpatch attached. Cheers, -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.27-rc5-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages tp-smapi-source depends on: ii debhelper 7.0.17 helper programs for debian/rules ii module-assistant 0.10.11.0 tool to make module package creati tp-smapi-source recommends no packages. Versions of packages tp-smapi-source suggests: ii sysfsutils 2.1.0-4 sysfs query tool and boot-time set -- no debconf information -- Loïc Minierdiff -u tp-smapi-0.37/debian/changelog tp-smapi-0.37/debian/changelog --- tp-smapi-0.37/debian/changelog +++ tp-smapi-0.37/debian/changelog @@ -1,3 +1,11 @@ +tp-smapi (0.37-2dooz1) unstable; urgency=low + + * Non-maintainer upload. + * New dpatch, 10_semaphore-linux-include, fixes semaphore.h include with + newer kernels by using linux/ instead of asm/. + + -- Loic Minier <[EMAIL PROTECTED]> Sat, 06 Sep 2008 01:01:29 +0200 + tp-smapi (0.37-2) unstable; urgency=low * Update 99_Makefile-for-Debian.dpatch to not set CFLAGS (Closes: #476360) diff -u tp-smapi-0.37/debian/patches/00list tp-smapi-0.37/debian/patches/00list --- tp-smapi-0.37/debian/patches/00list +++ tp-smapi-0.37/debian/patches/00list @@ -1,2 +1,3 @@ 01_include-thinkpad_ec.h-directly.dpatch +10_semaphore-linux-include.dpatch 99_Makefile-for-Debian.dpatch only in patch2: unchanged: --- tp-smapi-0.37.orig/debian/patches/10_semaphore-linux-include.dpatch +++ tp-smapi-0.37/debian/patches/10_semaphore-linux-include.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_semaphore-linux-include.dpatch by Loic Minier <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix semaphore.h include with newer kernels + [EMAIL PROTECTED]@ +diff -urNad tp-smapi-0.37~/thinkpad_ec.c tp-smapi-0.37/thinkpad_ec.c +--- tp-smapi-0.37~/thinkpad_ec.c 2008-09-06 01:00:46.000000000 +0200 ++++ tp-smapi-0.37/thinkpad_ec.c 2008-09-06 01:00:55.000000000 +0200 +@@ -36,7 +36,7 @@ + #include <linux/delay.h> + #include "thinkpad_ec.h" + #include <linux/jiffies.h> +-#include <asm/semaphore.h> ++#include <linux/semaphore.h> + #include <asm/io.h> + + #define TP_VERSION "0.37"
--- End Message ---
--- Begin Message ---Source: tp-smapi Source-Version: 0.37-3 We believe that the bug you reported is fixed in the latest version of tp-smapi, which is due to be installed in the Debian FTP archive: tp-smapi-source_0.37-3_all.deb to pool/main/t/tp-smapi/tp-smapi-source_0.37-3_all.deb tp-smapi_0.37-3.diff.gz to pool/main/t/tp-smapi/tp-smapi_0.37-3.diff.gz tp-smapi_0.37-3.dsc to pool/main/t/tp-smapi/tp-smapi_0.37-3.dsc 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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Evgeni Golov <[EMAIL PROTECTED]> (supplier of updated tp-smapi 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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Mon, 08 Sep 2008 15:19:45 +0200 Source: tp-smapi Binary: tp-smapi-source Architecture: source all Version: 0.37-3 Distribution: unstable Urgency: low Maintainer: Evgeni Golov <[EMAIL PROTECTED]> Changed-By: Evgeni Golov <[EMAIL PROTECTED]> Description: tp-smapi-source - Source for the tp_smapi kernel modules Closes: 497990 Changes: tp-smapi (0.37-3) unstable; urgency=low . * New patch 02_fix_semaphore_h_include.dpatch + Fixes the include of semaphore.h in newer kernels (Closes: #497990). Checksums-Sha1: 789e4f491f69e4ec9da7e2ebbea72d70b15c1c58 1004 tp-smapi_0.37-3.dsc 8a8cce4fc213f4b130eed0a7070cdbb042ad7648 5475 tp-smapi_0.37-3.diff.gz 2b9bcdbf304950502e653a5566d838e0b62af333 56014 tp-smapi-source_0.37-3_all.deb Checksums-Sha256: 1eebd61b4d18e8f1949f60c80bc2f18e300d35bbd635a7db37581be146dc143d 1004 tp-smapi_0.37-3.dsc 780032f6c8b85c3db89b05ceadc13b402ec17b0b8797459c0fd0f2b694a5a00c 5475 tp-smapi_0.37-3.diff.gz 2bdbf3adcb27978ef0ebe40b7cc2973245e0d9ae1ee98ca1fbc8b2ac2787f999 56014 tp-smapi-source_0.37-3_all.deb Files: 28f5f66bd25a4e4d86c418dad0db9c8c 1004 misc optional tp-smapi_0.37-3.dsc b2bec87d523596e29d5718f9268fd248 5475 misc optional tp-smapi_0.37-3.diff.gz 38effa8fabc388533eebecf857afa6cc 56014 misc optional tp-smapi-source_0.37-3_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjFPU0ACgkQ+C5cwEsrK57ppgCeOYB5HRbaDaGakauqefnopxMK yB0AoLBoU+H4xEny3BrLu2RLBwD2qjty =z1FT -----END PGP SIGNATURE-----
--- End Message ---

