[MacPorts] #71686: py312-brotli build error: error: ‘ZopfliCostModel’ has no member named ‘arena’
MacPorts
noreply at macports.org
Mon Dec 30 22:43:46 UTC 2024
#71686: py312-brotli build error: error: ‘ZopfliCostModel’ has no member named
‘arena’
--------------------------+--------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: py312-brotli
--------------------------+--------------------------
{{{
---> Building py312-brotli
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
brotli/py312-brotli/work/brotli-1.1.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-brotli/py312-brotli/work
* Getting build dependencies for wheel...
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown
distribution option: 'test_suite'
warnings.warn(msg)
running egg_info
creating python/Brotli.egg-info
writing python/Brotli.egg-info/PKG-INFO
writing dependency_links to python/Brotli.egg-info/dependency_links.txt
writing top-level names to python/Brotli.egg-info/top_level.txt
writing manifest file 'python/Brotli.egg-info/SOURCES.txt'
ERROR setuptools_scm._file_finders.git listing git files failed -
pretending there aren't any
reading manifest file 'python/Brotli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'python/_brotli.cc'
adding license file 'LICENSE'
writing manifest file 'python/Brotli.egg-info/SOURCES.txt'
* Building wheel...
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown
distribution option: 'test_suite'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating bin/lib.macosx-10.6-ppc-cpython-312
copying python/brotli.py -> bin/lib.macosx-10.6-ppc-cpython-312
running build_ext
<string>:70: DeprecationWarning: dep_util is Deprecated. Use functions
from setuptools instead.
building '_brotli' extension
creating bin/temp.macosx-10.6-ppc-cpython-312/python
creating bin/temp.macosx-10.6-ppc-cpython-312/c/common
creating bin/temp.macosx-10.6-ppc-cpython-312/c/dec
creating bin/temp.macosx-10.6-ppc-cpython-312/c/enc
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c python/_brotli.c -o bin/temp.macosx-10.6-ppc-
cpython-312/python/_brotli.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/constants.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/constants.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/context.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/context.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/dictionary.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/dictionary.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/platform.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/platform.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/shared_dictionary.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/shared_dictionary.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/common/transform.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/common/transform.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/dec/bit_reader.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/dec/bit_reader.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/dec/decode.c -o bin/temp.macosx-10.6-ppc-cpython-312/c/dec/decode.o
-arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/dec/huffman.c -o bin/temp.macosx-10.6-ppc-cpython-312/c/dec/huffman.o
-arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/dec/state.c -o bin/temp.macosx-10.6-ppc-cpython-312/c/dec/state.o
-arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/enc/backward_references.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/enc/backward_references.o -arch ppc -isysroot/
/usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
-DNDEBUG -g -O3 -Wall -pipe -Os -std=c99 -DOS_MACOSX=1 -Ic/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
-c c/enc/backward_references_hq.c -o bin/temp.macosx-10.6-ppc-
cpython-312/c/enc/backward_references_hq.o -arch ppc -isysroot/
c/enc/backward_references_hq.c:101: warning: declaration does not declare
anything
c/enc/backward_references_hq.c: In function
‘ZopfliCostModelSetFromCommands’:
c/enc/backward_references_hq.c:158: error: ‘ZopfliCostModel’ has no member
named ‘arena’
c/enc/backward_references_hq.c: In function
‘ZopfliCostModelSetFromLiteralCosts’:
c/enc/backward_references_hq.c:222: error: ‘ZopfliCostModel’ has no member
named ‘literal_histograms’
error: command '/usr/bin/gcc-4.2' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
brotli/py312-brotli/work/brotli-1.1.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-brotli/py312-brotli/work
Exit code: 1
Error: Failed to build py312-brotli: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71686>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list