Hi Jeffrey,

On Wed, Nov 30, 2022 at 8:03 PM Jeffrey Walton <noloa...@gmail.com> wrote:
> Package: libicu71
> Version: 71.1-1~
> Tags: sid
>
> I'm working on a Debian Chroot for SH4 machine. I am trying to install
> GDB. The GDB installation fails:
>
> # apt install gdb
[...]
> The following packages have unmet dependencies:
>  libboost-regex1.74.0 : Depends: libicu71 (>= 71.1-1~) but it is not 
> installable
> E: Unable to correct problems, you have held broken packages.
 Unfortunately this is correct. The sh4 architecture is only an
unofficial port of Debian, a secondary architecture. It seems it can't
keep up with package changes.
Architectures transitioned to ICU 72.1 (version is 72.1-3 to be exact)
and that's also built for sh4 [1]. Reason why boost1.74 can't pick
that up seems to be numpy; build status [2] shows it needs build
dependency on python3-numpy (>= 1:1.21.5-2) and libicu-dev (>= 72).
The latter is OK, but stuck on the former [3]. To cut it short,
digging down on the mentioned page through python3-matplotlib I see
the culprit build dependency is python-greenlet [4] which fails to
build on sh4. It seems it was never built there as the error is [5]:
src/greenlet/greenlet.c:376:6: error: #error "greenlet needs to be
ported to this platform, or taught how to detect your compiler
properly."

> The rub is, SH4 is not listed at
> https://packages.debian.org/sid/libicu71 . The package page also shows
> version 71.1-3, not 71.1-1.
 That's because ICU was transitioned to version 72.1 as noted above
which also happened and available on sh4 [6].

> I'm not really sure how to proceed.
 You may locally hack the build of boost1.74 not to require Python
(and drop its related binary packages). Of course, best would be to
port python-greenlet to sh4 or just fix its build - can you give a
helping hand to its upstream?
At least this is what I see without access to any sh4 machine. As we
know each other, I may check it for you if I can access that machine.
But I think you are much more skilled in these things.

Regards,
Laszlo/GCS
[1] https://buildd.debian.org/status/package.php?p=icu
[2] https://buildd.debian.org/status/package.php?p=boost1.74
[3] https://buildd.debian.org/status/package.php?p=numpy
[4] https://buildd.debian.org/status/package.php?p=python-greenlet
[5] 
https://buildd.debian.org/status/fetch.php?pkg=python-greenlet&arch=sh4&ver=1.1.3-1&stamp=1668258039&raw=0
[6] https://packages.debian.org/sid/libicu72

Reply via email to