[tbb-bugs] #23812 [Applications/Tor Browser]: json: cannot unmarshal array into Go struct field Process.capabilities of type specs.LinuxCapabilities
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Oct 10 23:05:14 UTC 2017
#23812: json: cannot unmarshal array into Go struct field Process.capabilities of
type specs.LinuxCapabilities
--------------------------------------+--------------------------
Reporter: kkuehl@… | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-rbm | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+--------------------------
Comment (by kkuehl@…):
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
Makefile:69: recipe for target 'testbuild-linux-x86_64' failed
make: *** [testbuild-linux-x86_64] Error 1
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23812#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list