Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714670 - dev-libs/libgusb-0.3.4 : ModuleNotFoundError: No module named pkg_resources
Summary: dev-libs/libgusb-0.3.4 : ModuleNotFoundError: No module named pkg_resources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 08:14 UTC by Toralf Förster
Modified: 2020-03-25 20:33 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.45 KB, text/plain)
2020-03-25 08:14 UTC, Toralf Förster
Details
dev-libs:libgusb-0.3.4:20200325-052157.log (dev-libs:libgusb-0.3.4:20200325-052157.log,24.01 KB, text/plain)
2020-03-25 08:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,114.13 KB, text/plain)
2020-03-25 08:14 UTC, Toralf Förster
Details
environment (environment,111.72 KB, text/plain)
2020-03-25 08:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.17 KB, application/x-bzip)
2020-03-25 08:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.35 KB, application/x-bzip)
2020-03-25 08:15 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 2020-03-25 08:14:49 UTC
  File /var/tmp/portage/dev-libs/libgusb-0.3.4/work/libgusb-0.3.4/contrib/generate-version-script.py, line 11, in <module>
    from pkg_resources import parse_version
ModuleNotFoundError: No module named pkg_resources
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/libgusb-0.3.4::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /var/tmp/portage/dev-libs/libgusb-0.3.4/work/libgusb-0.3.4-abi_x86_64.amd64 failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-libressl-20200322-195413

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 25 Mar 2020 02:42:49 AM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO dev-libs/libgusb
[ebuild  N    ] dev-libs/libgusb-0.3.4  USE="introspection vala -gtk-doc -static-libs -test" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2020-03-25 08:14:51 UTC
Created attachment 625630 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-25 08:14:54 UTC
Created attachment 625632 [details]
dev-libs:libgusb-0.3.4:20200325-052157.log
Comment 3 Toralf Förster gentoo-dev 2020-03-25 08:14:56 UTC
Created attachment 625634 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-25 08:14:59 UTC
Created attachment 625636 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-25 08:15:02 UTC
Created attachment 625638 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-25 08:15:05 UTC
Created attachment 625640 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-25 20:33:02 UTC
The bug has been closed via the following commit(s):

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

commit 115cc90adfb3176abb9096fcaa06a0978e639470
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-25 20:29:56 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-25 20:32:50 +0000

    dev-libs/libgusb: Depend on setuptools
    
    A new build-time script was added in 0.3.4 that imports pkg_resources
    and xml.etree.ElementTree.
    
    Closes: https://bugs.gentoo.org/714670
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/libgusb/libgusb-0.3.4.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)