It was a bug in src/lib/libm/Makefile: ---------------------------- revision 1.221 date: 2023-08-08 04:09:42 +0200; author: rin; state: Exp; lines: +2 -1; commitid: CsWmTwt9nsKprVzE; libm: Add fma(3) and friends to m68k ---------------------------- and it has been pulled up to -10 in ticket #547, can you double check your libm does not have it? Or is python not linking against libm (that would suprise me a bit).
One of my pkgsrc build machines has NetBSD 10.0 installed in its chroot, while the rest have netbsd-10 from after your fix. I'll update that machine.
Thanks! John