On 17 Feb 2022, at 15:06, Bo YU <tsu.y...@gmail.com> wrote: > > Hi, > I want to pick one package to try port it to Debian. > And i have choose src:sofia-sip: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978498 > > I can use `sbuild --host=riscv64 -d sid` at last to cross build it, and > it report the error at end: > > ``` > ... > dh_clean > debian/rules build-arch > dh_testdir > mkdir -p objs > cd objs && ../configure --host=riscv64-linux-gnu \ > --build=x86_64-linux-gnu \ > --prefix=/usr > checking build system type... x86_64-pc-linux-gnu > checking host system type... Invalid configuration `riscv64-linux-gnu': > machine `riscv64' not recognized > configure: error: /bin/bash ../config.sub riscv64-linux-gnu failed > make: *** [debian/rules:35: objs/config.status] Error 1 > dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit > status 2 > ``` > I think this is expection behavior. > > Now the question is: how can i push the process go on? > Pabs told me, he has the patch and i can test it or not take effect. > > But i can not find the patch and how to apply in sofia-sip source code > or other method.
The patch is right here[1] in the bug you've CC’ed? Jess [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978498#10