Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812776 - dev-libs/glib-2.68.4 - ModuleNotFoundError: No module named pyexpat
Summary: dev-libs/glib-2.68.4 - ModuleNotFoundError: No module named pyexpat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-12 14:42 UTC by Toralf Förster
Modified: 2022-02-03 06:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.44 KB, text/plain)
2021-09-12 14:42 UTC, Toralf Förster
Details
dev-libs:glib-2.68.4:20210912-135652.log (dev-libs:glib-2.68.4:20210912-135652.log,116.01 KB, text/plain)
2021-09-12 14:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.63 KB, text/plain)
2021-09-12 14:42 UTC, Toralf Förster
Details
environment (environment,170.31 KB, text/plain)
2021-09-12 14:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.27 KB, application/x-bzip)
2021-09-12 14:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,23.96 KB, application/x-bzip)
2021-09-12 14:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,45.41 KB, application/x-bzip)
2021-09-12 14:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-09-12 14:42:48 UTC
[99/420] /usr/lib/python-exec/python3.9/meson --internal exe --capture gobject/glib-enumtypes.h -- /var/tmp/portage/dev-libs/glib-2.68.4/temp/python3.10/bin/python3 gobject/glib-mkenums --template ../glib-2.68.4/gobject/glib-enumtypes.h.template ../glib-2.68.4/gobject/../glib/gunicode.h
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20210912-114253

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Rust versions:
  (none found)

  HEAD of ::gentoo
commit ca3a609c975106787c73c2f4616017e08ad0439b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 12 10:51:31 2021 +0000

    2021-09-12 10:51:30 UTC

emerge -qpvO dev-libs/glib
[ebuild  N    ] dev-libs/glib-2.68.4  USE="elf mime xattr -dbus -debug -fam -gtk-doc (-selinux) -static-libs -sysprof -systemtap -test -utils"
Comment 1 Toralf Förster gentoo-dev 2021-09-12 14:42:49 UTC
Created attachment 739024 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-12 14:42:51 UTC
Created attachment 739027 [details]
dev-libs:glib-2.68.4:20210912-135652.log
Comment 3 Toralf Förster gentoo-dev 2021-09-12 14:42:52 UTC
Created attachment 739030 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-12 14:42:54 UTC
Created attachment 739033 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-12 14:42:55 UTC
Created attachment 739036 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-12 14:42:57 UTC
Created attachment 739039 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-12 14:42:58 UTC
Created attachment 739042 [details]
temp.tar.bz2
Comment 8 Matt Turner gentoo-dev 2022-02-03 05:46:22 UTC
> Traceback (most recent call last):
>  File "/var/tmp/portage/dev-libs/glib-2.68.4/work/glib-2.68.4-abi_x86_64.amd64/gio/gdbus-2.0/codegen/gdbus-codegen", line 53, in <module>
>     from codegen import codegen_main
>   File "/var/tmp/portage/dev-libs/glib-2.68.4/work/glib-2.68.4-abi_x86_64.amd64/gio/gdbus-2.0/codegen/codegen_main.py", line 30, in <module>
>     from . import parser
>   File "/var/tmp/portage/dev-libs/glib-2.68.4/work/glib-2.68.4-abi_x86_64.amd64/gio/gdbus-2.0/codegen/parser.py", line 22, in <module>
>     import xml.parsers.expat
>   File "/usr/lib/python3.10/xml/parsers/expat.py", line 4, in <module>
>     from pyexpat import *
> ModuleNotFoundError: No module named 'pyexpat'

Looks like glib executes its own gdbus-codegen during the build.
Comment 9 Larry the Git Cow gentoo-dev 2022-02-03 06:20:52 UTC
The bug has been closed via the following commit(s):

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

commit dda05dc9feb8261c42edac1c816911cf2ab2da08
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-02-03 05:46:07 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-02-03 06:20:42 +0000

    dev-libs/glib: Depend on dev-lang/python[xml]
    
    Closes: https://bugs.gentoo.org/812776
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/glib/glib-2.70.2.ebuild | 3 ++-
 dev-libs/glib/glib-2.70.3.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)