Your message dated Sun, 12 Dec 2010 19:32:48 +0000
with message-id <[email protected]>
and subject line Bug#593585: fixed in xenomai 2.5.5.2-1
has caused the Debian Bug report #593585,
regarding linux-patch-xenomai: patched kernel fails to build
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.)


-- 
593585: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593585
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: linux-patch-xenomai
Version: 2.5.4-1
Tags: patch

Building a kernel patched with adeos-ipipe-2.6.34-x86-2.7-02.patch fails
to build with:
kernel/xenomai/arch/generic/hal.c:47:29: error: asm/xenomai/hal.h: No
such file or directory
kernel/xenomai/arch/generic/hal.c:77: error: ‘RTHAL_NR_CPUS’ undeclared
here (not in a function)
kernel/xenomai/arch/generic/hal.c:79: error: ‘RTHAL_NR_APCS’ undeclared
here (not in a function)
kernel/xenomai/arch/generic/hal.c:89: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘rthal_apc_lock’
kernel/xenomai/arch/generic/hal.c:93: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘rthal_domain’
kernel/xenomai/arch/generic/hal.c:97: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘rthal_trap_handler’

The arch-specific asm include files are patched to the wrong (old)
location in the kernel tree.
The kernel build-system symlinked the old to the new location until
2.6.32, this was removed for 2.6.33 [1].
So, kernels patched with the current adeos patches for 2.6.33 and 2.6.34
will not build (tested only 2.6.34-x86).
The adeos-patches for older kernels (<2.6.33) contained in the current
package should still work with the attached patch (tested with 2.6.32-x86).
This problem was discussed on the xenomai-help mailing list [2].

The attached patch fixes the problem.

Regards,
Stefan

