Summary: | media-gfx/zbar-0.23.1[python] fails to compile with python 3.9 - error: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | PhobosK <phobosk> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, phobosk |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/mchehab/zbar/issues/92 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 725490 | ||
Attachments: |
python3_fix.patch
build.log + emerge --info.txt |
Description
PhobosK
2021-05-07 08:32:12 UTC
Created attachment 706479 [details, diff]
python3_fix.patch
The upstream patch.
Tested and works with python 3.9
Hm, was 3.9 added to ebuild without testing or did this use to work? I'll block py3.9 tracker given this doesn't look actually ported. Created attachment 706506 [details]
build.log + emerge --info.txt
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7efabb81f9bbfc7ea149285949a27400ea6db736 commit 7efabb81f9bbfc7ea149285949a27400ea6db736 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-06-04 11:21:30 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-06-04 11:23:44 +0000 media-gfx/zbar: fix python3_9 compilation failure Backported upstream fix. Tested against python3_8 and python3_9, compiles fine against both. Reported-by: PhobosK <phobosk@fastmail.fm> Closes: https://bugs.gentoo.org/788703 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../zbar/files/zbar-0.23.1_python_tp_print.patch | 55 ++++++++++++++++++++++ media-gfx/zbar/zbar-0.23.1.ebuild | 1 + 2 files changed, 56 insertions(+) |