Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 14:30:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272600] devel/py-rpds-py: "FileNotFoundError: [Errno 2] No such file or directory: 'maturin'" in build phase for non-default Python
Message-ID:  <bug-272600-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272600

            Bug ID: 272600
           Summary: devel/py-rpds-py: "FileNotFoundError: [Errno 2] No
                    such file or directory: 'maturin'" in build phase for
                    non-default Python
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: john@saltant.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

The build of a non-default devel/py-rpds-py flavor fails with the following
error (or substantially similar).

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building for py38-rpds-py-0.7.1_1
* Getting build dependencies for wheel...
* Building wheel...
Running `maturin pep517 build-wheel -i /usr/local/bin/python3.8 --compatibi=
lity
off`
Traceback (most recent call last):
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 353, in <module>
    main()
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 335, in main
    json_out['return_val'] =3D hook(**hook_input['kwargs'])
  File
"/usr/local/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_pro=
cess.py",
line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/usr/local/lib/python3.8/site-packages/maturin/__init__.py", line 9=
0,
in build_wheel
    return _build_wheel(wheel_directory, config_settings, metadata_director=
y)
  File "/usr/local/lib/python3.8/site-packages/maturin/__init__.py", line 7=
3,
in _build_wheel
    result =3D subprocess.run(command, stdout=3Dsubprocess.PIPE)
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1720, in _execute_chi=
ld
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'maturin'

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272600-7788>