Your message dated Tue, 21 Apr 2009 03:17:06 +0000
with message-id <[email protected]>
and subject line Bug#493853: fixed in comedi 0.7.76+20090411cvs-1
has caused the Debian Bug report #493853,
regarding comedi-source: RTAI is not found anymore
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.)
--
493853: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493853
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: comedi-source
Version: 0.7.76-1+RTAIFIX.1
Severity: important
Tags: patch
Since some versions the RTAI package in Debian uses a prefix of “/usr”.
As a result of this the RTAI headers need to build with RTAI support are
now found in “/usr/include/rtai”.
This makes at least two changes necessary in comedi-source package.
First the “--with-rtaidir” should point to “/usr”. This makes configure
find RTAI again. The second change is needed in the rtai.m4 macro.
Currently it checks or sets “${RTAI_DIR}/include” as “-I” for the
compiler. This makes COMEDI fail to build as the header are in
“/usr/include/rtai”.
See attached patch for the fix I currently use.
TIA
Daniel
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-ipip (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages comedi-source depends on:
ii bzip2 1.0.5-0.1 high-quality block-sorting file co
ii debhelper 7.0.15 helper programs for debian/rules
ii module-assistant 0.10.11.0 tool to make module package creati
comedi-source recommends no packages.
Versions of packages comedi-source suggests:
ii kernel-package 11.001-0.1 A utility for building Linux kerne
-- no debconf information
--
Fachhochschule Dortmund
University of Applied Sciences and Arts
Daniel Heß
FB Informatik,
Emil-Figge-Str. 42 - D-44227 Dortmund
Raum EFS 42 C.2.45
Tel +49 231 755-6761
Fax +49 231 755-6710
[email protected]
http://www.fh-dortmund.de/
diff -u comedi-0.7.76/debian/control comedi-0.7.76/debian/control
--- comedi-0.7.76/debian/control
+++ comedi-0.7.76/debian/control
@@ -8,7 +8,7 @@
Package: comedi-source
Section: admin
Architecture: all
-Depends: module-assistant, debhelper (>= 5), bzip2
+Depends: module-assistant, debhelper (>= 5), bzip2, librtai-dev
Suggests: kernel-package, libcomedi0
Description: Comedi kernel module source
Comedi (Control and Measurement Device Interface) is a collection
diff -u comedi-0.7.76/debian/rules comedi-0.7.76/debian/rules
--- comedi-0.7.76/debian/rules
+++ comedi-0.7.76/debian/rules
@@ -53,7 +53,7 @@
CFLAGS="$(CFLAGS)" ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
- --with-rtaidir=/usr/lib/realtime \
+ --with-rtaidir=/usr \
--enable-pcmcia
$(MAKE) KERNEL_DIR=$(KSRC) KVERS=$(KVERS)
only in patch2:
unchanged:
--- comedi-0.7.76.orig/configure
+++ comedi-0.7.76/configure
@@ -5063,7 +5063,9 @@
if test "${ENABLE_RTAI}" = "yes" -a \( "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" -o "${CONFIG_IPIPE}" != "no" \); then
{ echo "$as_me:$LINENO: checking RTAI directory ${RTAI_DIR}" >&5
echo $ECHO_N "checking RTAI directory ${RTAI_DIR}... $ECHO_C" >&6; }
- if [ -d ${RTAI_DIR}/include ] ; then
+ if [ -d ${RTAI_DIR}/include/rtai ] ; then
+ RTAI_CFLAGS="-I${RTAI_DIR}/include/rtai"
+ elif [ -d ${RTAI_DIR}/include ] ; then
RTAI_CFLAGS="-I${RTAI_DIR}/include"
else
if [ -d ${RTAI_DIR}/rtai-core/include ] ; then
only in patch2:
unchanged:
--- comedi-0.7.76.orig/m4/rtai.m4
+++ comedi-0.7.76/m4/rtai.m4
@@ -13,7 +13,9 @@
if test "${ENABLE_RTAI}" = "yes" -a \( "${CONFIG_RTHAL}" != "no" -o "${CONFIG_ADEOS}" != "no" -o "${CONFIG_IPIPE}" != "no" \); then
AC_MSG_CHECKING([RTAI directory ${RTAI_DIR}])
- if [[ -d ${RTAI_DIR}/include ]] ; then
+ if [[ -d ${RTAI_DIR}/include/rtai ]] ; then
+ RTAI_CFLAGS="-I${RTAI_DIR}/include/rtai"
+ elif [[ -d ${RTAI_DIR}/include ]] ; then
RTAI_CFLAGS="-I${RTAI_DIR}/include"
else
if [[ -d ${RTAI_DIR}/rtai-core/include ]] ; then
--- End Message ---
--- Begin Message ---
Source: comedi
Source-Version: 0.7.76+20090411cvs-1
We believe that the bug you reported is fixed in the latest version of
comedi, which is due to be installed in the Debian FTP archive:
comedi-source_0.7.76+20090411cvs-1_all.deb
to pool/main/c/comedi/comedi-source_0.7.76+20090411cvs-1_all.deb
comedi_0.7.76+20090411cvs-1.diff.gz
to pool/main/c/comedi/comedi_0.7.76+20090411cvs-1.diff.gz
comedi_0.7.76+20090411cvs-1.dsc
to pool/main/c/comedi/comedi_0.7.76+20090411cvs-1.dsc
comedi_0.7.76+20090411cvs.orig.tar.gz
to pool/main/c/comedi/comedi_0.7.76+20090411cvs.orig.tar.gz
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.
Gudjon I. Gudjonsson <[email protected]> (supplier of updated comedi 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: Sat, 11 Apr 2009 08:23:13 +0200
Source: comedi
Binary: comedi-source
Architecture: source all
Version: 0.7.76+20090411cvs-1
Distribution: unstable
Urgency: low
Maintainer: Gudjon I. Gudjonsson <[email protected]>
Changed-By: Gudjon I. Gudjonsson <[email protected]>
Description:
comedi-source - Comedi kernel module source
Closes: 493853 497664
Changes:
comedi (0.7.76+20090411cvs-1) unstable; urgency=low
.
* New CVS version
* Change rtaidir to /usr instead of /usr/lib/realtime and
add dependency on librtai-dev (Closes: #493853)
* Add linuxdir=$(KSRC) (Closes: #497664)
--enable-pcmcia is not commented out, left for users
* Change libtoolize --force --copy to cp config.*
now it compiles with libtool >2
* Add watch file
* Bump Debian standards version to 3.8.1, no changes needed
* Bump compat and debhelper versions to 7
* Replace dh_clean -k by dh_prep
* Change dependency from libtool to autotools-dev to get config.{sub,guess}
Checksums-Sha1:
535afd463c5fb9040784a8869917310acbe30478 1081 comedi_0.7.76+20090411cvs-1.dsc
1e0fb7b43794cbbb5cea2a46461e16977b87d8bb 1417096
comedi_0.7.76+20090411cvs.orig.tar.gz
674a919d83b456f5eabf034aaa4691c12f0696b9 4856
comedi_0.7.76+20090411cvs-1.diff.gz
bfb20833644ae876c3d5c04e61121e103fda0185 1066048
comedi-source_0.7.76+20090411cvs-1_all.deb
Checksums-Sha256:
5057e3bce5b6e745f462c414d3c4ca0ca463b3654ddfada0a35696e4a4a5e0a7 1081
comedi_0.7.76+20090411cvs-1.dsc
06d6b3d03a4dfe8cb41e079a3ab24377141e70a7f5bcaacc5ddcc75da709280d 1417096
comedi_0.7.76+20090411cvs.orig.tar.gz
cab248469f6281889381cfba5b3a1d308ea91df067c75cd3e8adb03e2f66ee85 4856
comedi_0.7.76+20090411cvs-1.diff.gz
f53823cf7b88c31f546bb1bb7a9d1644176c88ac70af9f11946db292de93fd65 1066048
comedi-source_0.7.76+20090411cvs-1_all.deb
Files:
609fd50508da5e0adacb0e0f53e19dde 1081 admin extra
comedi_0.7.76+20090411cvs-1.dsc
80abae69aecd19858754999a31cfc7e4 1417096 admin extra
comedi_0.7.76+20090411cvs.orig.tar.gz
ff56d8742e07514d3af00ac0039fdf01 4856 admin extra
comedi_0.7.76+20090411cvs-1.diff.gz
9ce85c71b54656bb5a675d280143f6de 1066048 admin extra
comedi-source_0.7.76+20090411cvs-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkntL2AACgkQ8KmKTEzW49IzbwCfXn6YyykTCgf+/yqoHi8CGZvz
qG4AnRoyml/9xFcXN5LTn5N3s7GK+E4S
=Vay9
-----END PGP SIGNATURE-----
--- End Message ---