* [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8
@ 2019-10-25 12:41 bugzilla at busybox.net
2019-11-27 14:05 ` [Buildroot] [Bug 12286] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-10-25 12:41 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12286
Bug ID: 12286
Summary: Can't import gobject in python 3.8
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: grzegorz at blach.pl
CC: buildroot at uclibc.org
Target Milestone: ---
This appears to be a similar problem to libselinux:
>>> import gobject
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/gobject/__init__.py", line 26, in
<module>
File "/usr/lib/python3.8/site-packages/glib/__init__.py", line 22, in
<module>
SystemError: initialization of _glib raised unreported exception
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 12286] Can't import gobject in python 3.8
2019-10-25 12:41 [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8 bugzilla at busybox.net
@ 2019-11-27 14:05 ` bugzilla at busybox.net
2019-11-28 18:36 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-11-27 14:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12286
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |info at hifiberry.com
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
*** Bug 12346 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 12286] Can't import gobject in python 3.8
2019-10-25 12:41 [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8 bugzilla at busybox.net
2019-11-27 14:05 ` [Buildroot] [Bug 12286] " bugzilla at busybox.net
@ 2019-11-28 18:36 ` bugzilla at busybox.net
2019-11-28 19:07 ` bugzilla at busybox.net
2019-12-03 22:51 ` bugzilla at busybox.net
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 18:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12286
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Unfortunately, the version of python-gobject we use is very old, because it was
I guess the latest version that doesn't need gobject-introspection.
The same issue was reported to Arch Linux
(https://bugs.archlinux.org/task/64541), and they simply removed their
python-gobject2 package.
So I think for now, we should disallow our python-gobject package with Python
3.x, until we merge the gobject-introspection support, which will allow us to
update to a newer version of python-gobject.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 12286] Can't import gobject in python 3.8
2019-10-25 12:41 [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8 bugzilla at busybox.net
2019-11-27 14:05 ` [Buildroot] [Bug 12286] " bugzilla at busybox.net
2019-11-28 18:36 ` bugzilla at busybox.net
@ 2019-11-28 19:07 ` bugzilla at busybox.net
2019-12-01 18:43 ` Adam Duskett
2019-12-03 22:51 ` bugzilla at busybox.net
3 siblings, 1 reply; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-11-28 19:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12286
--- Comment #3 from info at hifiberry.com ---
As Python2 support ends in less than 2 months, just disabling it on Python3
won't really help as there should be no new software anymore that still uses
Python2.
What's the state of the introspection code?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 12286] Can't import gobject in python 3.8
2019-11-28 19:07 ` bugzilla at busybox.net
@ 2019-12-01 18:43 ` Adam Duskett
0 siblings, 0 replies; 6+ messages in thread
From: Adam Duskett @ 2019-12-01 18:43 UTC (permalink / raw)
To: buildroot
Hello;
On Thu, Nov 28, 2019 at 11:07 AM <bugzilla@busybox.net> wrote:
>
> https://bugs.busybox.net/show_bug.cgi?id=12286
>
> --- Comment #3 from info at hifiberry.com ---
> As Python2 support ends in less than 2 months, just disabling it on Python3
> won't really help as there should be no new software anymore that still uses
> Python2.
> What's the state of the introspection code?
>
I have a patch series here:
https://patchwork.ozlabs.org/project/buildroot/list/?series=137614
There are currently issues with patch 4/5 which causes libglib2 to not
build properly
if python3 isn't built yet for the target. There are suggestions on
how to fix the issue,
however, I do not have the time to implement the changes.
Other than that issue, I personally use gobject-introspection in my
current projects and
it works quite well! Any feedback would be appreciated!
Adam
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 12286] Can't import gobject in python 3.8
2019-10-25 12:41 [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8 bugzilla at busybox.net
` (2 preceding siblings ...)
2019-11-28 19:07 ` bugzilla at busybox.net
@ 2019-12-03 22:51 ` bugzilla at busybox.net
3 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-12-03 22:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12286
Arnout Vandecappelle <arnout@mind.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Arnout Vandecappelle <arnout@mind.be> ---
"Fixed" by commit 4a392d1678 which excludes python-gobject for python3.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-03 22:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-25 12:41 [Buildroot] [Bug 12286] New: Can't import gobject in python 3.8 bugzilla at busybox.net
2019-11-27 14:05 ` [Buildroot] [Bug 12286] " bugzilla at busybox.net
2019-11-28 18:36 ` bugzilla at busybox.net
2019-11-28 19:07 ` bugzilla at busybox.net
2019-12-01 18:43 ` Adam Duskett
2019-12-03 22:51 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox