[Debian-med-packaging] Bug#1024425: help needed on pysam ftbfs with python3.11

Étienne Mollier emollier at emlwks999.eu
Fri Dec 23 20:01:01 GMT 2022


Control: tags -1 + help

Hmn, I'm dry on the python-pysam failure to build from source
with python3.11, and upstream remained silent for now[1].  If I
were dealing with C code, I would have suspected something like
an uncaught segmentation fault, or uninitialized memory usage,
but cython seems to be a slightly different beast, however
similar it might sound.

[1]: https://github.com/pysam-developers/pysam/issues/1151

As far as I can tell, the purpose of the test is to check the
behavior of an iterator once it ran out of values, to make sure
ValueErrors can be sent to callers.  The test code seems to rely
on the iterator to return NULL once out, or a memory address in
a normal situation.  But according to the debugger, the address
obtained is 0x100000000 (or 2^32), and for some reason, I don't
even manage to get an ugly workaround checking for that value
running as expected.

so I formally request help on this one,
-- 
Étienne Mollier <emollier at emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/6, please excuse my verbosity.
On air: Last Union - Taken (feat. James LaBrie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20221223/0b285d17/attachment.sig>


More information about the Debian-med-packaging mailing list