pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59119: security/py-OpenSSL fails to build



>Number:         59119
>Category:       pkg
>Synopsis:       security/py-OpenSSL fails to build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 03 06:25:01 +0000 2025
>Originator:     Kimmo Suominen
>Release:        NetBSD 10.1 / pkgsrc-HEAD 2025-02-03T06:00Z
>Organization:
>Environment:
System: NetBSD equinoxe.x.gw.fi 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

	Building the security/py-OpenSSL package fails during install
	due to missing files.

>How-To-Repeat:

	$ cd security/py-OpenSSL
	$ make package-install
	=> Verifying package-install clean for ../../security/py-OpenSSL
	=> Checksum BLAKE2s OK for pyopenssl-25.0.0.tar.gz
	=> Checksum SHA512 OK for pyopenssl-25.0.0.tar.gz
	===> Installing dependencies for py312-OpenSSL-25.0.0
	==========================================================================
	The following variables will affect the build process of this package,
	py312-OpenSSL-25.0.0.  Their current value is shown below:

		* PYTHON_VERSION_DEFAULT = 312
		* SSLBASE = /usr
		* SSLCERTBUNDLE (not defined)
		* SSLCERTS = /etc/openssl/certs
		* SSLDIR = /etc/openssl
		* SSLKEYS = /etc/openssl/private

	Based on these variables, the following variables have been set:

		* PYPACKAGE = python312

	You may want to abort the process now with CTRL-C and change the value
	of variables in the first group before continuing.  Be sure to run
	`/usr/bin/make clean' after the changes.
	==========================================================================
	=> Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-75.8.2
	=> Tool dependency py312-build>=0: found py312-build-1.2.2.post1nb1
	=> Tool dependency py312-installer>=0.7.0nb1: found py312-installer-0.7.0nb3
	=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
	=> Tool dependency checkperms>=1.1: found checkperms-1.12
	=> Full dependency py312-cryptography>=41.0.5: found py312-cryptography-44.0.2
	=> Full dependency py312-typing-extensions>=4.9: found py312-typing-extensions-4.12.2nb1
	=> Full dependency python312>=3.12.0: found python312-3.12.9
	===> Checking for vulnerabilities in py312-OpenSSL-25.0.0
	===> Overriding tools for py312-OpenSSL-25.0.0
	===> Extracting for py312-OpenSSL-25.0.0
	===> Patching for py312-OpenSSL-25.0.0
	===> Creating toolchain wrappers for py312-OpenSSL-25.0.0
	===> Configuring for py312-OpenSSL-25.0.0
	=> Checking for portability problems in extracted files
	===> Building for py312-OpenSSL-25.0.0
	* Building wheel...
	running bdist_wheel
	running build
	running build_py
	creating build/lib/OpenSSL
	copying src/OpenSSL/SSL.py -> build/lib/OpenSSL
	copying src/OpenSSL/__init__.py -> build/lib/OpenSSL
	copying src/OpenSSL/_util.py -> build/lib/OpenSSL
	copying src/OpenSSL/crypto.py -> build/lib/OpenSSL
	copying src/OpenSSL/debug.py -> build/lib/OpenSSL
	copying src/OpenSSL/rand.py -> build/lib/OpenSSL
	copying src/OpenSSL/version.py -> build/lib/OpenSSL
	copying src/OpenSSL/py.typed -> build/lib/OpenSSL
	installing to build/bdist.netbsd-10.1-amd64/wheel
	running install
	running install_lib
	creating build/bdist.netbsd-10.1-amd64/wheel
	creating build/bdist.netbsd-10.1-amd64/wheel/OpenSSL
	copying build/lib/OpenSSL/SSL.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/__init__.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/_util.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/crypto.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/debug.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/rand.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/version.py -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	copying build/lib/OpenSSL/py.typed -> build/bdist.netbsd-10.1-amd64/wheel/./OpenSSL
	running install_egg_info
	running egg_info
	writing src/pyOpenSSL.egg-info/PKG-INFO
	writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt
	writing requirements to src/pyOpenSSL.egg-info/requires.txt
	writing top-level names to src/pyOpenSSL.egg-info/top_level.txt
	[03/03/25 06:09:54] ERROR    listing git files failed - pretending there aren't any    git.py:26
	reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'
	reading manifest template 'MANIFEST.in'
	warning: no files found matching '.coveragerc'
	warning: no previously-included files found matching '.readthedocs.yml'
	warning: no previously-included files found matching 'mypy.ini'
	no previously-included directories found matching 'doc/_build'
	adding license file 'LICENSE'
	writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt'
	Copying src/pyOpenSSL.egg-info to build/bdist.netbsd-10.1-amd64/wheel/./pyOpenSSL-25.0.0-py3.12.egg-info
	running install_scripts
	creating build/bdist.netbsd-10.1-amd64/wheel/pyopenssl-25.0.0.dist-info/WHEEL
	creating '/tmp/kim/pkgsrc/security/py-OpenSSL/work/pyopenssl-25.0.0/dist/.tmp-zgtojq1d/pyopenssl-25.0.0-py3-none-any.whl' and adding 'build/bdist.netbsd-10.1-amd64/wheel' to it
	adding 'OpenSSL/SSL.py'
	adding 'OpenSSL/__init__.py'
	adding 'OpenSSL/_util.py'
	adding 'OpenSSL/crypto.py'
	adding 'OpenSSL/debug.py'
	adding 'OpenSSL/py.typed'
	adding 'OpenSSL/rand.py'
	adding 'OpenSSL/version.py'
	adding 'pyopenssl-25.0.0.dist-info/LICENSE'
	adding 'pyopenssl-25.0.0.dist-info/METADATA'
	adding 'pyopenssl-25.0.0.dist-info/WHEEL'
	adding 'pyopenssl-25.0.0.dist-info/top_level.txt'
	adding 'pyopenssl-25.0.0.dist-info/RECORD'
	removing build/bdist.netbsd-10.1-amd64/wheel
	Successfully built pyopenssl-25.0.0-py3-none-any.whl
	===> Installing for py312-OpenSSL-25.0.0
	=> Generating pre-install file lists
	=> Automatic manual page handling
	=> Generating post-install file lists
	pkg_create: can't stat `/tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/LICENSE'
	pkg_create: can't stat `/tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/METADATA'
	pkg_create: can't stat `/tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/RECORD'
	pkg_create: can't stat `/tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/WHEEL'
	pkg_create: can't stat `/tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/top_level.txt'
	=> Checking file-check results for py312-OpenSSL-25.0.0
	ERROR: ************************************************************
	ERROR: The following files are in the PLIST but not in /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg:
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/LICENSE
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/METADATA
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/RECORD
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/WHEEL
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyOpenSSL-25.0.0.dist-info/top_level.txt
	ERROR: ************************************************************
	ERROR: The following files are in /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg but not in the PLIST:
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyopenssl-25.0.0.dist-info/LICENSE
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyopenssl-25.0.0.dist-info/METADATA
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyopenssl-25.0.0.dist-info/RECORD
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyopenssl-25.0.0.dist-info/WHEEL
	ERROR:         /tmp/kim/pkgsrc/security/py-OpenSSL/work/.destdir/usr/pkg/lib/python3.12/site-packages/pyopenssl-25.0.0.dist-info/top_level.txt
	*** Error code 1

	Stop.

>Fix:



Home | Main Index | Thread Index | Old Index