Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 823728

Summary: [stable] dev-lang/python-3.9.7_p1 - ModuleNotFoundError: No module named binascii
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=831855
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 822354    
Attachments: emerge-info.txt
dev-lang:python-3.9.7_p1:20211114-113536.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-11-14 14:39:14 UTC
  File "/var/tmp/portage/dev-lang/python-3.9.7_p1/work/Python-3.9.7/Lib/zipfile.py", line 6, in <module>
    import binascii
ModuleNotFoundError: No module named 'binascii'
make: *** [Makefile:640: sharedmods] Error 1
 * ERROR: dev-lang/python-3.9.7_p1::gentoo failed (compile phase):
 *   emake failed
 * 

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4_stable-20211114-100715

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
Python 3.9.7
php cli:

  HEAD of ::gentoo
commit 6980474095c30c80f30f5962c049517006f9109b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 14 10:06:46 2021 +0000

    2021-11-14 10:06:45 UTC

emerge -qpvO dev-lang/python
[ebuild   R   ] dev-lang/python-3.9.7_p1  USE="bluetooth* examples* gdbm ncurses readline sqlite ssl tk* xml -build -hardened -test -verify-sig -wininst"
Comment 1 Toralf Förster gentoo-dev 2021-11-14 14:39:15 UTC
Created attachment 751114 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-14 14:39:17 UTC
Created attachment 751116 [details]
dev-lang:python-3.9.7_p1:20211114-113536.log
Comment 3 Toralf Förster gentoo-dev 2021-11-14 14:39:18 UTC
Created attachment 751118 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-11-14 14:39:19 UTC
Created attachment 751120 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-11-14 14:39:20 UTC
Created attachment 751122 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-14 14:39:21 UTC
Created attachment 751124 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-11-14 14:39:22 UTC
Created attachment 751126 [details]
temp.tar.bz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-11-14 15:17:22 UTC
*** Bug 822342 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2021-11-14 16:29:08 UTC
The bug has been closed via the following commit(s):

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

commit cba81ae61e4fb5b260f91a540a1988e9091768f2
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-11-14 16:00:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-11-14 16:29:05 +0000

    dev-lang/python: Force stdlib distutils for build
    
    Closes: https://bugs.gentoo.org/823728
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-lang/python/python-3.10.0_p1.ebuild     | 3 +++
 dev-lang/python/python-3.11.0_alpha1.ebuild | 3 +++
 dev-lang/python/python-3.11.0_alpha2.ebuild | 3 +++
 dev-lang/python/python-3.8.12_p1.ebuild     | 3 +++
 dev-lang/python/python-3.9.7_p1.ebuild      | 3 +++
 dev-lang/python/python-3.9.8.ebuild         | 3 +++
 6 files changed, 18 insertions(+)