On 2024 Jul 26 (Fri) at 05:51:24 +0200 (+0200), Theo Buehler wrote: :On Fri, Jul 19, 2024 at 10:54:03AM +0100, Stuart Henderson wrote: :> On 2024/07/19 08:49, Peter Hessler wrote: :> > :http://build-failures.rhaalovely.net/aarch64/2024-07-16/x11/py-wxPython,python3.log :> > :> > wx/svg/_nanosvg.pyx:45:8: 'cython.object' is not a valid cython.* module :> :> No time to look right now but I suspect this may be a hidden build dep, :> i.e. cython picked up and then junked by dpb. : :While there is a tiny window where junking could break the _nanosvg build :this breakage isn't the result of junking. The port simply fails to build :if cython is installed. : :Here's one workaround, but perhaps there are better ideas? :
Looks good to me, OK :Index: patches/patch-setup-wxsvg_py :=================================================================== :RCS file: patches/patch-setup-wxsvg_py :diff -N patches/patch-setup-wxsvg_py :--- /dev/null 1 Jan 1970 00:00:00 -0000 :+++ patches/patch-setup-wxsvg_py 26 Jul 2024 03:35:31 -0000 :@@ -0,0 +1,14 @@ :+Unbreak build if py3-cython is installed :+ :+Index: setup-wxsvg.py :+--- setup-wxsvg.py.orig :++++ setup-wxsvg.py :+@@ -15,7 +15,7 @@ import textwrap :+ from setuptools import setup, Extension :+ try: :+ from Cython.Build import cythonize :+- have_cython = True :++ have_cython = False :+ except ImportError: :+ have_cython = False :+ : -- Beware of the Turing Tar-pit in which everything is possible but nothing of interest is easy.