Re: [MacPorts] #71686: py312-brotli build error: error: ‘ZopfliCostModel’ has no member named ‘arena’

MacPorts noreply at macports.org
Mon Dec 30 23:05:40 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
Resolution:                |   Keywords:
      Port:  py312-brotli  |
---------------------------+--------------------

Comment (by barracuda156):

 And the same fix needed for `py312-brotlicffi`.

 {{{
 /usr/bin/gcc-4.2 -fno-strict-overflow -Wsign-compare -fno-common -dynamic
 -DNDEBUG -g -O3 -Wall -pipe -Os -arch ppc -isysroot/ -std=c99
 -Ilibbrotli/c/include -Ilibbrotli/c/common -Ilibbrotli/c -Isrc/brotlicffi
 -c libbrotli/c/enc/backward_references_hq.c -o build/temp.macosx-10.6-ppc-
 cpython-312/libbrotli/c/enc/backward_references_hq.o
 libbrotli/c/enc/backward_references_hq.c:101: warning: declaration does
 not declare anything
 libbrotli/c/enc/backward_references_hq.c: In function
 ‘ZopfliCostModelSetFromCommands’:
 libbrotli/c/enc/backward_references_hq.c:158: error: ‘ZopfliCostModel’ has
 no member named ‘arena’
 libbrotli/c/enc/backward_references_hq.c: In function
 ‘ZopfliCostModelSetFromLiteralCosts’:
 libbrotli/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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71686#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list