Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701578 - dev-libs/libxml2-2.9.9-r1: python3_8 support? TypeError: 'NoneType' object is not callable
Summary: dev-libs/libxml2-2.9.9-r1: python3_8 support? TypeError: 'NoneType' object is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-30 15:42 UTC by Andreas Sturmlechner
Modified: 2019-12-04 16:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,302.74 KB, text/x-log)
2019-11-30 15:42 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2019-11-30 15:42:40 UTC
Created attachment 597990 [details]
build.log

Added py38 and regular tests passed except for python3_7 and python3_8, I'm not sure what to make of it:


 * python3_7: running libxml2_py_emake test
make -j8 test 
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python'
Making all in .
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python'
Making all in tests
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python/tests'
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python'
cd tests && make tests
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python/tests'
## running Python regression tests
TypeError: 'NoneType' object is not callable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 80, in <module>
    test.test1()
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 62, in test1
    line=0)
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 30, in failUnlessXmlError
    f(*args)
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/libxml2.py", line 1374, in readFile
    ret = libxml2mod.xmlReadFile(filename, encoding, options)
SystemError: <built-in function xmlReadFile> returned a result with an error set
-- tstLastError.py

make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_7/python/tests'
 * python3_8: running libxml2_py_emake test
make -j8 test 
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python'
Making all in .
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python'
Making all in tests
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python/tests'
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python'
cd tests && make tests
make[1]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python/tests'
## running Python regression tests
TypeError: 'NoneType' object is not callable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 80, in <module>
    test.test1()
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 54, in test1
    self.failUnlessXmlError(libxml2.readFile,
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/tests/tstLastError.py", line 30, in failUnlessXmlError
    f(*args)
  File "/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9/python/libxml2.py", line 1374, in readFile
    ret = libxml2mod.xmlReadFile(filename, encoding, options)
SystemError: <built-in function xmlReadFile> returned a result with an error set
-- tstLastError.py

make[1]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.9.9-r1/work/libxml2-2.9.9-abi_x86_64.amd64-python3_8/python/tests'
>>> Completed testing dev-libs/libxml2-2.9.9-r1
Comment 1 Larry the Git Cow gentoo-dev 2019-12-04 16:37:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c504c5616aa0e1f16a569ffa299d8b1029e940cd

commit c504c5616aa0e1f16a569ffa299d8b1029e940cd
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-11-30 15:44:45 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-12-04 16:36:54 +0000

    dev-libs/libxml2: python3_8
    
    Closes: https://bugs.gentoo.org/701578
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-libs/libxml2/libxml2-2.9.9-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)