On 2024-06-05, Eli Schwartz <[email protected]> wrote: > On 6/4/24 11:04 PM, Grant Edwards wrote: >> On 2024-06-04, Eli Schwartz <[email protected]> wrote: >>> If a package claimed to support python 3.12 and nonetheless failed to >>> build with it, that's a bug in the package -- can you provide more details? >> >> IIRC, the first one was pycxx. The build faild during the config >> step. I uninstalled it (which meant I also had to uninstall pysvn, >> which I think means that meld is going to stop working). > > Thanks for the report. This was migrated to python 3.12 in > https://bugs.gentoo.org/929486 and indeed it builds fine for me. > > However, it is very obvious, *to me*, why it failed for you (even > without build logs). The package doesn't have a build dependency on the > dev-python/setuptools package, and python 3.12 removed a standard > library module (distutils) which is henceforth provided by this package. > And pycxx doesn't use pep517 mode either. > > It's a trivial fix. You would have seen a build error that looked > something like > > ModuleNotFoundError: No module named 'distutils'
Ah, thanks for taking care of that. I would have put more time into figuring out that (and similar upgrade issues) and filing bug reports, but I'm right in the middle of migrating 400 projects from SVN to Gerrit/Git. It's going about as well as could be hoped, but... [A smarter person would not have allowed a major update like that to proceed in the middle of a big fire-drill.]

