Skip to content

Instantly share code, notes, and snippets.

@andreastt
Created December 13, 2014 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreastt/a073fead0af047b74de1 to your computer and use it in GitHub Desktop.
Save andreastt/a073fead0af047b74de1 to your computer and use it in GitHub Desktop.
% ./mach bootstrap
Executing as root: sudo apt-get install autoconf2.13 build-essential ccache libasound2-dev libcurl4-openssl-dev libdbus-1-dev libdbus-glib-1-dev libgconf2-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgtk2.0-dev libiw-dev libnotify-dev libpulse-dev libxt-dev mercurial mesa-common-dev python-dbus python-dev python-setuptools unzip uuid yasm xvfb zip
[sudo] password for ato:
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 0%
Reading state information... Done
libasound2-dev is already the newest version.
autoconf2.13 is already the newest version.
build-essential is already the newest version.
ccache is already the newest version.
libcurl4-openssl-dev is already the newest version.
libdbus-1-dev is already the newest version.
libdbus-glib-1-dev is already the newest version.
python-dbus is already the newest version.
libgstreamer-plugins-base0.10-dev is already the newest version.
libgstreamer0.10-dev is already the newest version.
libgtk2.0-dev is already the newest version.
libnotify-dev is already the newest version.
libxt-dev is already the newest version.
mercurial is already the newest version.
mesa-common-dev is already the newest version.
uuid is already the newest version.
libpulse-dev is already the newest version.
python-dev is already the newest version.
python-setuptools is already the newest version.
unzip is already the newest version.
libiw-dev is already the newest version.
xvfb is already the newest version.
yasm is already the newest version.
zip is already the newest version.
The following package was automatically installed and is no longer required:
linux-image-3.16-2-amd64
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
dbus-x11 gconf-service gconf2 gir1.2-gconf-2.0 libgconf2-doc
Suggested packages:
gconf-defaults-service
The following NEW packages will be installed:
dbus-x11 gconf-service gconf2 gir1.2-gconf-2.0 libgconf2-dev libgconf2-doc
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,133 kB of archives.
After this operation, 3,768 kB of additional disk space will be used.
Do you want to continue? [Y/n]
0% [Working]
Get:1 http://ftp.no.debian.org/debian/ sid/main dbus-x11 amd64 1.8.12-1 [70.6 kB]
0% [1 dbus-x11 0 B/70.6 kB 0%]
3% [Working]
Get:2 http://ftp.no.debian.org/debian/ sid/main gconf-service amd64 3.2.6-3 [414 kB]
3% [2 gconf-service 1,152 B/414 kB 0%]
23% [Working]
Get:3 http://ftp.no.debian.org/debian/ sid/main gconf2 amd64 3.2.6-3 [423 kB]
23% [3 gconf2 2,580 B/423 kB 1%]
43% [Working]
Get:4 http://ftp.no.debian.org/debian/ sid/main gir1.2-gconf-2.0 amd64 3.2.6-3 [362 kB]
43% [4 gir1.2-gconf-2.0 1,152 B/362 kB 0%]
60% [Working]
Get:5 http://ftp.no.debian.org/debian/ sid/main libgconf2-dev amd64 3.2.6-3 [447 kB]
60% [5 libgconf2-dev 2,580 B/447 kB 1%]
80% [Working]
Get:6 http://ftp.no.debian.org/debian/ sid/main libgconf2-doc all 3.2.6-3 [416 kB]
81% [6 libgconf2-doc 1,152 B/416 kB 0%]
100% [Working]
Fetched 2,133 kB in 2s (933 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Selecting previously unselected package dbus-x11.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 173430 files and directories currently installed.)
Preparing to unpack .../dbus-x11_1.8.12-1_amd64.deb ...
Unpacking dbus-x11 (1.8.12-1) ...
Selecting previously unselected package gconf-service.
Preparing to unpack .../gconf-service_3.2.6-3_amd64.deb ...
Unpacking gconf-service (3.2.6-3) ...
Selecting previously unselected package gconf2.
Preparing to unpack .../gconf2_3.2.6-3_amd64.deb ...
Unpacking gconf2 (3.2.6-3) ...
Selecting previously unselected package gir1.2-gconf-2.0.
Preparing to unpack .../gir1.2-gconf-2.0_3.2.6-3_amd64.deb ...
Unpacking gir1.2-gconf-2.0 (3.2.6-3) ...
Selecting previously unselected package libgconf2-dev.
Preparing to unpack .../libgconf2-dev_3.2.6-3_amd64.deb ...
Unpacking libgconf2-dev (3.2.6-3) ...
Selecting previously unselected package libgconf2-doc.
Preparing to unpack .../libgconf2-doc_3.2.6-3_all.deb ...
Unpacking libgconf2-doc (3.2.6-3) ...
Processing triggers for man-db (2.7.0.2-4) ...
Setting up dbus-x11 (1.8.12-1) ...
Setting up gconf-service (3.2.6-3) ...
Setting up gconf2 (3.2.6-3) ...
Setting up gir1.2-gconf-2.0 (3.2.6-3) ...
Setting up libgconf2-dev (3.2.6-3) ...
Setting up libgconf2-doc (3.2.6-3) ...
Your version of Mercurial (3.1.2) is sufficiently modern.
Error running mach:
['bootstrap']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
ValueError: invalid version number '2.7.9rc1'
File "/home/ato/Code/gecko/src/python/mozboot/mozboot/mach_commands.py", line 24, in bootstrap
bootstrapper.bootstrap()
File "/home/ato/Code/gecko/src/python/mozboot/mozboot/bootstrap.py", line 98, in bootstrap
self.instance.ensure_python_modern()
File "/home/ato/Code/gecko/src/python/mozboot/mozboot/base.py", line 276, in ensure_python_modern
modern, version = self.is_python_modern()
File "/home/ato/Code/gecko/src/python/mozboot/mozboot/base.py", line 271, in is_python_modern
our = StrictVersion(match.group(1))
File "/usr/lib/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment