Source: cdrdao Version: 1:1.2.2-18.1 Severity: wishlist Tags: patch User: debian-...@superh.org Usertags: sh4 X-Debbugs-CC: debian-sup...@lists.debian.org
Hi, I am now trying to run Debian on Renesas SH(sh4) CPU. http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4 cdrdao FTBFS on SH4. Because cdrdao does not support Renesas SH. http://buildd.debian-ports.org/fetch.php?pkg=cdrdao&arch=sh4&ver=1%3A1.2.2-18.1&stamp=1260880287&file=log&as=raw ----- RULES/rules1.top:234: incs/Dcc.sh4a-linux: No such file or directory RULES/rules.top:39: RULES/sh4a-linux-cc.rul: No such file or directory RULES/rules.cnf:56: incs/sh4a-linux-cc/Inull: No such file or directory RULES/rules.cnf:57: incs/sh4a-linux-cc/rules.cnf: No such file or directory make[1]: Entering directory `/build/buildd-cdrdao_1.2.2-18.1-sh4-G0x9F7/cdrdao-1.2.2/scsilib' Makefile:18: warning: overriding commands for target `install' RULES/rules1.dir:27: warning: ignoring old commands for target `install' p incs/sh4a-linux-cc make[1]: p: Command not found make[1]: [incs/sh4a-linux-cc/Inull] Error 127 (ignored) /bin/sh: incs/sh4a-linux-cc/Inull: No such file or directory make[1]: *** [incs/sh4a-linux-cc/Inull] Error 1 ----- I made patch to support SH. Could you apply this patch? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
Author: Nobuhiro Iwamatsu <iwama...@debian.org> Description: Add support Renesas SH4. --- a/scsilib/RULES/MKLINKS 2010-01-08 05:03:14.000000000 +0000 +++ b/scsilib/RULES/MKLINKS 2010-01-08 05:03:49.000000000 +0000 @@ -125,6 +125,10 @@ ln -s i586-linux-gcc.rul ia64-linux-gcc.rul ln -s i586-linux-cc.rul x86_64-linux-cc.rul ln -s i586-linux-gcc.rul x86_64-linux-gcc.rul +ln -s i586-linux-cc.rul sh4-linux-cc.rul +ln -s i586-linux-gcc.rul sh4-linux-gcc.rul +ln -s i586-linux-cc.rul sh4a-linux-cc.rul +ln -s i586-linux-gcc.rul sh4a-linux-gcc.rul ln -s os-cygwin32_nt.id os-cygwin_95-4.0.id ln -s os-cygwin32_nt.id os-cygwin_98-4.0.id ln -s os-cygwin32_nt.id os-cygwin_98-4.10.id --- /dev/nulll 1970-01-01 00:00:00.000000000 +0000 +++ b/scsilib/RULES/sh4-linux-cc.rul 2010-01-08 05:04:30.000000000 +0000 @@ -0,0 +1,70 @@ +#ident "@(#)i586-linux-cc.rul 1.5 02/10/15 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### + +CPPFLAGS= $(CPPOPTS) $(CPPOPTX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) + +CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) +COPTS= +CWOPTS= -Wall -Wtraditional \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +KDEFINES= -DKERNEL -D_KERNEL +COPTDYN= -fpic +COPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LIBS_PATH= -L$(OLIBSDIR) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +CC= @echo " ==> COMPILING \"$...@\""; gcc +LDCC= @echo " ==> LINKING \"$...@\""; gcc +DYNLD= @echo " ==> LINKING dynamic library \"$...@\""; gcc +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$...@\""; true +ARFLAGS= cr +LORDER= echo +TSORT= cat + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$...@\""; $(RMDEP); gcc -M +MKDEP_OUT= --- /dev/nulll 1970-01-01 00:00:00.000000000 +0000 +++ b/scsilib/RULES/sh4a-linux-cc.rul 2010-01-08 05:04:32.000000000 +0000 @@ -0,0 +1,70 @@ +#ident "@(#)i586-linux-cc.rul 1.5 02/10/15 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### + +CPPFLAGS= $(CPPOPTS) $(CPPOPTX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) + +CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) +COPTS= +CWOPTS= -Wall -Wtraditional \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +KDEFINES= -DKERNEL -D_KERNEL +COPTDYN= -fpic +COPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LIBS_PATH= -L$(OLIBSDIR) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +CC= @echo " ==> COMPILING \"$...@\""; gcc +LDCC= @echo " ==> LINKING \"$...@\""; gcc +DYNLD= @echo " ==> LINKING dynamic library \"$...@\""; gcc +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$...@\""; true +ARFLAGS= cr +LORDER= echo +TSORT= cat + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$...@\""; $(RMDEP); gcc -M +MKDEP_OUT= --- /dev/nulll 1970-01-01 00:00:00.000000000 +0000 +++ b/scsilib/RULES/sh4-linux-gcc.rul 2010-01-08 05:04:45.000000000 +0000 @@ -0,0 +1,70 @@ +#ident "@(#)i586-linux-gcc.rul 1.5 02/10/15 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### + +CPPFLAGS= $(CPPOPTS) $(CPPOPTX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) + +CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) +COPTS= +CWOPTS= -Wall -Wtraditional \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +KDEFINES= -DKERNEL -D_KERNEL +COPTDYN= -fpic +COPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LIBS_PATH= -L$(OLIBSDIR) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +CC= @echo " ==> COMPILING \"$...@\""; gcc +LDCC= @echo " ==> LINKING \"$...@\""; gcc +DYNLD= @echo " ==> LINKING dynamic library \"$...@\""; gcc +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$...@\""; true +ARFLAGS= cr +LORDER= echo +TSORT= cat + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$...@\""; $(RMDEP); gcc -M +MKDEP_OUT= --- /dev/nulll 1970-01-01 00:00:00.000000000 +0000 +++ b/scsilib/RULES/sh4a-linux-gcc.rul 2010-01-08 05:04:47.000000000 +0000 @@ -0,0 +1,70 @@ +#ident "@(#)i586-linux-gcc.rul 1.5 02/10/15 " +########################################################################### +# Written 1996 by J. Schilling +########################################################################### +# +# Platform dependent MACROS for Linux +# +########################################################################### +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +########################################################################### +include $(SRCROOT)/$(RULESDIR)/rules.prg +########################################################################### + +CPPFLAGS= $(CPPOPTS) $(CPPOPTX) +CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) + +CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) +COPTS= +CWOPTS= -Wall -Wtraditional \ + -Wshadow -Wmissing-prototypes -Wstrict-prototypes +COPTOPT= -O +KDEFINES= -DKERNEL -D_KERNEL +COPTDYN= -fpic +COPTGPROF= -pg + +LIB_PREFIX= lib +LIB_SUFFIX= .a +SHL_SUFFIX= .so.1.0 + +#LIB_SOCKET= -lsocket -lnsl -ldl +LIB_SOCKET= +LIB_MATH= -lm +#LIB_KVM= -lkvm +LIB_KVM= + +LIBS_PATH= -L$(OLIBSDIR) + +LDFLAGS= $(LDOPTS) $(LDOPTX) +LDLIBS= $(LIBS) $(LIBX) + +#LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH) +LDOPTS= $(LIBS_PATH) $(LDPATH) +LDOPTDYN= -shared -Wl,-soname,$(TARGET) +LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so + +FLOAT_OPTIONS= + +CC= @echo " ==> COMPILING \"$...@\""; gcc +LDCC= @echo " ==> LINKING \"$...@\""; gcc +DYNLD= @echo " ==> LINKING dynamic library \"$...@\""; gcc +RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$...@\""; true +ARFLAGS= cr +LORDER= echo +TSORT= cat + +RMDEP= : +MKDEP= @echo " ==> MAKING DEPENDENCIES \"$...@\""; $(RMDEP); gcc -M +MKDEP_OUT=