(uvloop-dev) [Scorpi-ON@s1]:<~/myapp/uvloop>$ pip install -e .[dev]
Obtaining file:///usr/home/Scorpi-ON/myapp/uvloop
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
WARNING: uvloop 0.19.0 does not provide the extra 'dev'
Checking if build backend supports build_editable ... done
Building wheels for collected packages: uvloop
Building editable for uvloop (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building editable for uvloop (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [287 lines of output]
running editable_wheel
creating /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info
writing /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/dependency_links.txt
writing requirements to /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/requires.txt
writing top-level names to /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/top_level.txt
writing manifest file '/tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/.git'
adding license file 'LICENSE-APACHE'
adding license file 'LICENSE-MIT'
writing manifest file '/tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop.egg-info/SOURCES.txt'
creating '/tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop-0.19.0.dist-info'
creating /tmp/pip-wheel-6nyd0eym/.tmp-qtuzgrxx/uvloop-0.19.0.dist-info/WHEEL
running build_py
running build_ext
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... amd64-unknown-freebsd13.2
checking host system type... amd64-unknown-freebsd13.2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports attribute(( visibility("default") ))... yes
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports -fno-strict-aliasing flag... yes
checking if gcc supports -fno-strict-aliasing flag... yes
checking if gcc supports -g flag... yes
checking if gcc supports -std=gnu89 flag... yes
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wextra flag... yes
checking if gcc supports -Wno-long-long flag... yes
checking if gcc supports -Wno-unused-parameter flag... yes
checking if gcc supports -Wstrict-prototypes flag... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 393216
checking how to convert amd64-unknown-freebsd13.2 file names to amd64-unknown-freebsd13.2 format... func_convert_file_noop
checking how to convert amd64-unknown-freebsd13.2 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for library containing dlopen... none required
checking for library containing kstat_lookup... no
checking for library containing gethostbyname... none required
checking for library containing perfstat_cpu... no
checking for library containing clock_gettime... none required
checking for library containing sendfile... none required
checking for library containing socket... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for sys/ahafs_evProds.h... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libuv.pc
config.status: executing depfiles commands
config.status: executing libtool commands
--- src/.dirstamp ---
--- src/.deps/.dirstamp ---
--- src/unix/.dirstamp ---
--- src/unix/.deps/.dirstamp ---
--- src/libuv_la-fs-poll.lo ---
--- src/libuv_la-idna.lo ---
--- src/libuv_la-inet.lo ---
--- src/libuv_la-random.lo ---
--- src/libuv_la-fs-poll.lo ---
CC src/libuv_la-fs-poll.lo
--- src/libuv_la-strscpy.lo ---
--- src/libuv_la-idna.lo ---
CC src/libuv_la-idna.lo
--- src/libuv_la-inet.lo ---
CC src/libuv_la-inet.lo
--- src/libuv_la-strscpy.lo ---
CC src/libuv_la-strscpy.lo
--- src/libuv_la-random.lo ---
CC src/libuv_la-random.lo
--- src/libuv_la-idna.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
*** [src/libuv_la-idna.lo] Error code 2
make: stopped in /usr/home/Scorpi-ON/myapp/uvloop/build/libuv-amd64
--- src/libuv_la-strscpy.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
--- src/libuv_la-inet.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
--- src/libuv_la-random.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
--- src/libuv_la-inet.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
--- src/libuv_la-fs-poll.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
rm: src/.libs/: is a directory
--- src/libuv_la-random.lo ---
./libtool: Cannot fork: Resource temporarily unavailable
--- src/libuv_la-fs-poll.lo ---
Assembler messages:
Fatal error: can't create src/.libs/: Is a directory
*** [src/libuv_la-fs-poll.lo] Error code 1
make: stopped in /usr/home/Scorpi-ON/myapp/uvloop/build/libuv-amd64
2 errors
make: stopped in /usr/home/Scorpi-ON/myapp/uvloop/build/libuv-amd64
Traceback (most recent call last):
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 156, in run
self._create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 345, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 268, in _run_build_commands
self._run_build_subcommands()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 295, in _run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
_build_ext.run(self)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "<string>", line 196, in build_extensions
File "<string>", line 181, in build_libuv
File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['make', '-j5', 'CFLAGS= -O2 -fPIC ']' returned non-zero exit status 2.
/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:988: _DebuggingTips: Problem in editable installation.
!!
********************************************************************************
An error happened while installing `uvloop` in editable mode.
The following steps are recommended to help debug this problem:
- Try to install the project normally, without using the editable mode.
Does the error still persist?
(If it does, try fixing the problem before attempting the editable mode).
- If you are using binary extensions, make sure you have all OS-level
dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
- Try the latest version of setuptools (maybe the error was already fixed).
- If you (or your project dependencies) are using any setuptools extension
or customization, make sure they support the editable mode.
After following the steps above, if the problem still persists and
you think this is related to how setuptools handles editable installations,
please submit a reproducible example
(see https://stackoverflow.com/help/minimal-reproducible-example) to:
https://github.com/pypa/setuptools/issues
See https://setuptools.pypa.io/en/latest/userguide/development_mode.html for details.
********************************************************************************
!!
cmd_obj.run()
Traceback (most recent call last):
File "/usr/home/Scorpi-ON/myapp/uvloop/uvloop-dev/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/usr/home/Scorpi-ON/myapp/uvloop/uvloop-dev/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/home/Scorpi-ON/myapp/uvloop/uvloop-dev/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 273, in build_editable
return hook(wheel_directory, config_settings, metadata_directory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 436, in build_editable
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 233, in <module>
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 156, in run
self._create_wheel_file(bdist_wheel)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 345, in _create_wheel_file
files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 268, in _run_build_commands
self._run_build_subcommands()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/editable_wheel.py", line 295, in _run_build_subcommands
self.run_command(name)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
_build_ext.run(self)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "/tmp/pip-build-env-wj7i9v4u/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "<string>", line 196, in build_extensions
File "<string>", line 181, in build_libuv
File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['make', '-j5', 'CFLAGS= -O2 -fPIC ']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building editable for uvloop
Failed to build uvloop
ERROR: Could not build wheels for uvloop, which is required to install pyproject.toml-based projects