[MacPorts] #71206: python313 fails to build: error: static assertion failed: "assuming large file"

MacPorts noreply at macports.org
Wed Oct 30 18:22:05 UTC 2024


#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
 Keywords:  tiger, leopard, snowleopard, powerpc  |       Port:  python313
--------------------------------------------------+-----------------------
 {{{
 /opt/local/bin/gcc-mp-14  -fno-strict-overflow -Wsign-compare -fno-common
 -dynamic -DNDEBUG -g -O3 -Wall -pipe -Os -arch ppc   -std=c11 -Wextra
 -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes
 -Werror=implicit-function-declaration -fvisibility=hidden
 -I./Include/internal -I./Include/internal/mimalloc  -I. -I./Include
 -I/opt/local/include   -DPy_BUILD_CORE_BUILTIN -c ./Modules/posixmodule.c
 -o Modules/posixmodule.o
 ./Modules/posixmodule.c: In function '_pystatvfs_fromstructstatfs':
 ./Modules/posixmodule.c:13231:5: error: static assertion failed: "assuming
 large file"
 13231 |     _Static_assert(sizeof(st.f_blocks) == sizeof(long long),
 "assuming large file");
       |     ^~~~~~~~~~~~~~
 }}}

 P. S. While this is on 10.6 ppc, I am pretty sure the error is unrelated
 to it being a developer build and can be reproduced on 10.5.8 and 10.6.8.

-- 
Ticket URL: <https://trac.macports.org/ticket/71206>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list