Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636954 - dev-python/funcsigs-1.0.2-r1: ImportError: No module named 'pbr'
Summary: dev-python/funcsigs-1.0.2-r1: ImportError: No module named 'pbr'
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-09 12:36 UTC by Thomas Deutschmann
Modified: 2018-09-28 19:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2017-11-09 12:36:48 UTC
* Package:    dev-python/funcsigs-1.0.2-r1
 * Repository: gentoo
 * USE:        abi_x86_32 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 userland_GNU x86
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking funcsigs-1.0.2.tar.gz to /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2 ...
 * Applying funcsigs-1.0.2-fix-pypy3-tests.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python2_7/lib/funcsigs
copying funcsigs/__init__.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python2_7/lib/funcsigs
copying funcsigs/version.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python2_7/lib/funcsigs
warning: build_py: byte-compiling is disabled, skipping.

 * python3_4: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.4 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_4/lib/funcsigs
copying funcsigs/__init__.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_4/lib/funcsigs
copying funcsigs/version.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_4/lib/funcsigs
warning: build_py: byte-compiling is disabled, skipping.

 * python3_5: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python3.5 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_5/lib/funcsigs
copying funcsigs/__init__.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_5/lib/funcsigs
copying funcsigs/version.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_5/lib/funcsigs
warning: build_py: byte-compiling is disabled, skipping.

>>> Source compiled.
>>> Test phase [not enabled]: dev-python/funcsigs-1.0.2-r1

>>> Install funcsigs-1.0.2-r1 into /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/ category dev-python
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install
/usr/bin/python2.7 setup.py install --root=/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7
running install
running build
running build_py
running install_lib
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs
copying /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python2_7/lib/funcsigs/__init__.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs
copying /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python2_7/lib/funcsigs/version.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs
byte-compiling /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs/__init__.py to __init__.pyc
byte-compiling /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs/version.py to version.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpMXPPJu.py'
/usr/bin/python2.7 -OO /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpMXPPJu.py
removing /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpMXPPJu.py
running install_egg_info
running egg_info
writing requirements to funcsigs.egg-info/requires.txt
writing funcsigs.egg-info/PKG-INFO
writing top-level names to funcsigs.egg-info/top_level.txt
writing dependency_links to funcsigs.egg-info/dependency_links.txt
reading manifest file 'funcsigs.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'funcsigs.egg-info/SOURCES.txt'
Copying funcsigs.egg-info to /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python2.7/usr/lib/python2.7/site-packages/funcsigs-1.0.2-py2.7.egg-info
running install_scripts
 * python3_4: running distutils-r1_run_phase distutils-r1_python_install
/usr/bin/python3.4 setup.py install --root=/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4
running install
running build
running build_py
running install_lib
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages
creating /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages/funcsigs
copying /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_4/lib/funcsigs/__init__.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages/funcsigs
copying /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2-python3_4/lib/funcsigs/version.py -> /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages/funcsigs
byte-compiling /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages/funcsigs/__init__.py to __init__.cpython-34.pyc
byte-compiling /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4/usr/lib/python3.4/site-packages/funcsigs/version.py to version.cpython-34.pyc
writing byte-compilation script '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpd22uqo4e.py'
/usr/bin/python3.4 -OO /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpd22uqo4e.py
removing /var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/tmpd22uqo4e.py
running install_egg_info
running egg_info
writing dependency_links to funcsigs.egg-info/dependency_links.txt
writing top-level names to funcsigs.egg-info/top_level.txt
writing funcsigs.egg-info/PKG-INFO
writing requirements to funcsigs.egg-info/requires.txt
Traceback (most recent call last):
  File "setup.py", line 51, in <module>
    test_suite = 'unittest2.collector',
  File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.4/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python3.4/distutils/command/install.py", line 551, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.4/site-packages/setuptools/command/install_egg_info.py", line 34, in run
    self.run_command('egg_info')
  File "/usr/lib/python3.4/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 271, in run
    writer = ep.resolve()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2302, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named 'pbr'
 * ERROR: dev-python/funcsigs-1.0.2-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_install
 *   environment, line 2677:  Called distutils-r1_src_install
 *   environment, line  824:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_install'
 *   environment, line  295:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 2209:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 1515:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 1513:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line  531:  Called distutils-r1_run_phase 'distutils-r1_python_install'
 *   environment, line  792:  Called distutils-r1_python_install
 *   environment, line  708:  Called esetup.py 'install' '--root=/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/image/_python3.4'
 *   environment, line 1060:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/funcsigs-1.0.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/funcsigs-1.0.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2'
 * S: '/var/tmp/portage/dev-python/funcsigs-1.0.2-r1/work/funcsigs-1.0.2'
Comment 1 Virgil Dupras gentoo-dev 2018-09-28 19:14:49 UTC
I can't manage to reproduce this. I have a hint that it's caused by a setuptools bug that would somehow be confused by the presence of a stray "pbr.json" file in "funcsigs.egg-info", but setuptools-34 and setuptools-36 on python3.4 don't trigger the bug.

Can you still reproduce this Thomas?