NetBSD Problem Report #57734

From john@klos.com  Wed Nov 29 18:32:17 2023
Return-Path: <john@klos.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5237A1A9238
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 29 Nov 2023 18:32:17 +0000 (UTC)
Message-Id: <202311291832.3ATIW3Ri016101@newbunny.zia.io>
Date: Wed, 29 Nov 2023 18:32:03 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: devel/py-setuptools updates fail
X-Send-Pr-Version: 3.95

>Number:         57734
>Category:       pkg
>Synopsis:       pkgsrc/devel/py-setuptools fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 29 18:35:00 +0000 2023
>Last-Modified:  Sat Dec 30 20:58:43 +0000 2023
>Originator:     John Klos
>Release:        NetBSD 10.0_BETA
>Organization:

>Environment:


System: NetBSD newbunny.zia.io 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Sun Aug 20 13:29:24 UTC 2023 john@zeny.zia.io:/mirror/usr/obj-amd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Running pkg_rolling-replace on a system with py311-setuptools-68.2.2nb1 installed
fails. Attempting to completely delete (pkg_delete -r py311-setuptools) the 
package and recompile fails, too.

===> install-message [py311-setuptools-69.0.2] ===> Installing for py311-setuptools-69.0.2
=> Generating pre-install file lists
cd /usr/pkgsrc/devel/py-setuptools/work/setuptools-69.0.2 && PYTHONPATH=/usr/pkgsrc/devel/py-setuptools/work/.home/.local/lib/python3.11/site-packages  /usr/local/bin/python3.11 -m pip install --no-cache-dir --no-deps --disable-pip-version-check  --root /usr/pkgsrc/devel/py-setuptools/work/.destdir --prefix /usr/local --compile --force-reinstall -I .
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Processing /usr/pkgsrc/devel/py-setuptools/work/setuptools-69.0.2
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'error'
  error: subprocess-exited-with-error

  × pip subprocess to install backend dependencies did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/wheel/
      Could not fetch URL https://pypi.org/simple/wheel/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/wheel/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
      ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
      ERROR: No matching distribution found for wheel
      WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
      Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
*** Error code 1

Stop.


>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: "Zafer Aydogan" <zafer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57734 CVS commit: pkgsrc/doc/guide/files
Date: Wed, 29 Nov 2023 19:34:51 +0000

 Module Name:	pkgsrc
 Committed By:	zafer
 Date:		Wed Nov 29 19:34:51 UTC 2023

 Modified Files:
 	pkgsrc/doc/guide/files: fixes.xml

 Log Message:
 Fix typo reported by J. Lewis Muir in PR 57734


 To generate a diff of this commit:
 cvs rdiff -u -r1.195 -r1.196 pkgsrc/doc/guide/files/fixes.xml

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: John Klos <john@klos.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/57734: devel/py-setuptools updates fail
Date: Wed, 29 Nov 2023 22:55:35 +0000 (UTC)

 Followup:

 A full "pkg_delete -r python311" and rebuild of python and py-setuptools 
 succeeds.

 Would love if the python failure errors made sense :)

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.