Opened 2 years ago

Last modified 2 years ago

#26417 new defect

Tor Browser build is not working with the runc version in debian testing

Reported by: boklm Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-rbm, TorBrowserTeam201806
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


ahf reported that building tor browser on Debian testing fails with the following error:

Error: Error starting remote:

json: cannot unmarshal array into Go struct field Process.capabilities of type specs.LinuxCapabilities

Makefile:66: recipe for target 'nightly-osx-x86_64' failed

The output of runc --version on Debian testing is:

$ /usr/sbin/runc --version
runc version spec: 1.0.1

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by ahf

The patch that fixed the issue for me (from boklm):

diff --git a/rbm.conf b/rbm.conf
index de5102d..1ef492c 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -390,7 +390,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 $out =~ m/^spec: 1\.0\.0$/m;
+        return $out =~ m/^runc version spec: 1\.0\..$/m;

comment:2 Changed 2 years ago by sisbell

I'm also seeing this on Ubuntu 18.04. The patch fixes the issue.

Note: See TracTickets for help on using tickets.