Hi Ansgar,
On Wed, 17 Sep 2025, 'Ansgar Jazdzewski' via ganeti wrote:
> I was able to build the haskel code using cabal - i only had to patch
> snap-server as it uses sendfile64 what musel do not support! "sed -i
> 's/sendfile64/sendfile/g'" did the trick.
Interesting. Recently I build Ganeti for SLES/opensuse using ghcup/cabal
with some trouble around v1-style builds. I need to patch the Makefile.am
(see attachment). Not a genaral patch, works only with Cabal >= 3.
> On the python side I run into an issue with python 3.12 as the ganti
> code still uses asyncore!
>
> My question is how ganti is built on debian trixie (python 3.13) and
> how i can get sound this issue?
That is very easy. Someone decided to help old and slow projects and
separated asyncore into a module:
https://pypi.org/project/pyasyncore/.
That is packaged as python3-pyasyncore in Debian.
HTH, Sascha.