reopen 609152
thanks

Hi,

This problem still reappears in sh4.
Therefore, I repoen this bug.
  
http://buildd.debian-ports.org/fetch.php?pkg=rxtx&arch=sh4&ver=2.2pre2-7&stamp=1298317809&file=log&as=raw

-----
libtool: compile:  gcc
-I/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2
-Ish4-unknown-linux-gnu -I. -I/usr/lib/jvm/java-6-openjdk/include
-I/usr/lib/jvm/java-6-openjdk/include/./linux/ -g -O2 -D_POSIX_SOURCE
-D_BSD_SOURCE -D__need_timespec -c
/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2/./src/RawImp.c
-fPIC -DPIC -o 
/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2/sh4-unknown-linux-gnu/.libs/RawImp.o
/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2/./src/RawImp.c:108:20:
error: sys/io.h: No such file or directory
libtool: link: 
`/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2/sh4-unknown-linux-gnu/RawImp.lo'
is not a valid libtool object
make[2]: *** [sh4-unknown-linux-gnu/librxtxRaw.la] Error 1
make[2]: Leaving directory
`/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory
`/build/buildd-rxtx_2.2pre2-7-sh4-yJvRYM/rxtx-2.2pre2'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----

debian_porting.patch does not support all architecture.
I updated debian_porting.patch that using autoconf check.
Please check and apply this patch?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
Description: sys/io.h does not exist on all systems
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609152
Author: Scott Howard <show...@debian.org>

--- rxtx-2.2pre2/configure.in	2011-02-22 10:28:52.000000000 +0900
+++ rxtx-2.2pre2/configure.in	2011-02-22 10:22:18.000000000 +0900
@@ -70,6 +70,7 @@
 AC_CHECK_HEADERS(sys/file.h)
 AC_CHECK_HEADERS(sys/time.h)
 AC_CHECK_HEADERS(sys/signal.h)
+AC_CHECK_HEADERS(sys/io.h)
 AC_CHECK_HEADERS(signal.h)
 AC_CHECK_HEADERS(termios.h)
 AC_CHECK_HEADERS(grp.h)
--- rxtx-2.2pre2/Makefile.lcc	2002-04-06 03:21:56.000000000 +0900
+++ rxtx-2.2pre2/Makefile.lcc	2011-02-22 10:26:09.000000000 +0900
@@ -13,6 +13,7 @@
 #define HAVE_SIGNAL_H
 #undef HAVE_SYS_FCNTL_H
 #undef HAVE_SYS_FILE_H
+#undef HAVE_SYS_IO_H
 #undef HAVE_SYS_SIGNAL_H
 #undef HAVE_TERMIOS_H
 #undef HAVE_SYS_TIME_H
--- rxtx-2.2pre2/Makefile.mingw32	2008-11-28 06:13:20.000000000 +0900
+++ rxtx-2.2pre2/Makefile.mingw32	2011-02-22 10:26:43.000000000 +0900
@@ -191,6 +191,7 @@
 	echo "#define HAVE_SIGNAL_H 1" >> config.h
 	echo "#define HAVE_SYS_FCNTL_H 1" >> config.h
 	echo "#define HAVE_SYS_FILE_H 1" >> config.h
+	echo "#undef HAVE_SYS_IO_H" >> config.h
 	echo "#undef HAVE_SYS_SIGNAL_H" >> config.h
 	echo "#undef HAVE_TERMIOS_H" >> config.h
 
--- rxtx-2.2pre2/Makefile.msvc	2008-11-28 06:13:20.000000000 +0900
+++ rxtx-2.2pre2/Makefile.msvc	2011-02-22 10:27:04.000000000 +0900
@@ -113,6 +113,7 @@
 	echo #define HAVE_SIGNAL_H >> config.h
 	echo #undef HAVE_SYS_FCNTL_H >> config.h
 	echo #undef HAVE_SYS_FILE_H >> config.h
+	echo #undef HAVE_SYS_IO_H >> config.h
 	echo #undef HAVE_SYS_SIGNAL_H >> config.h
 	echo #undef HAVE_TERMIOS_H >> config.h
 	echo #undef HAVE_SYS_TIME_H >> config.h
--- rxtx-2.2pre2/config.h.in	2004-10-12 00:17:44.000000000 +0900
+++ rxtx-2.2pre2/config.h.in	2011-02-22 10:28:07.000000000 +0900
@@ -39,6 +39,9 @@
 /* Define to 1 if you have the <sys/file.h> header file. */
 #undef HAVE_SYS_FILE_H
 
+/* Define to 1 if you have the <sys/io.h> header file. */
+#undef HAVE_SYS_IO_H
+
 /* Define to 1 if you have the <sys/signal.h> header file. */
 #undef HAVE_SYS_SIGNAL_H
 

Reply via email to