Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725114 - dev-python/h5py-2.10.0-r1 fails to emerge: failed to establish a new connection Name or service not known')': /simple/pkgconfig/
Summary: dev-python/h5py-2.10.0-r1 fails to emerge: failed to establish a new connect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-24 20:08 UTC by Jean-Francois Ostiguy
Modified: 2020-05-25 05:55 UTC (History)
5 users (show)

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


Attachments
emerge.info (emerge.info,7.76 KB, application/x-info)
2020-05-24 21:22 UTC, Jean-Francois Ostiguy
Details
build.log (build.log,6.50 KB, text/x-log)
2020-05-24 21:22 UTC, Jean-Francois Ostiguy
Details
eclass-debug.log (eclass-debug.log,4.17 KB, text/x-log)
2020-05-24 21:25 UTC, Jean-Francois Ostiguy
Details
build-python3_7.log (build-python3_7.log,5.64 KB, text/x-log)
2020-05-24 21:26 UTC, Jean-Francois Ostiguy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Ostiguy 2020-05-24 20:08:56 UTC
>>> Unpacking source...
>>> Unpacking h5py-2.10.0.tar.gz to /var/tmp/portage/dev-python/h5py-2.10.0-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/h5py-2.10.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0 ...
 * Applying h5py-2.10.0-tests.patch ...                                                                                                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0 ...
 * python3_7: running distutils-r1_run_phase python_configure
python3.7 setup.py configure
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f415780dc90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pkgconfig/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f415780d250>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pkgconfig/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f415779cbd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pkgconfig/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f41577addd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pkgconfig/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f41577ad190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pkgconfig/
ERROR: Could not find a version that satisfies the requirement pkgconfig (from versions: none)
ERROR: No matching distribution found for pkgconfig
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/tmp30e0981g', '--quiet', 'pkgconfig']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "setup.py", line 159, in <module>
    cmdclass = CMDCLASS,
  File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.7/site-packages/setuptools/__init__.py", line 138, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 698, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/usr/lib/python3.7/site-packages/setuptools/dist.py", line 754, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/usr/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/tmp30e0981g', '--quiet', 'pkgconfig']' returned non-zero exit status 1.
 * ERROR: dev-python/h5py-2.10.0-r1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3407:  Called distutils-r1_src_configure
 *   environment, line 1406:  Called _distutils-r1_run_foreach_impl 'python_configure'
 *   environment, line  503:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2923:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2372:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2370:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure'
 *   environment, line  951:  Called distutils-r1_run_phase 'python_configure'
 *   environment, line 1386:  Called python_configure
 *   environment, line 2668:  Called esetup.py 'configure'
 *   environment, line 1803:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/h5py-2.10.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/h5py-2.10.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0'
 * S: '/var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0'

>>> Failed to emerge dev-python/h5py-2.10.0-r1, Log file:

>>>  '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/build.log'

 * Messages for package dev-python/h5py-2.10.0-r1:

 * ERROR: dev-python/h5py-2.10.0-r1::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 3407:  Called distutils-r1_src_configure
 *   environment, line 1406:  Called _distutils-r1_run_foreach_impl 'python_configure'
 *   environment, line  503:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2923:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2372:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_configure'
 *   environment, line 2370:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_configure'
 *   environment, line  951:  Called distutils-r1_run_phase 'python_configure'
 *   environment, line 1386:  Called python_configure
 *   environment, line 2668:  Called esetup.py 'configure'
 *   environment, line 1803:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/h5py-2.10.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/h5py-2.10.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/h5py-2.10.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0'
 * S: '/var/tmp/portage/dev-python/h5py-2.10.0-r1/work/h5py-2.10.0'


Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2020-05-24 20:43:33 UTC
Thank you for the report. We need to have all information at hand. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Jean-Francois Ostiguy 2020-05-24 21:22:28 UTC
Created attachment 641480 [details]
emerge.info
Comment 3 Jean-Francois Ostiguy 2020-05-24 21:22:56 UTC
Created attachment 641482 [details]
build.log
Comment 4 Jean-Francois Ostiguy 2020-05-24 21:25:19 UTC
Created attachment 641484 [details]
eclass-debug.log
Comment 5 Jean-Francois Ostiguy 2020-05-24 21:26:00 UTC
Created attachment 641486 [details]
build-python3_7.log
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-25 05:35:57 UTC
commit d9681e53572f2acdade2520930f4d64c42900e01
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-01-15 09:41:42 +0100
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2020-01-25 04:51:35 +0100

    dev-python/h5py: Version bump 2.10.0


removed PYTHON_USEDEP on dev-python/pkgconfig for no clear reason.
Comment 7 Larry the Git Cow gentoo-dev 2020-05-25 05:55:48 UTC
The bug has been closed via the following commit(s):

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

commit 3633758f2c2b098894e4b85f41f87bf07af817f4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-05-25 05:34:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-05-25 05:55:44 +0000

    dev-python/h5py: Restore PYTHON_USEDEP on pkgconfig
    
    Closes: https://bugs.gentoo.org/725114
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)