The python-vm-builder package, which is required for KVM-based builds, is not available in distros after bionic.
script: Drop KVM support in gitian-build.py #21140
pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:210210-kvm changing 1 files +4 −10-
hebasto commented at 9:40 AM on February 10, 2021: member
-
laanwj commented at 9:45 AM on February 10, 2021: member
Concept ACK as discussed in #bitcoin-builds
2021-02-10 10:14:27 hebasto `python-vm-builder` package is not available in distros after bionic; should we maintain the `--kvm` option for `gitian-build.py` script? 2021-02-10 10:15:39 hebasto wumpus: luke-jr: ^ 2021-02-10 10:16:55 wumpus i personally always use LXC 2021-02-10 10:17:08 hebasto me too :) 2021-02-10 10:17:10 wumpus so ok with removing it, unless someone got it to work some other way 2021-02-10 10:17:44 wumpus i dono't really know why one'd prefer to use KVM, there's no reason to use a low level VM here 2021-02-10 10:19:14 hebasto anyway, it is still possible to make kvm-based gitian builds w/o python helper script, right? 2021-02-10 10:21:43 wumpus yes 2021-02-10 10:37:49 wumpus i think removing it is fine 2021-02-10 10:38:11 wumpus it can still be used for old releases, with the build script on that branch 2021-02-10 10:38:25 wumpus but not on 22.x which builds with focal - DrahtBot added the label Build system on Feb 10, 2021
- DrahtBot added the label Scripts and tools on Feb 10, 2021
-
luke-jr commented at 3:14 PM on February 10, 2021: member
Concept NACK. Ubuntu isn't the only distro out there.
Besides, vmbuilder doesn't even work to create bionic either, so it's been irrelevant for a while. It's not very hard to install in KVM manually.
-
laanwj commented at 5:48 PM on February 10, 2021: member
@luke-jr So do you use this script at all, or call gitian-build directly? In the latter case this doesn't affect you.
Ubuntu isn't the only distro out there.
Sure, but Ubuntu is the only distro used for building bitcoin core gitian binaries. Which is what this script is for. Nothing elseā¦
-
luke-jr commented at 6:01 PM on February 10, 2021: member
At present I have a custom script that is similar, but this isn't about me personally...
Sure, but Ubuntu is the only distro used for building bitcoin core gitian binaries.
Within gitian, yes, but not the only one outside gitian.
-
laanwj commented at 6:31 PM on February 10, 2021: member
Within gitian, yes, but not the only one outside gitian.
This script is only relevant to gitian. It's not called
gitian-build.pyfor nothing. - DrahtBot added the label Needs rebase on Feb 10, 2021
-
ef14d90172
script: Drop KVM support in gitian-build.py
The python-vm-builder package, which is required for KVM-based builds, is not available in distros after bionic.
- hebasto force-pushed on Feb 10, 2021
-
hebasto commented at 8:48 PM on February 10, 2021: member
Rebased b4bc7208294d34c1407a4e30a6a0ac45b96dea43 -> ef14d90172e2278b362171763805ac41a6d7779e (pr21140.01 -> pr21140.02) due to the conflict with #21130.
- DrahtBot removed the label Needs rebase on Feb 10, 2021
-
luke-jr commented at 10:46 PM on February 10, 2021: member
This script is only relevant to gitian. It's not called gitian-build.py for nothing.
Yes, and gitian runs fine on non-Ubuntu platforms... The only Ubuntu-specific thing about (our) gitian usage is the OS run within the VM gitian manages.
-
laanwj commented at 6:01 AM on February 11, 2021: member
ACK ef14d90172e2278b362171763805ac41a6d7779e
-
laanwj commented at 7:53 AM on March 16, 2021: member
I think it's better to close this. There are clear differences in opinion here and it's unclear how much debating a small cleanup like this even matters with the move to GUIX in progress (and this script disappearing completely).
-
fanquake commented at 8:08 AM on March 16, 2021: member
I think it's better to close this.
Agree. There's not really any harm to leave this as-is for now.
- fanquake closed this on Mar 16, 2021
-
hebasto commented at 8:09 AM on March 16, 2021: member
I think it's better to close this. There are clear differences in opinion here and it's unclear how much debating a small cleanup like this even matters with the move to GUIX in progress (and this script disappearing completely).
Right.
- DrahtBot locked this on Aug 18, 2022