Open caizixian opened 9 months ago
Ah ok, so the mbuild (for xed) is too old, and uses removed Python function (distro, distro_ver, distro_id) = platform.linux_distribution()
This causes make -C contrib
to fail but still generates config.mk
, so the src
build continues when it shouldn't.
I wonder whether https://github.com/stephenrkell/liballocs/issues/77 's author had this issue or not
One possibility is that I have python-is-python3
. In Python 2, platform.linux_distribution
is only deprecated but not removed.
Thanks Zixian. Well done on getting this far. Yes, mbuild
breaking owing to Python churn is a very plausible problem that has occurred in the past also.
I think Octave (in #77) may have got past that, but runs into the problem that libdwarfpp
is using an old libdwarf
which can't grok certain newer features that Ubuntu 22.04 toolchains churn out. Unfortunately the newer libdwarf
has some non-trivial API changes. The real solution is to port libdwarfpp
to use instead libdw
(from elfutils) which is a task I've started but haven't finished. It will make things much faster (libdwarf
is old enough not to assume mmap
and just goes downhill from there), but is quite a bit chunk of coding.
My workaround for now is to stick to older versions, but efforts are always welcome and I may get some resources on this in (erk) March-ish.
I was trying to build libsystrap as part of liballocs. I installed all the packages per liballocs README. However, I got some build errors, so I'm trying to isolate them one by one.
Steps:
It seems the problem is that
libsystrap/contrib
is never built.Strangely, a fresh standalone clone of libsystrap builds just fine inside the Ubuntu 18.04 container.