[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c95fa08a3e17c3f2983c4cbf409f5c9ae47b7dec
[2] https://mail.gna.org/public/xenomai-help/2010-08/msg00188.html

diff --git a/debian/prepare-patch.sh b/debian/prepare-patch.sh
index 296638d..6ca734b 100755
--- a/debian/prepare-patch.sh
+++ b/debian/prepare-patch.sh
@@ -112,7 +112,7 @@ for linux_arch in $supported_arch ; do
     esac
 
     patch_link r m ksrc/arch/$base_arch arch/$linux_arch/xenomai
-    patch_link r n include/asm-$base_arch include/asm-$linux_arch/xenomai
+    patch_link r n include/asm-$base_arch arch/$linux_arch/include/asm/xenomai
 
     p="+drivers-\$(CONFIG_XENOMAI)		+= arch/$linux_arch/xenomai/"
     echo $p | patch_append arch/$linux_arch/Makefile

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: xenomai
Source-Version: 2.5.5.2-1

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

libxenomai-dev_2.5.5.2-1_i386.deb
  to main/x/xenomai/libxenomai-dev_2.5.5.2-1_i386.deb
libxenomai1_2.5.5.2-1_i386.deb
  to main/x/xenomai/libxenomai1_2.5.5.2-1_i386.deb
linux-patch-xenomai_2.5.5.2-1_all.deb
  to main/x/xenomai/linux-patch-xenomai_2.5.5.2-1_all.deb
xenomai-doc_2.5.5.2-1_all.deb
  to main/x/xenomai/xenomai-doc_2.5.5.2-1_all.deb
xenomai-runtime_2.5.5.2-1_i386.deb
  to main/x/xenomai/xenomai-runtime_2.5.5.2-1_i386.deb
xenomai_2.5.5.2-1.debian.tar.gz
  to main/x/xenomai/xenomai_2.5.5.2-1.debian.tar.gz
xenomai_2.5.5.2-1.dsc
  to main/x/xenomai/xenomai_2.5.5.2-1.dsc
xenomai_2.5.5.2.orig.tar.bz2
  to main/x/xenomai/xenomai_2.5.5.2.orig.tar.bz2



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.
Roland Stigge <[email protected]> (supplier of updated xenomai 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, 12 Dec 2010 19:45:39 +0100
Source: xenomai
Binary: xenomai-runtime linux-patch-xenomai libxenomai1 libxenomai-dev 
xenomai-doc
Architecture: source all i386
Version: 2.5.5.2-1
Distribution: unstable
Urgency: low
Maintainer: Roland Stigge <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description: 
 libxenomai-dev - Headers and static libs for Xenomai
 libxenomai1 - Shared libraries for Xenomai
 linux-patch-xenomai - Linux kernel patches for Xenomai
 xenomai-doc - Xenomai documentation
 xenomai-runtime - Xenomai runtime utilities
Closes: 593585 593586
Changes: 
 xenomai (2.5.5.2-1) unstable; urgency=low
 .
   * New upstream release (Closes: #593585, #593586)
   * Using scripts/prepare-patch.sh now instead of debian/prepare-patch.sh
Checksums-Sha1: 
 d3940dfaa6f930e0929a603f964058abcf68cb8b 1161 xenomai_2.5.5.2-1.dsc
 01cff1bfb9f6d815444e4f6cc91d3b7e8920b03c 8594615 xenomai_2.5.5.2.orig.tar.bz2
 839700c3fdfb56ae3aa5d4bf7ad642753e6cd467 175841 xenomai_2.5.5.2-1.debian.tar.gz
 610cc333917c28ad612ed18dfe0f5e87d197546a 8950662 
linux-patch-xenomai_2.5.5.2-1_all.deb
 39e22cb69dd67c138095cd05ccb726e56faa33cf 6895216 xenomai-doc_2.5.5.2-1_all.deb
 fe33fcb74c4d6a6d3875b75b1e9e05ab2cf4e499 146924 
xenomai-runtime_2.5.5.2-1_i386.deb
 83c0a86d3060f869df0eb38a58d03b98225e9b4c 92794 libxenomai1_2.5.5.2-1_i386.deb
 700bfac2d421cd15b70c8fe3aa3a9541bc5b4066 353800 
libxenomai-dev_2.5.5.2-1_i386.deb
Checksums-Sha256: 
 95174081530b1077bf9a533321fb2b80c7e7537daa08e72d722d558b1d092bae 1161 
xenomai_2.5.5.2-1.dsc
 434eb82094e864138752500230bcf0141b244eb257831e2e110632cc4f125d88 8594615 
xenomai_2.5.5.2.orig.tar.bz2
 9c3a7d622ed95d1bd9caaa551c3f3b7784db96a4e1ad203e3f22b41f18609bcb 175841 
xenomai_2.5.5.2-1.debian.tar.gz
 df5419d40ed8899593e109874818b26651f2f09c22de133d21996e9f817b107f 8950662 
linux-patch-xenomai_2.5.5.2-1_all.deb
 82d20625e546eceee632f841be49de9cb1d7c97a7f66308594bff4312dc7c105 6895216 
xenomai-doc_2.5.5.2-1_all.deb
 3509bed9003765dfbfcb675a1ac139dbf197c1471d0fce997f2935bb7155087c 146924 
xenomai-runtime_2.5.5.2-1_i386.deb
 3ac32fe367e8f5ac241050156cde99f98202c6201a73d67cddfab12e5da4e372 92794 
libxenomai1_2.5.5.2-1_i386.deb
 33f16c43e3ad19f4e92beb3c3f6d81db2440b4aca808853c4e63111292dd00bd 353800 
libxenomai-dev_2.5.5.2-1_i386.deb
Files: 
 0fe55a45241b49f94070634c070f6334 1161 devel extra xenomai_2.5.5.2-1.dsc
 1ee31275830c77a024e27655d2fe8f69 8594615 devel extra 
xenomai_2.5.5.2.orig.tar.bz2
 8020cb31fe4713fd15b606faa55fc214 175841 devel extra 
xenomai_2.5.5.2-1.debian.tar.gz
 3458026c320cca407db0cef8ca56aa34 8950662 kernel extra 
linux-patch-xenomai_2.5.5.2-1_all.deb
 00055b1ed638536a59c32f476b271556 6895216 doc extra 
xenomai-doc_2.5.5.2-1_all.deb
 d45e0a3844ca5d33a4cc36266c5ad6ef 146924 devel extra 
xenomai-runtime_2.5.5.2-1_i386.deb
 3b003faa77d092410e96562411d932f5 92794 libs extra 
libxenomai1_2.5.5.2-1_i386.deb
 d6c9a1734be52b28b75b682137160757 353800 libdevel extra 
libxenomai-dev_2.5.5.2-1_i386.deb

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

iD8DBQFNBR4EcaH/YBv43g8RAo1eAKC1hr7lYNECBz+CLK6IAcVYgPoCpQCfWi+m
kfM+Yimi/cUkyAAlpJCg/48=
=aGi9
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to