Package: src:meson
Version: 0.63.2-1
Severity: serious
Tags: sid bookworm

https://ci.debian.net/data/autopkgtest/testing/amd64/m/meson/26322073/log.gz

[...]
autopkgtest [07:51:16]: test exhaustive: [-----------------------
Meson build system 0.63.2 Project and Unit Tests
System information.
Architecture: ('64bit', 'ELF')
Machine: x86_64
Platform: Linux
Processor:
System: Linux


test_meson_exe_windows (__main__.CommandTests) ... skipped 'NOT IMPLEMENTED'
test_meson_installed (__main__.CommandTests) ... /usr/lib/python3/dist-packages/setuptools/config/expand.py:65: EncodingWarning: 'encoding' argument not specified
  with open(spec.origin) as strm:  # type: ignore
/usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:584: EncodingWarning: 'encoding' argument not specified
  f = open(pth_file, 'w')
TEST FAILED: /tmp/tmprcqr8ahm/prefix/local/lib/python3.10/dist-packages/ does NOT support .pth files
bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /tmp/tmprcqr8ahm/prefix/local/lib/python3.10/dist-packages/

and your PYTHONPATH environment variable currently contains:

    '/tmp/tmprcqr8ahm/prefix/lib/python3.10/site-packages/'

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:


https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations


Please make the appropriate changes for your system and try again.
/usr/lib/python3/dist-packages/setuptools/_distutils/text_file.py:118: EncodingWarning: 'encoding' argument not specified
  self.file = open(self.filename, errors=self.errors)
zip_safe flag not set; analyzing archive contents...
mesonbuild.__pycache__.mdevenv.cpython-310: module references __file__
mesonbuild.__pycache__.minstall.cpython-310: module references __file__
/usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py:352: EncodingWarning: 'encoding' argument not specified
  f = open(fn, 'wt')
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:871: EncodingWarning: 'encoding' argument not specified
  with open(target, "w" + mode) as f:
FAIL

Reply via email to