Similar to #23754 (moved) but the 23585.diff no longer applies cleanly.
$ sudo runc --version
runc version 1.0.0-rc4
spec: 1.0.0
make testbuild-linux-x86_64
Using file /home/kkuehl/Downloads/tor-browser-build/out/debootstrap-image/container-image_ubuntu-base-17.04-base-amd64.tar.gz
Error: Error starting remote:
json: cannot unmarshal array into Go struct field Process.capabilities of type specs.LinuxCapabilities
The patch from #23585 (moved) has been merged to master, which is why it doesn't apply anymore.
So it seems the patch from #23585 (moved) is fixing the problem with version 1.0.0-rc2, but break it with 1.0.0-rc4.
I see that your runc version prints its spec version with spec: , while other runc versions print it with runc version spec: , so we probably don't detect the spec version correctly.
Patch applied as shown:
~/Downloads/tor-browser-build$ git diff rbm.conf
diff --git a/rbm.conf b/rbm.conf
index c433f00..a18f80c 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -383,6 +383,7 @@ ENV:
# We will need to update this when there is a new spec version available
runc_spec100 => sub {
my ($out) = capture_exec('sudo', 'runc', '--version');
return 1 if $out =~ m/^spec: 1\.0\.0$/; return $out =~ m/^runc version spec: 1\.0\.0$/; },
},
Does not fix the issue.
git submodule update --init
./rbm/rbm build release --target testbuild --target torbrowser-linux-x86_64
Building project tor-browser - tor-browser-7.5a5-linux-x86_64-cb5c0b
Building project container-image - container-image_wheezy-amd64-df3a332e7b34.tar.gz
Building project debootstrap-image - container-image_wheezy-amd64.tar.gz
Using file /home/kkuehl/Downloads/tor-browser-build/out/debootstrap-image/container-image_ubuntu-base-17.04-base-amd64.tar.gz
Error: Error starting remote:
json: cannot unmarshal array into Go struct field Process.capabilities of type specs.LinuxCapabilities
Everything worked but at the end I received
Error: File SHA512SUMS-52.4.0esr-build1 is not signed with a valid key
Makefile:69: recipe for target 'testbuild-linux-x86_64' failed
make: *** [testbuild-linux-x86_64] Error 1