dev-python/pygatt: emerge failed #1092

Closed
opened 2023-02-21 12:42:20 +01:00 by zentoo · 2 comments
>>> Emerging (1 of 1) dev-python/pygatt-4.0.5-r1::HomeAssistantRepository
 * pygatt-4.0.5.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking pygatt-4.0.5.tar.gz to /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ...
 * Build system packages:
 *   dev-python/setuptools         : 67.3.2
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ...
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
python3.10 setup.py build -j 4
/usr/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61aff40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61ae6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61af2e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61afca0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61acc40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/
ERROR: Could not find a version that satisfies the requirement nose>=1.3.7 (from versions: none)
ERROR: No matching distribution found for nose>=1.3.7
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 97, in _fetch_build_egg_no_warn
    subprocess.check_call(cmd)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/tmpb2qljeec', '--quiet', 'nose>=1.3.7']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5/setup.py", line 16, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
    _fetch_build_eggs(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 85, in _fetch_build_eggs
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 894, in fetch_build_eggs
    return _fetch_build_eggs(self, requires)
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 815, in resolve
    dist = self._resolve_dist(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 851, in _resolve_dist
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1123, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1135, in obtain
    return installer(requirement)
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 99, in _fetch_build_egg_no_warn
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/tmpb2qljeec', '--quiet', 'nose>=1.3.7']' returned non-zero exit status 1.
 * ERROR: dev-python/pygatt-4.0.5-r1::HomeAssistantRepository failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3292:  Called distutils-r1_src_compile
 *   environment, line 1500:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  681:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2993:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2557:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2555:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  989:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1482:  Called distutils-r1_python_compile
 *   environment, line 1292:  Called esetup.py 'build' '-j' '4'
 *   environment, line 2089:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 *
 * If you need support, post the output of `emerge --info '=dev-python/pygatt-4.0.5-r1::HomeAssistantRepository'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pygatt-4.0.5-r1::HomeAssistantRepository'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5'
 * S: '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5'

>>> Failed to emerge dev-python/pygatt-4.0.5-r1
``` >>> Emerging (1 of 1) dev-python/pygatt-4.0.5-r1::HomeAssistantRepository * pygatt-4.0.5.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pygatt-4.0.5.tar.gz to /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work >>> Preparing source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ... * Build system packages: * dev-python/setuptools : 67.3.2 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build -j 4 /usr/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. dist.fetch_build_eggs(dist.setup_requires) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61aff40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61ae6b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61af2e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61afca0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fead61acc40>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/nose/ ERROR: Could not find a version that satisfies the requirement nose>=1.3.7 (from versions: none) ERROR: No matching distribution found for nose>=1.3.7 Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 97, in _fetch_build_egg_no_warn subprocess.check_call(cmd) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/tmpb2qljeec', '--quiet', 'nose>=1.3.7']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5/setup.py", line 16, in <module> setup( File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup _install_setup_requires(attrs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires _fetch_build_eggs(dist) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 85, in _fetch_build_eggs dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 894, in fetch_build_eggs return _fetch_build_eggs(self, requires) File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 815, in resolve dist = self._resolve_dist( File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 851, in _resolve_dist dist = best[req.key] = env.best_match( File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1123, in best_match return self.obtain(req, installer) File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1135, in obtain return installer(requirement) File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 99, in _fetch_build_egg_no_warn raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/tmpb2qljeec', '--quiet', 'nose>=1.3.7']' returned non-zero exit status 1. * ERROR: dev-python/pygatt-4.0.5-r1::HomeAssistantRepository failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3292: Called distutils-r1_src_compile * environment, line 1500: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 681: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2993: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2557: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2555: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 989: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1482: Called distutils-r1_python_compile * environment, line 1292: Called esetup.py 'build' '-j' '4' * environment, line 2089: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/pygatt-4.0.5-r1::HomeAssistantRepository'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygatt-4.0.5-r1::HomeAssistantRepository'`. * The complete build log is located at '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5' * S: '/var/tmp/portage/dev-python/pygatt-4.0.5-r1/work/pygatt-4.0.5' >>> Failed to emerge dev-python/pygatt-4.0.5-r1 ```
Author

It seems related to a DNS resolution problem but I've try to change nameserver in /etc/resolv.conf with different ones (ISP, Google, Cloudflare) and still get the same message.

I even try to force IPv4 by setting locally an IPv4 for pypi.python.org domain in /etc/hosts. Note: I'm not sure pip is using this domain.

It seems related to a DNS resolution problem but I've try to change nameserver in /etc/resolv.conf with different ones (ISP, Google, Cloudflare) and still get the same message. I even try to force IPv4 by setting locally an IPv4 for pypi.python.org domain in /etc/hosts. Note: I'm not sure pip is using this domain.
Contributor

check again with these modifications in pull ddb5532108

check again with these modifications in pull https://git.edevau.net/onkelbeh/HomeAssistantRepository/commit/ddb5532108040145810fea070b660f3fb2d6f2e6
onkelbeh added the
Bug
label 2023-02-26 09:23:29 +01:00
onkelbeh added this to the 2023.2.5 milestone 2023-02-26 09:23:48 +01:00
Sign in to join this conversation.
No Label
Bug
Bump/Update
Cleanup
Dupe
Enhancement
File Collision
Forked
help wanted
Integration: accuweather
Integration: acmeda
Integration: acomax
Integration: adax
Integration: adguard
Integration: aemet
Integration: aep_ohio
Integration: aep_texas
Integration: airq
Integration: airthings
Integration: airthings_ble
Integration: airtouch5
Integration: airzone
Integration: airzone_cloud
Integration: amazon_polly
Integration: amberelectric
Integration: ambient_station
Integration: analytics_insights
Integration: anel_pwrctrl
Integration: aosmith
Integration: apache_kafka
Integration: apcupsd
Integration: appalachianpower
Integration: apprise
Integration: aprilaire
Integration: asuswrt
Integration: august
Integration: aws
Integration: axis
Integration: backup
Integration: bang_olufsen
Integration: blebox
Integration: blink
Integration: bluetooth
Integration: blue_current
Integration: bmw_connected_drive
Integration: bosch_shc
Integration: bring
Integration: brother
Integration: brottsplatskartan
Integration: bsblan
Integration: bthome
Integration: caldav
Integration: cast
Integration: ccm15
Integration: cloud
Integration: cloudflare
Integration: co2signal
Integration: coautilities
Integration: comelit
Integration: conversation
Integration: debugpy
Integration: deconz
Integration: deluge
Integration: denonavr
Integration: devialet
Integration: devolo_home_control
Integration: dhcp
Integration: discord
Integration: discovergy
Integration: dlna_dmr
Integration: dlna_dms
Integration: doods
Integration: drop_connect
Integration: dsmr
Integration: duotecno
Integration: duquesne_light
Integration: dwd_weather_warnings
Integration: easyenergy
Integration: ecobee
Integration: ecoforest
Integration: ecovacs
Integration: ecowitt
Integration: elgato
Integration: elvia
Integration: energyzero
Integration: enigma2
Integration: enphase_envoy
Integration: epion
Integration: esphome
Integration: evohome
Integration: flexit_bacnet
Integration: flipr
Integration: foscam
Integration: fritzbox
Integration: fronius
Integration: frontend
Integration: fujitsu_anywair
Integration: garages_amsterdam
Integration: gardena_bluetooth
Integration: gdacs
Integration: generic
Integration: geonetnz_quakes
Integration: geonetnz_volcano
Integration: geo_json_events
Integration: geo_rss_events
Integration: gios
Integration: glances
Integration: goodwe
Integration: google
Integration: google_generative_ai_conversation
Integration: govee_ble
Integration: govee_light_local
Integration: hive
Integration: hko
Integration: holiday
Integration: homekit_controller
Integration: homematicip_cloud
Integration: homewizard
Integration: honeywell
Integration: hp_ilo
Integration: html5
Integration: http
Integration: hue
Integration: hunterdouglas_powerview
Integration: husqvarna_automower
Integration: huum
Integration: hydrawise
Integration: iammeter
Integration: ibeacon
Integration: idasen_desk
Integration: ign_sismologia
Integration: image_upload
Integration: indianamichiganpower
Integration: insteon
Integration: ipp
Integration: islamic_prayer_times
Integration: justnimbus
Integration: jvc_projector
Integration: kef
Integration: kentuckypower
Integration: keymitt_ble
Integration: knx
Integration: kostal_plenticore
Integration: krispol
Integration: lamarzocco
Integration: ld2410_ble
Integration: leaone
Integration: led_ble
Integration: life360
Integration: lifx
Integration: linear_garage_door
Integration: litejet
Integration: local_calendar
Integration: local_todo
Integration: loqed
Integration: luci
Integration: lupusec
Integration: lutron
Integration: lutron_caseta
Integration: madeco
Integration: matrix
Integration: matter
Integration: melcloud
Integration: meteoclimatic
Integration: meteo_france
Integration: metoffice
Integration: microbees
Integration: mill
Integration: minecraft_server
Integration: modbus
Integration: mopeka
Integration: motionmount
Integration: motion_blinds
Integration: myuplink
Integration: nam
Integration: netatmo
Integration: nexia
Integration: nextbus
Integration: nextcloud
Integration: nextdns
Integration: nibe_heatpump
Integration: nmap_tracker
Integration: notion
Integration: nsw_rural_fire_service_feed
Integration: nuki
Integration: numato
Integration: nws
Integration: openai_conversation
Integration: openerz
Integration: open_meteo
Integration: opower
Integration: orvibo
Integration: osoenergy
Integration: otbr
Integration: ourgroceries
Integration: overkiz
Integration: p1_monitor
Integration: pegel_online
Integration: permobil
Integration: plex
Integration: plugwise
Integration: powerwall
Integration: private_ble_device
Integration: proxy
Integration: prusalink
Integration: psoklahoma
Integration: pure_energie
Integration: pvoutput
Integration: qingping
Integration: qld_bushfire
Integration: qrcode
Integration: rabbitair
Integration: rachio
Integration: radio_browser
Integration: rainbird
Integration: rainforest_raven
Integration: rainmachine
Integration: rdw
Integration: recorder
Integration: refoss
Integration: renault
Integration: renson
Integration: reolink
Integration: rflink
Integration: rfxtrx
Integration: ridwell
Integration: ring
Integration: risco
Integration: roborock
Integration: roku
Integration: romy
Integration: roomba
Integration: roon
Integration: route53
Integration: rova
Integration: samsam
Integration: samsungtv
Integration: schlage
Integration: scl
Integration: screenlogic
Integration: sensibo
Integration: sensorpush
Integration: sentry
Integration: seven_segments
Integration: sfr_box
Integration: shelly
Integration: sighthound
Integration: signal_messenger
Integration: simplisafe
Integration: sleepiq
Integration: smarttub
Integration: snmp
Integration: songpal
Integration: sonos
Integration: sql
Integration: squeezebox
Integration: ssdp
Integration: subaru
Integration: suez_water
Integration: sunweg
Integration: surepetcare
Integration: swepco
Integration: swiss_public_transport
Integration: switchbot
Integration: switchbot_cloud
Integration: switcher_kis
Integration: system_bridge
Integration: tado
Integration: tailwind
Integration: tankerkoenig
Integration: tasmota
Integration: technove
Integration: tedee
Integration: temper
Integration: tensorflow
Integration: teslemetry
Integration: tessie
Integration: thermobeacon
Integration: thermopro
Integration: thread
Integration: tolo
Integration: tplink
Integration: tplink_omada
Integration: tplink_tapo
Integration: traccar
Integration: traccar_server
Integration: trafikverket_camera
Integration: trafikverket_ferry
Integration: trafikverket_train
Integration: trafikverket_weatherstation
Integration: transmission
Integration: tuya
Integration: twentemilieu
Integration: unifi
Integration: unifiprotect
Integration: unifi_direct
Integration: upnp
Integration: usgs_earthquakes_feed
Integration: v2c
Integration: vallox
Integration: valve
Integration: velbus
Integration: velux
Integration: vicare
Integration: vodafone_station
Integration: vulcan
Integration: wallbox
Integration: waqi
Integration: weatherflow_cloud
Integration: weatherkit
Integration: webmin
Integration: webostv
Integration: wemo
Integration: withings
Integration: wolflink
Integration: workday
Integration: wyoming
Integration: xiaomi_ble
Integration: yalexs_ble
Integration: yeelight
Integration: yolink
Integration: zamg
Integration: zeroconf
Integration: zha
Integration: zhong_hong
Integration: zondergas
Integration: zoneminder
Integration: zwave_js
invalid
New Integration
Python 3.10
Python 3.11
question
requirement
Requirement vanished
slot-conflict
Source Incomplete
SrcDir ${S} mismatch
TopLevelViolation
Update required
virtual
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#1092
No description provided.