pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python312 build with tkinter option fails



On Wed, Feb 12, 2025 at 04:33:45PM +0530, Mayuresh wrote:
> On a recent pkgsrc on NetBSD 10.1 amd64, trying to build python312 with
> tkinter option enabled:
> 
>     --- Modules/_tkinter.o ---
>     ./Modules/_tkinter.c:66:10: fatal error: tclTomMath.h: No such file or directory
>        66 | #include <tclTomMath.h>
>           |          ^~~~~~~~~~~~~~
> 
> I recollect dealing with this in wip/yosys-dev with a patch like this:
> 
>     -#include <tclTomMath.h>
>     -#include <tclTomMathDecls.h>
>     +#include <tcl/generic/tclTomMath.h>
>     +#include <tcl/generic/tclTomMathDecls.h>
> 
> 
> In a related issue, bulkbuild reports a cyclic dependency for this
> package:
> 
>     Cyclic dependency for package:
>     python312-3.12.9
>     tk-8.6.16
>     libXft-2.3.8nb1
>     libXrender-0.9.12
>     libX11-1.8.11
>     libxcb-1.17.0
>     py312-xcbgen-1.17.0
>     python312-3.12.9
> 
> Please advise.

This looks like we need a separate package for the tkinter Python
module.
 Thomas


Home | Main Index | Thread Index | Old Index