Source: radare2 Version: 4.3.1+dfsg-1 Tags: patch User: [email protected] Usertags: cross-satisfiability
radare2 cannot be cross built, because its build dependency on python3 is not installable. Rather than a host architecture python, radare2 really needs a runnable (i.e. build architecture) python for running it during build. That can be achieved by annotating the dependency with :any. Once that happens, one can attempt to cross build radare2, but that fails running sdb with an Exec format error. It is unclear to me how to fix that. Please consider applying the attached patch anyway as an incremental improvement and close this bug when doing so. Helmut
diff --minimal -Nru radare2-4.3.1+dfsg/debian/changelog radare2-4.3.1+dfsg/debian/changelog --- radare2-4.3.1+dfsg/debian/changelog 2020-03-15 19:36:29.000000000 +0100 +++ radare2-4.3.1+dfsg/debian/changelog 2020-10-29 20:59:11.000000000 +0100 @@ -1,3 +1,10 @@ +radare2 (4.3.1+dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate Build-Depends: python3 with :any. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 29 Oct 2020 20:59:11 +0100 + radare2 (4.3.1+dfsg-1) unstable; urgency=medium * New upstream release diff --minimal -Nru radare2-4.3.1+dfsg/debian/control radare2-4.3.1+dfsg/debian/control --- radare2-4.3.1+dfsg/debian/control 2020-03-15 19:36:29.000000000 +0100 +++ radare2-4.3.1+dfsg/debian/control 2020-10-29 20:59:10.000000000 +0100 @@ -16,7 +16,7 @@ freebsd-glue, meson, pkg-config, - python3, + python3:any, python3-setuptools, zlib1g-dev Standards-Version: 4.5.0

