pkgsrc-Bugs archive

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

pkg/59297: textproc/yq fails to package



>Number:         59297
>Category:       pkg
>Synopsis:       textproc/yq fails to package
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 14 11:35:00 +0000 2025
>Originator:     Kimmo Suominen
>Release:        NetBSD 10.1 / pkgsrc 20250414T0543Z
>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:

	The textproc/yq package fails to produce a binary package due to it
	installing its LICENSE file in a location different from what is
	recorded in the PLIST file.

>How-To-Repeat:

	: equinoxe[nb10-amd64]:textproc/yq; make package
	=> Checksum BLAKE2s OK for yq-3.4.3.tar.gz
	=> Checksum SHA512 OK for yq-3.4.3.tar.gz
	===> Installing dependencies for yq-3.4.3
	==========================================================================
	The following variables will affect the build process of this package,
	yq-3.4.3.  Their current value is shown below:

		* PYTHON_VERSION_DEFAULT = 312

	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-78.1.0
	=> Tool dependency py312-setuptools_scm-[0-9]*: found py312-setuptools_scm-8.2.0nb1
	=> 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 jq-[0-9]*: found jq-1.7.1nb1
	=> Full dependency py312-argcomplete>=1.8.1: found py312-argcomplete-3.6.2
	=> Full dependency py312-tomlkit>=0.11.6: found py312-tomlkit-0.13.2
	=> Full dependency py312-xmltodict>=0.11.0: found py312-xmltodict-0.14.2
	=> Full dependency py312-yaml>=5.3.1: found py312-yaml-6.0.2nb4
	=> Full dependency python312>=3.12.0: found python312-3.12.10
	===> Checking for vulnerabilities in yq-3.4.3
	===> Overriding tools for yq-3.4.3
	===> Extracting for yq-3.4.3
	===> Patching for yq-3.4.3
	===> Creating toolchain wrappers for yq-3.4.3
	===> Configuring for yq-3.4.3
	=> Checking for portability problems in extracted files
	===> Building for yq-3.4.3
	* Building wheel...
	/usr/pkg/lib/python3.12/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
	  warnings.warn(msg)
	/usr/pkg/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
	!!

		********************************************************************************
		Please consider removing the following classifiers in favor of a SPDX license expression:

		License :: OSI Approved :: Apache Software License

		See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
		********************************************************************************

	!!
	  self._finalize_license_expression()
	running bdist_wheel
	running build
	running build_py
	creating build/lib/yq
	copying yq/__init__.py -> build/lib/yq
	copying yq/__main__.py -> build/lib/yq
	copying yq/dumper.py -> build/lib/yq
	copying yq/loader.py -> build/lib/yq
	copying yq/parser.py -> build/lib/yq
	copying yq/version.py -> build/lib/yq
	creating build/lib/yq/tomlq
	copying yq/tomlq/__init__.py -> build/lib/yq/tomlq
	copying yq/tomlq/__main__.py -> build/lib/yq/tomlq
	creating build/lib/yq/xq
	copying yq/xq/__init__.py -> build/lib/yq/xq
	copying yq/xq/__main__.py -> build/lib/yq/xq
	running egg_info
	writing yq.egg-info/PKG-INFO
	writing dependency_links to yq.egg-info/dependency_links.txt
	writing entry points to yq.egg-info/entry_points.txt
	writing requirements to yq.egg-info/requires.txt
	writing top-level names to yq.egg-info/top_level.txt
	ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
	reading manifest file 'yq.egg-info/SOURCES.txt'
	reading manifest template 'MANIFEST.in'
	adding license file 'LICENSE'
	writing manifest file 'yq.egg-info/SOURCES.txt'
	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/yq
	copying build/lib/yq/__init__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	copying build/lib/yq/__main__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	copying build/lib/yq/dumper.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	copying build/lib/yq/loader.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	copying build/lib/yq/parser.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	copying build/lib/yq/version.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq
	creating build/bdist.netbsd-10.1-amd64/wheel/yq/tomlq
	copying build/lib/yq/tomlq/__init__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq/tomlq
	copying build/lib/yq/tomlq/__main__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq/tomlq
	creating build/bdist.netbsd-10.1-amd64/wheel/yq/xq
	copying build/lib/yq/xq/__init__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq/xq
	copying build/lib/yq/xq/__main__.py -> build/bdist.netbsd-10.1-amd64/wheel/./yq/xq
	running install_egg_info
	Copying yq.egg-info to build/bdist.netbsd-10.1-amd64/wheel/./yq-3.4.3-py3.12.egg-info
	running install_scripts
	creating build/bdist.netbsd-10.1-amd64/wheel/yq-3.4.3.dist-info/WHEEL
	creating '/tmp/kim/pkgsrc/textproc/yq/work/yq-3.4.3/dist/.tmp-isrr5ney/yq-3.4.3-py3-none-any.whl' and adding 'build/bdist.netbsd-10.1-amd64/wheel' to it
	adding 'yq/__init__.py'
	adding 'yq/__main__.py'
	adding 'yq/dumper.py'
	adding 'yq/loader.py'
	adding 'yq/parser.py'
	adding 'yq/version.py'
	adding 'yq/tomlq/__init__.py'
	adding 'yq/tomlq/__main__.py'
	adding 'yq/xq/__init__.py'
	adding 'yq/xq/__main__.py'
	adding 'yq-3.4.3.dist-info/licenses/LICENSE'
	adding 'yq-3.4.3.dist-info/METADATA'
	adding 'yq-3.4.3.dist-info/WHEEL'
	adding 'yq-3.4.3.dist-info/entry_points.txt'
	adding 'yq-3.4.3.dist-info/top_level.txt'
	adding 'yq-3.4.3.dist-info/RECORD'
	removing build/bdist.netbsd-10.1-amd64/wheel
	Successfully built yq-3.4.3-py3-none-any.whl
	===> Installing for yq-3.4.3
	=> Generating pre-install file lists
	=> Automatic manual page handling
	=> Generating post-install file lists
	pkg_create: can't stat `/tmp/kim/pkgsrc/textproc/yq/work/.destdir/usr/pkg/lib/python3.12/site-packages/yq-3.4.3.dist-info/LICENSE'
	=> Checking file-check results for yq-3.4.3
	ERROR: ************************************************************
	ERROR: The following files are in the PLIST but not in /tmp/kim/pkgsrc/textproc/yq/work/.destdir/usr/pkg:
	ERROR:         /tmp/kim/pkgsrc/textproc/yq/work/.destdir/usr/pkg/lib/python3.12/site-packages/yq-3.4.3.dist-info/LICENSE
	ERROR: ************************************************************
	ERROR: The following files are in /tmp/kim/pkgsrc/textproc/yq/work/.destdir/usr/pkg but not in the PLIST:
	ERROR:         /tmp/kim/pkgsrc/textproc/yq/work/.destdir/usr/pkg/lib/python3.12/site-packages/yq-3.4.3.dist-info/licenses/LICENSE
	*** Error code 1

	Stop.
	make[1]: stopped in /p/netbsd/cvs/pkgsrc/textproc/yq
	*** Error code 1

	Stop.
	make: stopped in /p/netbsd/cvs/pkgsrc/textproc/yq
	zsh: exit 1     make package

>Fix:



Home | Main Index | Thread Index | Old Index