Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636824 - dev-python/pyghmi-1.0.22 : ImportError: No module named tasks
Summary: dev-python/pyghmi-1.0.22 : ImportError: No module named tasks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-07 18:13 UTC by Toralf Förster
Modified: 2017-11-07 19:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.76 KB, text/plain)
2017-11-07 18:13 UTC, Toralf Förster
Details
dev-python:pyghmi-1.0.22:20171107-085056.log (dev-python:pyghmi-1.0.22:20171107-085056.log,3.40 KB, text/plain)
2017-11-07 18:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,311.84 KB, text/plain)
2017-11-07 18:13 UTC, Toralf Förster
Details
environment (environment,110.03 KB, text/plain)
2017-11-07 18:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.06 KB, application/x-bzip)
2017-11-07 18:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.92 KB, application/x-bzip)
2017-11-07 18:14 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 2017-11-07 18:13:44 UTC
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2415, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named tasks
error in setup command: Error parsing /var/tmp/portage/dev-python/pyghmi-1.0.22/work/pyghmi-1.0.22/setup.cfg: ImportError: No module named tasks
 * ERROR: dev-python/pyghmi-1.0.22::gentoo failed (compile phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_test_20171025-203252

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.11 [icedtea-7]
2)	IcedTea JDK 3.6.0 [icedtea-8]
3)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-8 
  [3]   icedtea-bin-7 
  [4]   icedtea-bin-8  system-vm

emerge -qpv dev-python/pyghmi
[ebuild  N    ] dev-python/pyghmi-1.0.22  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2017-11-07 18:13:47 UTC
Created attachment 503014 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-07 18:13:50 UTC
Created attachment 503016 [details]
dev-python:pyghmi-1.0.22:20171107-085056.log
Comment 3 Toralf Förster gentoo-dev 2017-11-07 18:13:53 UTC
Created attachment 503018 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-07 18:13:56 UTC
Created attachment 503020 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-07 18:13:59 UTC
Created attachment 503022 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-07 18:14:02 UTC
Created attachment 503024 [details]
temp.tbz2
Comment 7 Zac Medico gentoo-dev 2017-11-07 18:34:41 UTC
Apparently it's an interaction with dev-python/cli_helpers-0.2.0, and it's supposed to be fixed in the latest version of cli_helpers available upstream:

https://github.com/dbcli/cli_helpers/issues/25
Comment 8 Larry the Git Cow gentoo-dev 2017-11-07 19:03:11 UTC
The bug has been closed via the following commit(s):

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

commit 85d4a5455574734bbb97c5218541a9617ebd2f9b
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2017-11-07 18:59:56 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2017-11-07 19:03:03 +0000

    dev-python/pyghmi: blocker older cli_helpers (bug 636824)
    
    This fixes the following build failure:
    
    >>> Compiling source in /var/tmp/portage/dev-python/pyghmi-1.0.22/work/pyghmi-1.0.22 ...
     * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
    /usr/bin/python2.7 setup.py build
    ERROR:root:Error parsing
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
        attrs = util.cfg_to_args(path, dist.script_args)
      File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 267, in cfg_to_args
        wrap_commands(kwargs)
      File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 569, in wrap_commands
        cmdclass = ep.resolve()
      File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2415, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
    ImportError: No module named tasks
    error in setup command: Error parsing /var/tmp/portage/dev-python/pyghmi-1.0.22/work/pyghmi-1.0.22/setup.cfg: ImportError: No module named tasks
    
    See: https://github.com/dbcli/cli_helpers/issues/25
    Closes: https://bugs.gentoo.org/636824
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pyghmi/pyghmi-1.0.22.ebuild | 2 ++
 1 file changed, 2 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit a1026cccdaeede73cd5b2a562d13472a9aacfc17
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2017-11-07 18:54:38 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2017-11-07 19:03:03 +0000

    dev-python/cli_helpers: version bump to 1.0.0 (bug 636824)
    
    Bug: https://bugs.gentoo.org/636824
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/cli_helpers/Manifest                 |  1 +
 dev-python/cli_helpers/cli_helpers-1.0.0.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)}