Bug 1842164
Summary: | zbar fails to build with Python 3.9, zbar-python3 fails to install: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Raits <igor.raits> |
Component: | zbar | Assignee: | Mauro Carvalho Chehab <mchehab> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cstratak, dougsland, mchehab, mhroncok, mr.marcelo.barbosa, negativo17 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-11 15:11:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1785415, 1803234, 1803235 |
Description
Igor Raits
2020-05-30 17:34:56 UTC
https://koji.fedoraproject.org/koji/packageinfo?packageID=8926 python/enum.c: In function 'enumitem_print': python/enum.c:84:31: error: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print' 84 | return(self->name->ob_type->tp_print(self->name, fp, flags)); | ^~ python/enum.c: At top level: python/enum.c:118:6: error: 'PyTypeObject' {aka 'struct _typeobject'} has no member named 'tp_print' 118 | .tp_print = (printfunc)enumitem_print, | ^~~~~~~~ python/enum.c:118:23: warning: initialization of 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} from 'long int' makes pointer from integer without a cast [-Wint-conversion] 118 | .tp_print = (printfunc)enumitem_print, | ^ python/enum.c:118:23: note: (near initialization for 'zbarEnumItem_Type.tp_getattro') python/enum.c: In function 'enumitem_print': python/enum.c:85:1: warning: control reaches end of non-void function [-Wreturn-type] 85 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/zbar-0.23' make[2]: *** [Makefile:1454: python/zbar_la-enum.lo] Error 1 make[1]: *** [Makefile:1875: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/zbar-0.23' make: *** [Makefile:955: all] Error 2 See https://docs.python.org/3.9/whatsnew/3.9.html#id3 The tp_print slot of PyTypeObject has been removed. It was used for printing objects to files in Python 2.7 and before. Since Python 3.0, it has been ignored and unused. https://bugs.python.org/issue36974 Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. *** This bug has been marked as a duplicate of bug 1791745 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |