Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build blspy chiapos chiavdf[Bug] #21

Open
gigilio opened this issue Jul 14, 2023 · 0 comments
Open

Failed to build blspy chiapos chiavdf[Bug] #21

gigilio opened this issue Jul 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gigilio
Copy link

gigilio commented Jul 14, 2023

What happened?

`/hddcoin-blockchain$ sudo sh install.sh
apt-get is /usr/bin/apt-get
Installing on Ubuntu 21.04 or newer.
Pobieranie:1 file:/var/cuda-repo-ubuntu2204-12-1-local InRelease [1 572 B]
Pobieranie:1 file:/var/cuda-repo-ubuntu2204-12-1-local InRelease [1 572 B]
Stary:2 http://pl.archive.ubuntu.com/ubuntu jammy InRelease
Stary:3 http://pl.archive.ubuntu.com/ubuntu jammy-updates InRelease
Stary:4 http://pl.archive.ubuntu.com/ubuntu jammy-backports InRelease
Stary:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Stary:6 http://archive.ubuntu.com/ubuntu jammy InRelease
Stary:7 https://dl.google.com/linux/chrome/deb stable InRelease
Czytanie list pakietów... Gotowe
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe
python3-distutils is already the newest version (3.10.6-1
22.04).
python3.10-venv is already the newest version (3.10.6-1~22.04.2ubuntu1.1).
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
arduino-builder arduino-core-avr arduino-ctags avr-libc avrdude binutils-avr
extra-xdg-menus gcc-avr java-wrappers libastylej-jni libbatik-java
libbcpg-java libbcprov-java libcommons-codec-java libcommons-compress-java
libcommons-exec-java libcommons-io-java libcommons-lang3-java libftdi1
libgoogle-gson-java libhidapi-libusb0 libhttpclient-java libhttpcore-java
libjackson2-annotations-java libjackson2-core-java libjackson2-databind-java
libjmdns-java libjna-java libjna-jni libjna-platform-java libjssc-java
liblightcouch-java liblistserialsj-dev liblistserialsj1 liblog4j2-java
libmongodb-java librhino-java librsyntaxtextarea-java librxtx-java
libsemver-java libserialport0 libslf4j-java libusb-0.1-4
libxmlgraphics-commons-java
Aby je usunąć należy użyć "sudo apt autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 13 nieaktualizowanych.
Python version is 3
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (23.1.2)
Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (0.40.0)
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple/
Requirement already satisfied: miniupnpc==2.2.2 in ./venv/lib/python3.10/site-packages (2.2.2)
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple/
Obtaining file:///home/lenovo/hddcoin-blockchain
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
Collecting multidict==5.1.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached multidict-5.1.0-cp310-cp310-linux_x86_64.whl
Collecting blspy==1.0.6 (from hddcoin-blockchain==2.0.3.dev0)
Using cached blspy-1.0.6.tar.gz (284 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting chiavdf==1.0.3 (from hddcoin-blockchain==2.0.3.dev0)
Using cached chiavdf-1.0.3.tar.gz (635 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting chiabip158==1.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached chiabip158-1.0-cp310-cp310-linux_x86_64.whl
Collecting chiapos==1.0.6 (from hddcoin-blockchain==2.0.3.dev0)
Using cached chiapos-1.0.6.tar.gz (1.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting clvm==0.9.7 (from hddcoin-blockchain==2.0.3.dev0)
Using cached clvm-0.9.7-py3-none-any.whl (19 kB)
Collecting clvm-rs==0.1.15 (from hddcoin-blockchain==2.0.3.dev0)
Using cached clvm_rs-0.1.15-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (335 kB)
Collecting clvm-tools==0.4.3 (from hddcoin-blockchain==2.0.3.dev0)
Using cached clvm_tools-0.4.3-py3-none-any.whl (36 kB)
Collecting aiohttp==3.7.4 (from hddcoin-blockchain==2.0.3.dev0)
Using cached aiohttp-3.7.4-cp310-cp310-linux_x86_64.whl
Collecting aiosqlite==0.17.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached aiosqlite-0.17.0-py3-none-any.whl (15 kB)
Collecting bitstring==3.1.9 (from hddcoin-blockchain==2.0.3.dev0)
Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)
Collecting colorama==0.4.4 (from hddcoin-blockchain==2.0.3.dev0)
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting colorlog==5.0.1 (from hddcoin-blockchain==2.0.3.dev0)
Using cached colorlog-5.0.1-py2.py3-none-any.whl (10 kB)
Collecting concurrent-log-handler==0.9.19 (from hddcoin-blockchain==2.0.3.dev0)
Using cached concurrent_log_handler-0.9.19-py2.py3-none-any.whl (18 kB)
Collecting cryptography==3.4.7 (from hddcoin-blockchain==2.0.3.dev0)
Using cached cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting fasteners==0.16.3 (from hddcoin-blockchain==2.0.3.dev0)
Using cached fasteners-0.16.3-py2.py3-none-any.whl (28 kB)
Collecting keyring==23.0.1 (from hddcoin-blockchain==2.0.3.dev0)
Using cached keyring-23.0.1-py3-none-any.whl (33 kB)
Collecting keyrings.cryptfile==1.3.4 (from hddcoin-blockchain==2.0.3.dev0)
Using cached keyrings.cryptfile-1.3.4-py2.py3-none-any.whl
Collecting PyYAML==5.4.1 (from hddcoin-blockchain==2.0.3.dev0)
Using cached PyYAML-5.4.1-cp310-cp310-linux_x86_64.whl
Collecting setproctitle==1.2.2 (from hddcoin-blockchain==2.0.3.dev0)
Using cached https://download.chia.net/simple/setproctitle/setproctitle-1.2.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29 kB)
Collecting sortedcontainers==2.4.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting websockets==8.1.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached websockets-8.1-cp310-cp310-linux_x86_64.whl
Collecting click==7.1.2 (from hddcoin-blockchain==2.0.3.dev0)
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting dnspythonchia==2.2.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached dnspythonchia-2.2.0-py3-none-any.whl (260 kB)
Collecting watchdog==2.1.6 (from hddcoin-blockchain==2.0.3.dev0)
Using cached watchdog-2.1.6-py3-none-manylinux2014_x86_64.whl (76 kB)
Collecting distro==1.6.0 (from hddcoin-blockchain==2.0.3.dev0)
Using cached distro-1.6.0-py2.py3-none-any.whl (19 kB)
Collecting click-params==0.1.2 (from hddcoin-blockchain==2.0.3.dev0)
Using cached click_params-0.1.2-py3-none-any.whl (11 kB)
Collecting validators==0.18.2 (from hddcoin-blockchain==2.0.3.dev0)
Using cached validators-0.18.2-py3-none-any.whl (19 kB)
Collecting attrs>=17.3.0 (from aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting chardet<4.0,>=2.0 (from aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting async-timeout<4.0,>=3.0 (from aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (268 kB)
Collecting typing-extensions>=3.6.5 (from aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Requirement already satisfied: wheel in ./venv/lib/python3.10/site-packages (from blspy==1.0.6->hddcoin-blockchain==2.0.3.dev0) (0.40.0)
Collecting portalocker>=1.4.0 (from concurrent-log-handler==0.9.19->hddcoin-blockchain==2.0.3.dev0)
Using cached portalocker-2.7.0-py2.py3-none-any.whl (15 kB)
Collecting cffi>=1.12 (from cryptography==3.4.7->hddcoin-blockchain==2.0.3.dev0)
Using cached cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
Collecting six (from fasteners==0.16.3->hddcoin-blockchain==2.0.3.dev0)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting importlib-metadata>=3.6 (from keyring==23.0.1->hddcoin-blockchain==2.0.3.dev0)
Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Collecting SecretStorage>=3.2 (from keyring==23.0.1->hddcoin-blockchain==2.0.3.dev0)
Using cached SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting jeepney>=0.4.2 (from keyring==23.0.1->hddcoin-blockchain==2.0.3.dev0)
Using cached jeepney-0.8.0-py3-none-any.whl (48 kB)
Collecting argon2-cffi (from keyrings.cryptfile==1.3.4->hddcoin-blockchain==2.0.3.dev0)
Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB)
Collecting pycryptodome (from keyrings.cryptfile==1.3.4->hddcoin-blockchain==2.0.3.dev0)
Using cached pycryptodome-3.18.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Collecting decorator>=3.4.0 (from validators==0.18.2->hddcoin-blockchain==2.0.3.dev0)
Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting pycparser (from cffi>=1.12->cryptography==3.4.7->hddcoin-blockchain==2.0.3.dev0)
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting zipp>=0.5 (from importlib-metadata>=3.6->keyring==23.0.1->hddcoin-blockchain==2.0.3.dev0)
Using cached zipp-3.16.1-py3-none-any.whl (7.2 kB)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp==3.7.4->hddcoin-blockchain==2.0.3.dev0)
Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting argon2-cffi-bindings (from argon2-cffi->keyrings.cryptfile==1.3.4->hddcoin-blockchain==2.0.3.dev0)
Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB)
Building wheels for collected packages: hddcoin-blockchain, blspy, chiapos, chiavdf
Building editable for hddcoin-blockchain (pyproject.toml) ... done
Created wheel for hddcoin-blockchain: filename=hddcoin_blockchain-2.0.3.dev0-0.editable-py3-none-any.whl size=9966 sha256=918476bfbce60ae25de4acceb10fca0851c1777b18309c4bd349da25ab9d9eac
Stored in directory: /tmp/pip-ephem-wheel-cache-frd8ukfx/wheels/de/9c/8c/53ebf6d2678229472bc5911ddccb928d566f27e649c5533b1f
Building wheel for blspy (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for blspy (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running bdist_wheel
running build
running build_ext
CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
CMake 3.14.0 or higher is required. You are running version 3.5.2

  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 206, in <module>
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 343, in run
      self.run_command("build")
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-88v6n_up/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 38, in run
    File "<string>", line 67, in build_extension
    File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-xzdnvliv/blspy_15de29af69844d8c94480c5764f0ef5f', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-xzdnvliv/blspy_15de29af69844d8c94480c5764f0ef5f/build/lib.linux-x86_64-cpython-310', '-DPYTHON_EXECUTABLE=/home/lenovo/hddcoin-blockchain/venv/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for blspy
Building wheel for chiapos (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for chiapos (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running bdist_wheel
running build
running build_ext
CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
CMake 3.14 or higher is required. You are running version 3.5.2

  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 204, in <module>
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 343, in run
      self.run_command("build")
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-0so20v6y/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 38, in run
    File "<string>", line 67, in build_extension
    File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-xzdnvliv/chiapos_66f4fd4fdbad486bb79f9a89a7d367dd', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-xzdnvliv/chiapos_66f4fd4fdbad486bb79f9a89a7d367dd/build/lib.linux-x86_64-cpython-310', '-DPYTHON_EXECUTABLE=/home/lenovo/hddcoin-blockchain/venv/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for chiapos
Building wheel for chiavdf (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for chiavdf (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [71 lines of output]
running bdist_wheel
running build
/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py:130: SetuptoolsDeprecationWarning: Direct usage of distutils commands
!!

          ********************************************************************************
          It seems that you are using `distutils.command.build` to add
          new subcommands. Using `distutils` directly is considered deprecated,
          please use `setuptools.command.build`.
  
          By 2023-Dec-13, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
  
          See https://peps.python.org/pep-0632/ for details.
          ********************************************************************************
  
  !!
    for cmd_name in self.get_sub_commands():
  running build_ext
  CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
    CMake 3.14 or higher is required.  You are running version 3.5.2
  
  
  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/lenovo/hddcoin-blockchain/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
    File "<string>", line 267, in <module>
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 343, in run
      self.run_command("build")
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-zba478_3/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 112, in run
    File "<string>", line 139, in build_extension
    File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-xzdnvliv/chiavdf_6adc96092f4e4eb3aa505207a4e51a6e/src', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-xzdnvliv/chiavdf_6adc96092f4e4eb3aa505207a4e51a6e/build/lib.linux-x86_64-cpython-310', '-DPYTHON_EXECUTABLE=/home/lenovo/hddcoin-blockchain/venv/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for chiavdf
Successfully built hddcoin-blockchain
Failed to build blspy chiapos chiavdf
ERROR: Could not build wheels for blspy, chiapos, chiavdf, which is required to install pyproject.toml-based projects
`

Version

github release

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

Failed to build blspy chiapos chiavdf
@gigilio gigilio added the bug Something isn't working label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant