[MacPorts] #71206: python313 fails to build: error: static assertion failed: "assuming large file"
MacPorts
noreply at macports.org
Tue Apr 15 19:02:25 UTC 2025
#71206: python313 fails to build: error: static assertion failed: "assuming large
file"
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.2
Resolution: | Keywords: tiger, leopard, powerpc
Port: python313 |
---------------------------+-------------------------------------
Comment (by khepler):
Replying to [comment:12 kencu]:
> {{{
> The _DARWIN_FEATURE_64_BIT_INODE macro should not be set directly.
Instead, developers
> should make use of the _DARWIN_NO_64_BIT_INODE or
_DARWIN_USE_64_BIT_INODE macros when the
> default variant is not desired.
> }}}
Just adding that I verified python313 builds successfully on 10.5 ppc with
`-D_DARWIN_USE_64_BIT_INODE` (as apposed to `-D__DARWIN_64_BIT_INO_T`).
{{{
#!patch
--- Portfile.original 2025-04-15 11:18:24.000000000 -0700
+++ Portfile 2025-04-15 11:20:59.000000000 -0700
@@ -122,6 +122,8 @@
platform darwin {
if {${os.major} < 11} {
configure.args-append --without-mimalloc
+ # Use 64 bit inodes on 10.5 and 10.6 ppc
+ configure.cppflags-append -D_DARWIN_USE_64_BIT_INODE
}
if {${os.major} < 9} {
# Fixes the return type of `ttyname_r`
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71206#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list