Your message dated Sun, 20 Jul 2008 17:17:16 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#491535: fixed in omfs 0.8.0-2
has caused the Debian Bug report #491535,
regarding "debian/rules clean" broken for module-assistant using external 
kernel headers dir
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.)


-- 
491535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491535
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: omfs
Version: 0.8.0-1

Using module-assistant the build of the omfs kernel module fails with:

# module-assistant -v -f -t -k 
/tmp/build_kernel/raw-kernel-2.6.26/debian/raw-kernel-headers-2.6.26/usr/src/linux-headers-2.6.26
 -u /tmp/build_kernel build omfs
Warning: sudo not found. Automatic package installations not possible!
unpack
Extracting the package tarball, /usr/src/omfs.tar.bz2, please wait...
 action tar --bzip2 -x -f /usr/src/omfs.tar.bz2
 tar --bzip2 -x -f /usr/src/omfs.tar.bz2
"/usr/share/modass/overrides/omfs-source" build KVERS=2.6.26 
KSRC=/tmp/build_kernel/raw-kernel-2.6.26/debian/raw-kernel-headers-2.6.26/usr/src/linux-headers-2.6.26
 kdist_image
 fakeroot debian/rules kdist_clean
dh_clean
/usr/bin/make clean
make[1]: Entering directory `/tmp/build_kernel/usr_src/modules/omfs'
/usr/bin/make -C /lib/modules/2.6.26/build 
M=/tmp/build_kernel/usr_src/modules/omfs clean
make: Entering an unknown directory
make: *** /lib/modules/2.6.26/build: No such file or directory.  Stop.
:
:


This happens only if the kernel-headers are not installed yet.
Attached you can find a patch. Hope this helps.


Regards

Harri

diff -ur omfs-0.8.0.orig/debian/changelog omfs-0.8.0/debian/changelog
--- omfs-0.8.0.orig/debian/changelog	2008-07-20 11:19:16.000000000 +0200
+++ omfs-0.8.0/debian/changelog	2008-07-20 11:09:59.000000000 +0200
@@ -1,3 +1,10 @@
+omfs (0.8.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * set KERNELDIR for "debian/rules clean"
+
+ -- Harald Dunkel <[EMAIL PROTECTED]>  Sun, 20 Jul 2008 11:09:19 +0200
+
 omfs (0.8.0-1) unstable; urgency=low
 
   * New upstream release
diff -ur omfs-0.8.0.orig/debian/rules omfs-0.8.0/debian/rules
--- omfs-0.8.0.orig/debian/rules	2008-07-20 11:19:16.000000000 +0200
+++ omfs-0.8.0/debian/rules	2008-07-20 11:18:03.000000000 +0200
@@ -31,7 +31,7 @@
 endif
 kdist_clean:
 	dh_clean
-	$(MAKE) clean
+	$(MAKE) KERNELDIR="$(KSRC)" clean
 # prep-deb-files rewrites the debian/ files as needed. See RATIONALE for
 # details
 kdist_config: prep-deb-files

--- End Message ---
--- Begin Message ---
Source: omfs
Source-Version: 0.8.0-2

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

omfs-source_0.8.0-2_all.deb
  to pool/main/o/omfs/omfs-source_0.8.0-2_all.deb
omfs_0.8.0-2.diff.gz
  to pool/main/o/omfs/omfs_0.8.0-2.diff.gz
omfs_0.8.0-2.dsc
  to pool/main/o/omfs/omfs_0.8.0-2.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.
Joe Nahmias <[EMAIL PROTECTED]> (supplier of updated omfs 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: Sun, 20 Jul 2008 11:07:37 -0400
Source: omfs
Binary: omfs-source
Architecture: source all
Version: 0.8.0-2
Distribution: unstable
Urgency: low
Maintainer: Joe Nahmias <[EMAIL PROTECTED]>
Changed-By: Joe Nahmias <[EMAIL PROTECTED]>
Description: 
 omfs-source - Optimized MPEG Filesystem (OMFS) Linux kernel driver [source]
Closes: 491535
Changes: 
 omfs (0.8.0-2) unstable; urgency=low
 .
   * Set KERNELDIR in kdist_clean target to fix module build failure when using
     a non-standard kernel header directory, closes: #491535.  Thanks to Harald
     Dunkel for the report!
   * Remove Makefile patch to set KERNELDIR conditionally, went upstream.
Checksums-Sha1: 
 9c1f7cdd8ce1fa052be5ad48f6274dcdc43f87cf 962 omfs_0.8.0-2.dsc
 073810f81eab0343d8adee24c8da9b4c28a3bdde 3373 omfs_0.8.0-2.diff.gz
 475e9fdb8199b0a20dcb88d978127b7e8f5f79c5 27804 omfs-source_0.8.0-2_all.deb
Checksums-Sha256: 
 562d9d242c3c2dd448d16dabf721f74e2ab0c8745f75d9054c9f30e5f825760b 962 
omfs_0.8.0-2.dsc
 0ee8adeab2d6c4e2b6ec97b062bab9e726a4222f0a5360e370d159a44fdad837 3373 
omfs_0.8.0-2.diff.gz
 c94effcf72b4225fd300dcd6b683e3b5e19d3fa031677c9cb4b85ee02461c947 27804 
omfs-source_0.8.0-2_all.deb
Files: 
 6a2906787d85459e91ee7c1622bfc1f9 962 misc extra omfs_0.8.0-2.dsc
 a8322bf1ee4c88d47b81016cdda7a276 3373 misc extra omfs_0.8.0-2.diff.gz
 a1256af7709f1b3d356518868d055c4d 27804 misc extra omfs-source_0.8.0-2_all.deb

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

iEYEARECAAYFAkiDb/IACgkQULacnzmLNx0QbQCgqWBk1onZHVFcdS+Of2cMQGAV
bbYAnRpthJQswvTuAN5Cq2Wl40wkL2KL
=JWuu
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to