question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. Itย collects links to all the places you might be looking at while hunting down a tough bug.

And, if youโ€™re still stuck at the end, weโ€™re happy to hop on a call to see how we can help out.

Compiling on FreeNAS (FreeBSD 11.3) failed. clvm-rs issue

See original GitHub issue

Describe the bug Iโ€™m trying to compile chia on FreeBSD 11.3, but it tails with this error:

root@chia:~/chia-blockchain # sh install.sh
Python version is 3.7
Requirement already satisfied: pip in ./venv/lib/python3.7/site-packages (20.3.3)
Collecting pip
  Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.5 MB 2.4 MB/s
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.3.3
    Uninstalling pip-20.3.3:
      Successfully uninstalled pip-20.3.3
Successfully installed pip-21.0.1
Requirement already satisfied: wheel in ./venv/lib/python3.7/site-packages (0.36.2)
Looking in indexes: https://pypi.org/simple, https://download.chia.net/simple/
Requirement already satisfied: miniupnpc==2.1 in ./venv/lib/python3.7/site-packages (2.1)
Looking in indexes: https://pypi.org/simple, https://download.chia.net/simple/
Obtaining file:///root/chia-blockchain
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting chiapos==0.12.45
  Downloading chiapos-0.12.45.tar.gz (1.3 MB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 1.3 MB 2.4 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting setproctitle==1.2.2
  Downloading setproctitle-1.2.2.tar.gz (23 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting clvm==0.9.0
  Downloading clvm-0.9.0-py3-none-any.whl (19 kB)
Requirement already satisfied: aiohttp==3.7.3 in ./venv/lib/python3.7/site-packages (from chia-blockchain==1.0rc5.dev0) (3.7.3)
Requirement already satisfied: sortedcontainers==2.3.0 in ./venv/lib/python3.7/site-packages (from chia-blockchain==1.0rc5.dev0) (2.3.0)
Collecting clvm-tools==0.4.1
  Downloading clvm_tools-0.4.1-py3-none-any.whl (35 kB)
Collecting click==7.1.2
  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 82 kB 250 kB/s
Requirement already satisfied: keyring==21.5.0 in ./venv/lib/python3.7/site-packages (from chia-blockchain==1.0rc5.dev0) (21.5.0)
ERROR: Could not find a version that satisfies the requirement clvm-rs==0.1.3 (from chia-blockchain)
ERROR: No matching distribution found for clvm-rs==0.1.3

To Reproduce Steps to reproduce the behavior:

  1. Download newest main
  2. Update setup.py accordingly to the https://github.com/Chia-Network/chia-blockchain/wiki/FreeBSD-Install
  3. launch sh install.sh

Expected behavior Compiled version of chia

Desktop (please complete the following information):

  • OS: FreeBSD 11.3 (FreeNAS)
  • CPU: Intelยฎ Xeonยฎ CPU E3-1220 v3 @ 3.10GHz

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
hoffmang9commented, Mar 2, 2021

Iโ€™m probably headed to the datacenter to start installing our k8โ€™s cluster where were going to have full *BSD runners. Weโ€™re going to keep BSD a first class supported OS. The only challenge is PyPi not letting us publish wheels thereโ€ฆ

0reactions
vkzcommented, Mar 14, 2021

Iโ€™ve no idea exactly how Python or Pip resolve deps etc but here is what Iโ€™m getting:

> pip install --extra-index-url https://pypi.chia.net/simple/ clvm_rs==0.1.4
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple/clvm-rs
ERROR: Could not find a version that satisfies the requirement clvm_rs==0.1.4
ERROR: No matching distribution found for clvm_rs==0.1.4

Is it because you only deployed freebsd_11_3 while I am on 12.2 Release:

uname -a
FreeBSD 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC  amd64

And because, like I said, Iโ€™ve no idea how those indexes work and I donโ€™t trust any software to ever get clvm-rs vs clvm_rs right I also tried these for good measure:

pip install --extra-index-url https://pypi.chia.net/simple/ clvm-rs==0.1.4
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple/
ERROR: Could not find a version that satisfies the requirement clvm-rs==0.1.4
ERROR: No matching distribution found for clvm-rs==0.1.4

pip install --extra-index-url https://pypi.chia.net/simple/clvm-rs clvm_rs==0.1.4
Looking in indexes: https://pypi.org/simple, https://pypi.chia.net/simple/clvm-rs
ERROR: Could not find a version that satisfies the requirement clvm_rs==0.1.4
ERROR: No matching distribution found for clvm_rs==0.1.4

pip install -i https://pypi.chia.net/simple/ clvm_rs==0.1.4
Looking in indexes: https://pypi.chia.net/simple/
ERROR: Could not find a version that satisfies the requirement clvm_rs==0.1.4
ERROR: No matching distribution found for clvm_rs==0.1.4

pip install -i https://pypi.chia.net/simple/clvm-rs clvm_rs       
Looking in indexes: https://pypi.chia.net/simple/clvm-rs
ERROR: Could not find a version that satisfies the requirement clvm_rs
ERROR: No matching distribution found for clvm_rs

...
Read more comments on GitHub >

github_iconTop Results From Across the Web

error compiling open-vm-tools-11.3.0,2 | The FreeBSD Forums
Hi I just tried to compile open-vm-tools-11.3.0,2 I got the following error message: root@bsdcommpile:/usr/ports/emulators/open-vm-toolsย ...
Read more >
Unable to build 11.3-stable | TrueNAS Community
Hi everyone, I'm down to building the last couple of ports, and unfortunately there is a problem fetching...
Read more >
Update and jail creation issue due to invalid update ... - Reddit
My FreeNAS system refuses to get updates. Going to the update page in the WebGUI gives: Unable to connect to urlโ€ฆ
Read more >
FreeNAS 11.3-U3 Maintenance Release Fixing Over 100 Bugs
FreeNAS 11.3 -U3 is out. This maintenance release fixes over 100 bugs which is great for the community but is at a slower...
Read more >
Compiling problem on FreeBSD 11 ("failed in phase") (#14064)
Compiling problem on FreeBSD 11 ("failed in phase") ... to build GCC Java gcc5-5.4.0_2 GNU Compiler Collection 5 gmake-4.2.1_1 GNU versionย ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found