Source: jackd2
Version: 1.9.7~dfsg-1
Severity: wishlist
Tags: patch
User: debian-...@superh.org
Usertags: sh4
X-Debbugs-CC: debian-sup...@lists.debian.org, tak...@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
clam FTBFS on SH4.
http://buildd.debian-ports.org/status/fetch.php?pkg=clam&arch=sh4&ver=1.4.0-2&stamp=1302288039
This is a package depending on jack2(libjack-jackd2-dev) as Build-depends.
http://packages.debian.org/source/sid/clam
-
Checking that libasound sample program runs... yes
Checking for jack pkg-config file... yes
Checking that jack sample program compiles...yes
Checking that jack sample program links...yes
jack_client_new: deprecated
FATAL: cannot locate cpu MHz in /proc/cpuinfo
Checking that jack sample program runs... no
jack compile/link/run test failed!
Check the config.log file for details
Either install jack or disable jack support by issuing
$scons with_jack=no
make[1]: *** [override_dh_auto_clean] Error 1
make[1]: Leaving directory `/build/buildd-clam_1.4.0-2-sh4-MFqHte/clam-1.4.0'
make: *** [clean] Error 2
-
/proc/cpuifno is output as follows in sh4.
-
$ cat /proc/cpuinfo
machine : SH7785LCR
processor : 0
cpu family : sh4a
cpu type: SH7785
cut : 7.x
cpu flags : fpu perfctr llsc
cache type : split (harvard)
icache size : 32KiB (4-way)
dcache size : 32KiB (4-way)
bogomips: 599.99
-
I made patch to support SH. Could you apply this patch?
Best regards,
Nobuhiro
diff --git a/linux/JackLinuxTime.c b/linux/JackLinuxTime.c
index 93f7f03..c80eb17 100644
--- a/linux/JackLinuxTime.c
+++ b/linux/JackLinuxTime.c
@@ -166,6 +166,8 @@ static jack_time_t jack_get_mhz (void)
ret = sscanf(buf, "Clocking: %" SCNu64, &mhz);
#elif defined( __s390__ )
ret = sscanf(buf, "bogomips per cpu: %" SCNu64, &mhz);
+#elif defined( __sh__ )
+ ret = sscanf(buf, "bogomips: %" SCNu64, &mhz);
#else /* MIPS, ARM, alpha */
ret = sscanf(buf, "BogoMIPS: %" SCNu64, &mhz);
#endif
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers