Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695582 - net-analyzer/wapiti-3.0.2 : distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse( pytest-runner )
Summary: net-analyzer/wapiti-3.0.2 : distutils.errors.DistutilsError: Could not find s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 16:42 UTC by Toralf Förster
Modified: 2019-09-24 23:20 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.88 KB, text/plain)
2019-09-24 16:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,196.92 KB, text/plain)
2019-09-24 16:42 UTC, Toralf Förster
Details
environment (environment,107.80 KB, text/plain)
2019-09-24 16:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.06 KB, application/x-bzip)
2019-09-24 16:42 UTC, Toralf Förster
Details
net-analyzer:wapiti-3.0.2:20190924-141843.log (net-analyzer:wapiti-3.0.2:20190924-141843.log,4.28 KB, text/plain)
2019-09-24 16:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.34 KB, application/x-bzip)
2019-09-24 16: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 2019-09-24 16:42:25 UTC
  File "/usr/lib64/python3.6/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
    raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
 * ERROR: net-analyzer/wapiti-3.0.2::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20190920-192958

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

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

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.37.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 24 Sep 2019 13:46:26 +0000

emerge -qpvO net-analyzer/wapiti
[ebuild  N    ] net-analyzer/wapiti-3.0.2  USE="-kerberos -ntlm" PYTHON_TARGETS="python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2019-09-24 16:42:28 UTC
Created attachment 590964 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-24 16:42:30 UTC
Created attachment 590966 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-09-24 16:42:33 UTC
Created attachment 590968 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-09-24 16:42:36 UTC
Created attachment 590970 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-09-24 16:42:39 UTC
Created attachment 590972 [details]
net-analyzer:wapiti-3.0.2:20190924-141843.log
Comment 6 Toralf Förster gentoo-dev 2019-09-24 16:42:41 UTC
Created attachment 590974 [details]
temp.tbz2
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2019-09-24 22:44:03 UTC
Ebuild is trtying to access network:

>>> Compiling source in /var/tmp/portage/net-analyzer/wapiti-3.0.2/work/wapiti3-3.0.2 ...
 * python3_6: running distutils-r1_run_phase distutils-r1_python_compile
python3.6 setup.py build
Download error on https://pypi.org/simple/pytest-runner/: [Errno -3] Temporary failure in name resolution -- Some packag
es may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be
found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
  File "setup.py", line 126, in <module>
    cmdclass={"test": PyTest}
  File "/usr/lib64/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/usr/lib64/python3.6/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib64/python3.6/site-packages/setuptools/dist.py", line 719, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/usr/lib64/python3.6/site-packages/setuptools/dist.py", line 786, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/lib64/python3.6/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
    raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
 * ERROR: net-analyzer/wapiti-3.0.2::gentoo failed (compile phase):
 *   (no error message)
 *
Comment 8 Bernard Cafarelli gentoo-dev 2019-09-24 23:19:37 UTC
Sorry I did not see the added pytest dep (and running ebuild bin this was not visible), fixing
Comment 9 Larry the Git Cow gentoo-dev 2019-09-24 23:20:41 UTC
The bug has been closed via the following commit(s):

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

commit 2259c0f494e9606a6c926347abcbf67226f192d2
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2019-09-24 23:20:20 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2019-09-24 23:20:31 +0000

    net-analyzer/wapiti: fix hard dependency on pytest-runner
    
    Closes: https://bugs.gentoo.org/695582
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 net-analyzer/wapiti/wapiti-3.0.2.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)