Bug#574834: FTBFS : sh4: usr/klibc/arch/sha/Makefile: No such file or directory
Source: klibc
Version: 1.5.17-3
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org
Hi,
klibc FTBFS on SH4.
http://buildd.debian-ports.org/fetch.php?pkg=klibc&arch=sh4&ver=1.5.17-3&stamp=1269145366&file=log&as=raw
-----
dh clean --link-doc=libklibc
dh_testdir -O--link-doc=libklibc
debian/rules override_dh_auto_clean
make[1]: Entering directory
`/build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17'
rm -rf linux
dh_auto_clean
make[2]: Entering directory
`/build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17'
scripts/Makefile.clean:17:
/build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17/usr/klibc/arch/sha/Makefile:
No such file or directory
make[5]: *** No rule to make target
`/build/buildd-klibc_1.5.17-3-sh4-O7e0CP/klibc-1.5.17/usr/klibc/arch/sha/Makefile'.
Stop.
make[4]: *** [usr/klibc/arch/sha] Error 2
-----
I made patch to fix this problem. Could you apply this patch?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
--- a/Makefile 2010-03-21 23:57:42.000000000 +0900
+++ b/Makefile 2010-03-21 23:58:03.000000000 +0900
@@ -30,7 +30,7 @@
NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)
-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh4/sh/)
+ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh.*/sh/)
export KLIBCARCH ?= $(ARCH)
export KLIBCARCHDIR := $(shell echo $(KLIBCARCH) | sed -e s/s390x/s390/)
Reply to: