[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: The gcc 10.x seems to think this is also a bug: /local/users/michael.l.boom/gits/scoring_engine/git/aae_build_python_3.9.1/include/python3.9/object.h:633:41: error: expected ‘(’ before ‘PyType_HasFeature’ 633 | #define PyType_FastSubclass(type, flag) PyType

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Guido van Rossum
Guido van Rossum added the comment: Looks to me like this line is at fault: 607 | } else if PyLong_Check(obj) { That's not valid C. In the GitHub mirror this line has been corrected. -- resolution: -> third party stage: -> resolved status: open -> closed

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: The gcc 10.x thinks that the right side of the expression on incoude/python3.9/object.h should be in parentheses. It seems like a Python bug. Perhaps earlier versions of gcc didn't have a problem with this. /local/users/michael.l.boom/gits/scoring_engine/g

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe libxml is using a deprecated API or an invalid combination of command line flags. I don't feel like debugging this until there's a clearer indication of who's at fault. -- ___ Python tracker

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
Michael L. Boom added the comment: I thought the problem was in a Python file. Perhaps I am mistaken. The libxml2 builds fine when using Python 3.8.x. -- ___ Python tracker ___

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Guido van Rossum
Guido van Rossum added the comment: Have you approached the libxml2 developers with this problem? -- nosy: +gvanrossum ___ Python tracker ___ _

[issue42835] Can't Built libxml2 When Using Python 3.9.x

2021-01-05 Thread Michael L. Boom
New submission from Michael L. Boom : When building libxml2 using Python 3.9.0 or Python 3.9.1 and gcc 10.2.0 I get the below error. Others are having this problem according to my Google search. make[4]: Entering directory '/local/users/michael.l.boom/gits/scoring_engine/git/aae_tmp_dir/libxml