Build for Debian MIPS

Ross Tajvar ross at tajvar.io
Fri Apr 3 18:52:08 CEST 2020


>
> Were you so kind please and could you please help us setting up Debian for
> MIPS in QEMU if I fail to manage it once more?

I would be happy to help if I can - it was pretty easy for me, I mostly
followed this guide:
https://markuta.com/how-to-build-a-mips-qemu-image-on-debian/
Feel free to email me directly if you have questions.

On Thu, Apr 2, 2020 at 7:11 AM Maria Matějka <maria.matejka at nic.cz> wrote:

> Hello!
> We've not been able to build ourselves on MIPS yet, we went into some
> strange problems last time (don't remember exactly). Were you so kind
> please and could you please help us setting up Debian for MIPS in QEMU if I
> fail to manage it once more?
> The main issue was, what hardware to choose and how to boot it. But I'll
> try once more before asking any detailed question. Then we can replicate
> your issue and probably even build and test for MIPS.
> Thank you!
> Maria
>
> On April 2, 2020 4:53:07 AM GMT+02:00, Ross Tajvar <ross at tajvar.io> wrote:
>>
>> 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
>>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200403/f7d16dca/attachment.htm>


More information about the Bird-users mailing list