From nobody Wed Apr 23 01:10:14 2025 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Zj1HV5hS2z5tTqH for ; Wed, 23 Apr 2025 01:10:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zj1HV3BFxz447G for ; Wed, 23 Apr 2025 01:10:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745370614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NH2fcA9p2ozTSwPpePDWwITcSO/jL0ZlHoFhZKEFARY=; b=NI1maGJDqjNuX74kAE1xgnl84mslL2Z2eKMozPFmTW+77bd+Soia0K0BKcVQTsWAw1uzpA Ywu8TLvLnjHXuONqHBcDJiBeNS8dsG5BDmQ2anZL1Q32xiax4dwbXY7WEEq0Yl8lN1CoK3 7n3QLc4KvCmV6O9Ps05LGA1L9+tyIbcjYb3QUeAxWni0XQrO4BlYGhvWGTCCnziKtL37A9 kesJyZjIkaMvXX3GV2wMsBb6uxHZfLYHxvEJOgWikx/5+IiN1U+POj59H3OG8YqkeJN/MR 868n+YR2zdScJFMHA4OVa9CqyjEkIkpvxWOn5bq3CPFsOkhxWPmOA74hM1rUAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745370614; a=rsa-sha256; cv=none; b=jRS72lxAZ836/iMHfEtsMxedfPfia2nRnVAeuswm+lNOnShlFrlo0XmDRJvlWGln4FVJQB MNNS42wQWRlBOvkKd7tgyzB9/wsO9C6swTQIFEGXtrOnkoNYC2XlA3O6HfE7AUnDTuFDEQ aeF28yu0IgmR9DyemoehHFvR90+k1wQm/2JxXokBPMPush5bicX9hQ4+yhW65NDeLXkOnU /42uSzCLEyw9csLqBxCjAuEiRHx0Q4DWITkjt/xeYft4/elFMpg5XM40Q49YaY7FtmZM0s bKzKqjogIfCNu8s5KDy0RxdZifwA0yZ8d1Rkoz/wZtgz1kQWsXW3A6pZKeA4rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745370614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NH2fcA9p2ozTSwPpePDWwITcSO/jL0ZlHoFhZKEFARY=; b=pvf7qBTebgjrkpnzJAZHEhmzX306aZkemTtJe5HtuLpeYrukSwRuSMoOcWrxtMf33FbfTo /VmU+jZvsFc2+z8L5UrAcAhSyeoFAxySKLMBwIQ9pEBaxVRj+q3VkYcNlYxW1ORe3kG14G a9MnQ6SLeyhyLIJ2KQTngYtqaPqUCHBkjj+JpH4A6RjlfbRX117YkzEUqcZL61yRKIIsWJ Wa0L4CrucVcfjvSJbNa6jqsajLHDfk8JaK/xi+qog6hkDS3+gId1YWit7hLrJsOvOw0/cR 5RkfWxZt5YFOc2dW36R5w6RjHyAZdVjjHRt62n0K81DUpLFug+phAmm2uS9qnw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Zj1HV2Cqpzjqy for ; Wed, 23 Apr 2025 01:10:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 53N1AEf3056837 for ; Wed, 23 Apr 2025 01:10:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53N1AEIf056836 for python@FreeBSD.org; Wed, 23 Apr 2025 01:10:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 286298] x11-toolkits/py-tkinter: python3.12. Something in ports doesn't include header file sub-directory Date: Wed, 23 Apr 2025 01:10:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mail_of_sergey@mail.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286298 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=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -fPIC -DWITH_APPINIT=3D1 -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -I/usr/local/include/python= 3.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 =3D=3D=3D> License PSFL accepted by the user =3D=3D=3D> py312-tkinter-3.12.10_10 depends on file: /usr/local/sbin/pkg = - found =3D=3D=3D> Fetching all distfiles required by py312-tkinter-3.12.10_10 for = building =3D=3D=3D> Extracting for py312-tkinter-3.12.10_10 =3D> SHA256 Checksum OK for python/Python-3.12.10.tar.xz. =3D=3D=3D> Patching for py312-tkinter-3.12.10_10 =3D=3D=3D> py312-tkinter-3.12.10_10 depends on package: py312-setuptools>= 0 - found =3D=3D=3D> py312-tkinter-3.12.10_10 depends on package: py312-wheel>0 - f= ound =3D=3D=3D> py312-tkinter-3.12.10_10 depends on file: /usr/local/bin/pytho= n3.12 - found =3D=3D=3D> py312-tkinter-3.12.10_10 depends on package: py312-build>=3D0 = - found =3D=3D=3D> py312-tkinter-3.12.10_10 depends on package: py312-installer>= =3D0 - found =3D=3D=3D> py312-tkinter-3.12.10_10 depends on shared library: libtk86.so= - found (/usr/local/lib/libtk86.so) =3D=3D=3D> py312-tkinter-3.12.10_10 depends on shared library: libtcl86.s= o - found (/usr/local/lib/libtcl86.so) =3D=3D=3D> Configuring for py312-tkinter-3.12.10_10 =3D=3D=3D> 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=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ]8;id=3D730801;file:///usr/local/lib/python3.12/site-packages/setuptools_sc= m/_integration/setuptools.py\[2msetuptools.py[0m]8;;\[2m:[0m]8;id=3D886370;= 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=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ]8;id=3D501441;file:///usr/local/lib/python3.12/site-packages/setuptools_sc= m/_integration/setuptools.py\[2msetuptools.py[0m]8;;\[2m:[0m]8;id=3D251536;= 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=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dcore2 -fstack-protector-strong -fno-strict-aliasing -fPIC -DWITH_APPINIT=3D1 -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -I/usr/local/include/python= 3.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=3DZ # # # CPUTYPE?=3D core2 # DOC_LANG=3D en en_US.ISO8859-1 ru_RU.KOI8-R OPTIONS_SET+=3DJADETEX # # XOrg # OPTIONS_UNSET+=3D X11 # CUPS OPTIONS_SET+=3D CUPS OPTIONS_SET+=3D CUPS_OVERWRITE_BASE OPTIONS_UNSET+=3D LPR # SU_CMD=3D /usr/local/bin/sudo /bin/sh -c EDITOR=3D joe # OPTIONS_SET+=3DPKGNG # GLPI #GLPIDIR?=3D ../../home/export/web/glpi/docs #GLPIPLUGINDIR?=3D ../../home/export/web/glpi/docs/plugins #WWWDIR?=3D /home/export/web # Perl DEFAULT_VERSIONS+=3D perl5=3D5.36 #DEFAULT_VERSIONS+=3D linux=3Dr19 DEFAULT_VERSIONS+=3D ssl=3Dopenssl security_p5-GSSAPI_SET =3D GSSAPI_MIT OPTIONS_UNSET +=3D GSSAPI_BASE OPTIONS_SET +=3D GSSAPI_NONE # iPXE # https://svnweb.freebsd.org/ports/head/net/ipxe/Makefile?view=3Dlog&pathrev= =3D463161 # https://forums.freebsd.org/threads/ipxe.64266/ IPXE_MAKE_ARGS=3D EMBED=3D/home/export/web/ipxe/docs/web/ipxe/boot.ipxe # IPXE_MAKE_ARGS=3D EMBED=3D/home/export/web/ipxe/docs/web/ipxe/boot.= ipxe DEBUG=3Ddevice,pci IPXE_BUILDCFG=3D general:PCI_CMD # snponly.efi # DEBUG=3Ddevice,pci,undiload,undinet https://forum.ipxe.org/showthread.php?tid=3D7228 # Begin portconf settings # Do not touch these lines .if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf) _PORTCONF!=3D/usr/local/libexec/portconf .if ${_PORTCONF} !=3D "|" .for i in ${_PORTCONF:S/^|//:S/|/ /g} ${i:C/^([^=3D]*)=3D.*/\1/}=3D${i:C/^[^=3D]*=3D//:S/%/ /g} .endfor .endif .endif # End portconf settings DEFAULT_VERSIONS+=3D python=3D3.12 python3=3D3.12 --=20 You are receiving this mail because: You are the assignee for the bug.=