[MacPorts] #65240: gobject-introspection 1.72.0 +universal failure: xml.etree.ElementTree.ParseError: not well-formed (invalid token) (was: harfbuzz fails to upgrade to @4.3.0 on Leopard)
MacPorts
noreply at macports.org
Sat May 28 22:43:48 UTC 2022
#65240: gobject-introspection 1.72.0 +universal failure:
xml.etree.ElementTree.ParseError: not well-formed (invalid token)
------------------------------------+------------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard
Port: gobject-introspection |
------------------------------------+------------------------------
Changes (by barracuda156):
* port: harfbuzz => gobject-introspection
Old description:
> {{{
> Traceback (most recent call last):
> File "/opt/local/bin/g-ir-scanner", line 99, in <module>
> sys.exit(scanner_main(sys.argv))
> File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
> line 590, in scanner_main
> transformer = create_transformer(namespace, options)
> File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
> line 409, in create_transformer
> transformer.register_include(include_obj)
> File "/opt/local/lib/gobject-introspection/giscanner/transformer.py",
> line 140, in register_include
> self._parse_include(filename)
> File "/opt/local/lib/gobject-introspection/giscanner/transformer.py",
> line 223, in _parse_include
> parser.parse(filename)
> File "/opt/local/lib/gobject-introspection/giscanner/girparser.py",
> line 59, in parse
> tree = parse(filename)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/xml/etree/ElementTree.py",
> line 1229, in parse
> tree.parse(source, parser)
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/xml/etree/ElementTree.py",
> line 580, in parse
> self._root = parser._parse_whole(source)
> xml.etree.ElementTree.ParseError: not well-formed (invalid token): line
> 231, column 0
> make[4]: *** [HarfBuzz-0.0.gir] Error 1
> make[4]: *** Waiting for unfinished jobs....
> }}}
New description:
Original ticket title was: harfbuzz fails to upgrade to @4.3.0 on Leopard
However turns out the failure is caused by `gobject-introspection` and not
`harfbuzz`: https://github.com/macports/macports-ports/pull/14909
Example with `harfbuzz`:
{{{
Traceback (most recent call last):
File "/opt/local/bin/g-ir-scanner", line 99, in <module>
sys.exit(scanner_main(sys.argv))
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 590, in scanner_main
transformer = create_transformer(namespace, options)
File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py",
line 409, in create_transformer
transformer.register_include(include_obj)
File "/opt/local/lib/gobject-introspection/giscanner/transformer.py",
line 140, in register_include
self._parse_include(filename)
File "/opt/local/lib/gobject-introspection/giscanner/transformer.py",
line 223, in _parse_include
parser.parse(filename)
File "/opt/local/lib/gobject-introspection/giscanner/girparser.py", line
59, in parse
tree = parse(filename)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/xml/etree/ElementTree.py",
line 1229, in parse
tree.parse(source, parser)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/xml/etree/ElementTree.py",
line 580, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line
231, column 0
make[4]: *** [HarfBuzz-0.0.gir] Error 1
make[4]: *** Waiting for unfinished jobs....
}}}
Another example is `pango` (see the PR).
--
--
Ticket URL: <https://trac.macports.org/ticket/65240#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list