Build for Debian MIPS

Ross Tajvar ross at tajvar.io
Thu Apr 2 04:53:07 CEST 2020


Hi,

I am currently using BIRD 1.6.3 on an Edgerouter Pro. The CPU architecture
is MIPS and the OS is based on Debian Stretch. Because of the latter, I can
use the Debian package repos to install BIRD 1.6.3, however I would like to
upgrade to BIRD 2 which does not have a package built. I noticed there is
another repo (located at http://bird.network.cz/debian) which maintains
BIRD 2 for Debian Stretch, however those packages are not built for the
MIPS architecture.

I tried building the package myself in a virtual system emulated with qemu,
but the build failed with the following error:

> obj/lib/fletcher16_test 2>/dev/null && touch obj/lib/fletcher16_test.ok
> obj/lib/fletcher16_test: t_fletcher16_compute 0.007899378s
> [FAIL]
> obj/lib/fletcher16_test: t_fletcher16_checksum 0.004199340s
>  [FAIL]
> obj/lib/fletcher16_test 0.015348769s
> [FAIL]
> Makefile:180: recipe for target 'obj/lib/fletcher16_test.ok' failed
> make[1]: *** [obj/lib/fletcher16_test.ok] Error 1
> make[1]: Leaving directory '/root/src/debian/bird2-2.0.7'
> dh_auto_test: make -j1 test VERBOSE=1 returned exit code 2
> debian/rules:21: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1116:
> dpkg-buildpackage -rfakeroot -us -uc -b failed


Would it be possible to add MIPS as a build target for the bird.network.cz
repo?

Thanks,
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200401/fb43a69f/attachment.htm>


More information about the Bird-users mailing list