El 25/8/24 a las 15:05, Petter Reinholdtsen escribió:
[Santiago Vila]
The error which happens at the end is actually a linking error.
Any idea why this show up now?
(Sorry for the late reply, I missed your message)
No idea, sorry. This package seems to be deliberately
setup to be cross-built from amd64 (and possibly any other
capable arch if it has a working cross-compiler)
Apparently dpkg is choosing compiler flags which are not
suitable for the target system.
+export DEB_HOST_ARCH = arm-none-eabi
+export DEB_BUILD_ARCH = arm-none-eabi
In theory, in a cross-building environment, "host" is the system where
the build is happening, so assuming you are using amd64, I don't
see why one would need to change the "host".
In either case, there are recent commits here:
https://github.com/bbcmicrobit/micropython
so if I were the maintainer, I would try to look there
and/or contacting the author.
Thanks.