[Debian-mobcom-maintainers] Bug#1065790: libosmo-netif: FTBFS on arm{el, hf}: tests fail

Simon Chopin schopin at ubuntu.com
Fri Mar 22 11:58:44 GMT 2024


Source: libosmo-netif
Followup-For: Bug #1065790
X-Debbugs-Cc: schopin at ubuntu.com
Control: tags -1 ftbfs

I looked into this, and AFAICT there's a fundamental mismatch between
libosmo-netif and libosmocore: libosmocore defines (struct msgb).cb as a
`unsigned long[5]`, but -netif interprets cb[0] as a struct timespec in
src/osmux.c, while it defines cb[3] as the SCTP PPID and cb[4] as the
SCTP Stream ID in include/osmocom/netif/stream.h

That works on architectures where sizeof(time_t) == sizeof(long), in
which case sizeof(struct timespec) <= sizeof(long[3]), but that's simply
not true when on 32-bit archs with 64b time_t.



More information about the Debian-mobcom-maintainers mailing list