Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2025 09:02:29 +0000
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
Message-ID:  <bug-286298-21822-l1gTRAirBo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286298-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286298-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286298

--- Comment #1 from Chad Jacob Milios <milios@ccsys.com> ---
Created attachment 260621
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D260621&action=
=3Dedit
patch-foo for $FILESDIR

merely adding "internal/" to that line and the next worked to get
py312-tkinter-3.12.10_10 building and packaging.

i did not conventionalize this patch regarding PYTHON_REL nor did i test th=
at
it doesnt break 39-311.

i also didnt figure out why it breaks and why that works; the two cc
invocations are practically identical and the referenced headers are in the
same spot 3.11 -> 3.12.

=3D=3D=3D>  Building for py311-tkinter-3.11.12_10
...snip...
creating build/temp.freebsd-13.5-RELEASE-p1-amd64-cpython-311
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dopteron-ss=
e3
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dopteron-ss=
e3
-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/python3.11 -c _tkinter.c -o
build/temp.freebsd-13.5-RELEASE-p1-amd64-cpython-311/_tkinter.o
...(carries on)... -o
build/temp.freebsd-13.5-RELEASE-p1-amd64-cpython-311/tkappinit.o
.............. GreatSuccess[TM]

=3D=3D=3D>  Building for py312-tkinter-3.12.10_10
......
creating build/temp.freebsd-13.5-RELEASE-p1-amd64-cpython-312
cc -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe
-march=3Dopteron-sse3 -fstack-protector-strong -fno-strict-aliasing -O2 -pi=
pe
-march=3Dopteron-sse3 -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-13.5-RELEASE-p1-amd64-cpython-312/_tkinter.o
_tkinter.c:35:10: fatal error: 'pycore_long.h' file not found

note: upon my initial run in to this problem there were no 3.11 python or
packages installed on the system.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286298-21822-l1gTRAirBo>