Comment 7 for bug 2002511

Revision history for this message
In , mhroncok (mhroncok-redhat-bugs) wrote :

I can confirm DFLTCC=0 makes the problem go away.

$ python3
..
>>> libxml2.parseFile("file.xml.gz")
file.xml.gz:1: parser error : Document is empty

^
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/libxml2.py", line 1362, in parseFile
    if ret is None:raise parserError('xmlParseFile() failed')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
libxml2.parserError: xmlParseFile() failed

$ DFLTCC=0 python3
...
>>> libxml2.parseFile("file.xml.gz")
<xmlDoc (file.xml.gz) object at 0x3ff930787d0>