[Bug 286298] x11-toolkits/py-tkinter: python3.12. Something in ports doesn't include header file sub-directory
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] x11-toolkits/py-tkinter: python3.12. Something in ports doesn't include header file sub-directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] x11-toolkits/py-tkinter: python3.12. Something in ports doesn't include header file sub-directory"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] x11-toolkits/py-{gdbm,sqlite3,tkinter}: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Apr 2025 01:10:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298
Bug ID: 286298
Summary: x11-toolkits/py-tkinter: python3.12. Something in
ports doesn't include header file sub-directory
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: python@FreeBSD.org
Reporter: mail_of_sergey@mail.ru
Flags: maintainer-feedback?(python@FreeBSD.org)
Assignee: python@FreeBSD.org
I recently switched to python 3.12 and I can't build the
x11-toolkits/py-tkinter port because the pycore_long.h file not found.
The pycore_long.h file location is
/usr/local/include/python3.12/internal/pycore_long.h
But the compiler calls with including only /usr/local/include/python3.12
directory and not includes its sub-directories where the pycore_long.h file
locates:
cc -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe
-march=core2 -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC
-DWITH_APPINIT=1 -I/usr/local/include -I/usr/local/include/tcl8.6
-I/usr/local/include/tk8.6 -I/usr/local/include -I/usr/local/include/python3.12
-c _tkinter.c -o
build/temp.freebsd-14.2-RELEASE-p3-amd64-cpython-312/_tkinter.o
so its falls with an fatal error: pycore_long.h' file not found
Build log:
Script started on Wed Apr 23 03:50:53 2025
Command: make
===> License PSFL accepted by the user
===> py312-tkinter-3.12.10_10 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py312-tkinter-3.12.10_10 for building
===> Extracting for py312-tkinter-3.12.10_10
=> SHA256 Checksum OK for python/Python-3.12.10.tar.xz.
===> Patching for py312-tkinter-3.12.10_10
===> py312-tkinter-3.12.10_10 depends on package: py312-setuptools>0 - found
===> py312-tkinter-3.12.10_10 depends on package: py312-wheel>0 - found
===> py312-tkinter-3.12.10_10 depends on file: /usr/local/bin/python3.12 -
found
===> py312-tkinter-3.12.10_10 depends on package: py312-build>=0 - found
===> py312-tkinter-3.12.10_10 depends on package: py312-installer>=0 - found
===> py312-tkinter-3.12.10_10 depends on shared library: libtk86.so - found
(/usr/local/lib/libtk86.so)
===> py312-tkinter-3.12.10_10 depends on shared library: libtcl86.so - found
(/usr/local/lib/libtcl86.so)
===> Configuring for py312-tkinter-3.12.10_10
===> Building for py312-tkinter-3.12.10_10
[1m* Getting build dependencies for wheel...[0m
[2;36m[04/23/25 03:51:19][0m[2;36m [0m[33mWARNING [0m pyproject.toml does
not contain a tool.setuptools_scm section
]8;id=730801;file:///usr/local/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py\[2msetuptools.py[0m]8;;\[2m:[0m]8;id=886370;file:///usr/local/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py#119\[2m119[0m]8;;\
/usr/local/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py:104:
_BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is
still *beta*.
warnings.warn(msg, _BetaConfiguration)
running egg_info
creating tkinter.egg-info
writing tkinter.egg-info/PKG-INFO
writing dependency_links to tkinter.egg-info/dependency_links.txt
writing top-level names to tkinter.egg-info/top_level.txt
writing manifest file 'tkinter.egg-info/SOURCES.txt'
reading manifest file 'tkinter.egg-info/SOURCES.txt'
writing manifest file 'tkinter.egg-info/SOURCES.txt'
[1m* Building wheel...[0m
[2;36m[04/23/25 03:52:28][0m[2;36m [0m[33mWARNING [0m pyproject.toml does
not contain a tool.setuptools_scm section
]8;id=501441;file:///usr/local/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py\[2msetuptools.py[0m]8;;\[2m:[0m]8;id=251536;file:///usr/local/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py#119\[2m119[0m]8;;\
/usr/local/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py:104:
_BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is
still *beta*.
warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
running build_ext
building '_tkinter' extension
creating build
creating build/temp.freebsd-14.2-RELEASE-p3-amd64-cpython-312
cc -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe
-march=core2 -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-march=core2 -fstack-protector-strong -fno-strict-aliasing -fPIC
-DWITH_APPINIT=1 -I/usr/local/include -I/usr/local/include/tcl8.6
-I/usr/local/include/tk8.6 -I/usr/local/include -I/usr/local/include/python3.12
-c _tkinter.c -o
build/temp.freebsd-14.2-RELEASE-p3-amd64-cpython-312/_tkinter.o
[1m_tkinter.c:35:10: [0m[0;1;31mfatal error: [0m[1m'pycore_long.h' file
not found[0m
35 | #include "pycore_long.h"[0m
| [0;1;32m ^~~~~~~~~~~~~~~
[0m1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
[91mERROR[0m Backend subprocess exited when trying to invoke build_wheel
*** Error code 1
Stop.
make: stopped in /usr/ports/x11-toolkits/py-tkinter
Command exit status: 1
Script done on Wed Apr 23 03:52:37 2025
/etc/make.conf:
KERNCONF=Z
#
# <CB><CF><CD><D0><C9><CC><D1><C3><C9><D1>
#
CPUTYPE?= core2
#<D1><DA><D9><CB><C9> <C4><CF><CB><D5><CD><C5><CE><D4><C1><C3><C9><C9>
DOC_LANG= en en_US.ISO8859-1 ru_RU.KOI8-R
OPTIONS_SET+=JADETEX
#
#<C2><C5><DA> XOrg
#
OPTIONS_UNSET+= X11
# <D7><D3><C5> <C4><CC><D1> CUPS
OPTIONS_SET+= CUPS
OPTIONS_SET+= CUPS_OVERWRITE_BASE
OPTIONS_UNSET+= LPR
# <C4><CC><D1> <D0><CF><D2><D4><CF><D7>
SU_CMD= /usr/local/bin/sudo /bin/sh -c
EDITOR= joe
# <D3><C9><D3><D4><C5><CD><C1> <D0><CF><D2><D4><CF><D7>
OPTIONS_SET+=PKGNG
# GLPI
#GLPIDIR?= ../../home/export/web/glpi/docs
#GLPIPLUGINDIR?= ../../home/export/web/glpi/docs/plugins
#WWWDIR?= /home/export/web
# Perl
DEFAULT_VERSIONS+= perl5=5.36
#DEFAULT_VERSIONS+= linux=r19
DEFAULT_VERSIONS+= ssl=openssl
security_p5-GSSAPI_SET = GSSAPI_MIT
OPTIONS_UNSET += GSSAPI_BASE
OPTIONS_SET += GSSAPI_NONE
# iPXE
#
https://svnweb.freebsd.org/ports/head/net/ipxe/Makefile?view=log&pathrev=463161
# https://forums.freebsd.org/threads/ipxe.64266/
IPXE_MAKE_ARGS= EMBED=/home/export/web/ipxe/docs/web/ipxe/boot.ipxe
# IPXE_MAKE_ARGS= EMBED=/home/export/web/ipxe/docs/web/ipxe/boot.ipxe
DEBUG=device,pci
IPXE_BUILDCFG= general:PCI_CMD
# snponly.efi
# DEBUG=device,pci,undiload,undinet
https://forum.ipxe.org/showthread.php?tid=7228
# Begin portconf settings
# Do not touch these lines
.if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf
.if ${_PORTCONF} != "|"
.for i in ${_PORTCONF:S/^|//:S/|/ /g}
${i:C/^([^=]*)=.*/\1/}=${i:C/^[^=]*=//:S/%/ /g}
.endfor
.endif
.endif
# End portconf settings
DEFAULT_VERSIONS+= python=3.12 python3=3.12
--
You are receiving this mail because:
You are the assignee for the bug.