[dev-servo] Servo Build failing on Linux
I have pulled the latest code from servo github repository and I am using the following command to build the servo project on my Ubuntu machine: ./mach build --dev but I get the following error: Traceback (most recent call last): File "./mach", line 92, in main(sys.argv) File "./mach", line 23, in main mach = mach_bootstrap.bootstrap(topdir) File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line 259, in bootstrap _activate_virtualenv(topdir, is_firefox) File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line 194, in _activate_virtualenv process = Popen([pip, "install", "-q", "-I", "-r", req_path], stdout=PIPE, stderr=PIPE) File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory The build was happening successfully earlier on my machine, but it fails now. Could anyone please help me out? ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo
Re: [dev-servo] Servo Build failing on Linux
On Friday, March 17, 2017 at 12:40:52 PM UTC-4, Emilio Cobos Álvarez wrote: > Seems like you don't have pip installed, have you followed all the steps > in the README to install the required dependencies? > > -- Emilio > > On Fri, Mar 17, 2017 at 09:31:26AM -0700, ssriv...@ncsu.edu wrote: > > I have pulled the latest code from servo github repository and I am using > > the following command to build the servo project on my Ubuntu machine: > > > > ./mach build --dev > > > > but I get the following error: > > > > Traceback (most recent call last): > > File "./mach", line 92, in > > main(sys.argv) > > File "./mach", line 23, in main > > mach = mach_bootstrap.bootstrap(topdir) > > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line > > 259, in bootstrap > > _activate_virtualenv(topdir, is_firefox) > > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line > > 194, in _activate_virtualenv > > process = Popen([pip, "install", "-q", "-I", "-r", req_path], > > stdout=PIPE, stderr=PIPE) > > File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ > > errread, errwrite) > > File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child > > raise child_exception > > OSError: [Errno 2] No such file or directory > > > > > > The build was happening successfully earlier on my machine, but it fails > > now. Could anyone please help me out? > > ___ > > dev-servo mailing list > > dev-servo@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-servo I had followed all the steps from the Readme Initially. Just to be sure, I re-ran the command right now and it says that everything including python-pip is already installed. This is the output: [servo(master)]$ sudo apt install git curl freeglut3-dev autoconf libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev gperf g++ build-essential cmake virtualenv python-pip libssl-dev libbz2-dev libosmesa6-dev libxmu6 libxmu-dev libglu1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev [sudo] password for sumit: Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version (2.69-9). build-essential is already the newest version (12.1ubuntu2). g++ is already the newest version (4:5.3.1-1ubuntu1). git is already the newest version (1:2.7.4-0ubuntu1). libbz2-dev is already the newest version (1.0.6-8). libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2). libglu1-mesa-dev is already the newest version (9.0.0-2.1). libxmu-dev is already the newest version (2:1.1.2-2). libxmu6 is already the newest version (2:1.1.2-2). xorg-dev is already the newest version (1:7.7+13ubuntu3). freeglut3-dev is already the newest version (2.8.1-2). gperf is already the newest version (3.0.4-2). cmake is already the newest version (3.5.1-1ubuntu3). curl is already the newest version (7.47.0-1ubuntu2.2). libdbus-1-dev is already the newest version (1.10.6-1ubuntu3.3). libegl1-mesa-dev is already the newest version (12.0.6-0ubuntu0.16.04.1). libgl1-mesa-dri is already the newest version (12.0.6-0ubuntu0.16.04.1). libgles2-mesa-dev is already the newest version (12.0.6-0ubuntu0.16.04.1). libglib2.0-dev is already the newest version (2.48.2-0ubuntu1). libosmesa6-dev is already the newest version (12.0.6-0ubuntu0.16.04.1). libssl-dev is already the newest version (1.0.2g-1ubuntu4.6). python-pip is already the newest version (8.1.1-2ubuntu0.4). virtualenv is already the newest version (15.0.1+ds-3ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo
Re: [dev-servo] Servo Build failing on Linux
On Friday, March 17, 2017 at 12:59:19 PM UTC-4, Jack Moffitt wrote: > At the terminal if you type "pip" does it print out the help text or > does it say command not found? Servo is expecting this to be in your > PATH. > > jack. > > On Fri, Mar 17, 2017 at 10:54 AM, wrote: > > On Friday, March 17, 2017 at 12:40:52 PM UTC-4, Emilio Cobos Álvarez wrote: > >> Seems like you don't have pip installed, have you followed all the steps > >> in the README to install the required dependencies? > >> > >> -- Emilio > >> > >> On Fri, Mar 17, 2017 at 09:31:26AM -0700, ssriv...@ncsu.edu wrote: > >> > I have pulled the latest code from servo github repository and I am > >> > using the following command to build the servo project on my Ubuntu > >> > machine: > >> > > >> > ./mach build --dev > >> > > >> > but I get the following error: > >> > > >> > Traceback (most recent call last): > >> > File "./mach", line 92, in > >> > main(sys.argv) > >> > File "./mach", line 23, in main > >> > mach = mach_bootstrap.bootstrap(topdir) > >> > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line > >> > 259, in bootstrap > >> > _activate_virtualenv(topdir, is_firefox) > >> > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", line > >> > 194, in _activate_virtualenv > >> > process = Popen([pip, "install", "-q", "-I", "-r", req_path], > >> > stdout=PIPE, stderr=PIPE) > >> > File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ > >> > errread, errwrite) > >> > File "/usr/lib/python2.7/subprocess.py", line 1343, in > >> > _execute_child > >> > raise child_exception > >> > OSError: [Errno 2] No such file or directory > >> > > >> > > >> > The build was happening successfully earlier on my machine, but it fails > >> > now. Could anyone please help me out? > >> > ___ > >> > dev-servo mailing list > >> > dev-servo@lists.mozilla.org > >> > https://lists.mozilla.org/listinfo/dev-servo > > > > I had followed all the steps from the Readme Initially. Just to be sure, I > > re-ran the command right now and it says that everything including > > python-pip is already installed. This is the output: > > > > [servo(master)]$ sudo apt install git curl freeglut3-dev autoconf > > libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev gperf g++ > > build-essential cmake virtualenv python-pip libssl-dev libbz2-dev > > libosmesa6-dev libxmu6 libxmu-dev libglu1-mesa-dev libgles2-mesa-dev > > libegl1-mesa-dev libdbus-1-dev > > [sudo] password for sumit: > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > autoconf is already the newest version (2.69-9). > > build-essential is already the newest version (12.1ubuntu2). > > g++ is already the newest version (4:5.3.1-1ubuntu1). > > git is already the newest version (1:2.7.4-0ubuntu1). > > libbz2-dev is already the newest version (1.0.6-8). > > libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2). > > libglu1-mesa-dev is already the newest version (9.0.0-2.1). > > libxmu-dev is already the newest version (2:1.1.2-2). > > libxmu6 is already the newest version (2:1.1.2-2). > > xorg-dev is already the newest version (1:7.7+13ubuntu3). > > freeglut3-dev is already the newest version (2.8.1-2). > > gperf is already the newest version (3.0.4-2). > > cmake is already the newest version (3.5.1-1ubuntu3). > > curl is already the newest version (7.47.0-1ubuntu2.2). > > libdbus-1-dev is already the newest version (1.10.6-1ubuntu3.3). > > libegl1-mesa-dev is already the newest version > > (12.0.6-0ubuntu0.16.04.1). > > libgl1-mesa-dri is already the newest version (12.0.6-0ubuntu0.16.04.1). > > libgles2-mesa-dev is already the newest version > > (12.0.6-0ubuntu0.16.04.1). > > libglib2.0-dev is already the newest version (2.48.2-0ubuntu1). > > libosmesa6-dev is already the newest version (12.0.6-0ubuntu0.16.04.1). > > libssl-dev is already the newest version (1.0.2g-1ubuntu4.6). > > python-pip is already the newest version (8.1.1-2ubuntu0.4). > > virtualenv is already the newest version (15.0.1+ds-3ubuntu1). > > 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. > > ___ > > dev-servo mailing list > > dev-servo@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-servo Hi, On typing pip at the Servo folder, It prints out the help text. So, I think that pip is added to the PATH as well. I tried the suggestion mentioned by Fabrice, and gave the command: rm -rf python/_virtualenv After doing this, the build started running, but it failed with the following error: [servo(master)]$ ./mach build --dev Compiling blurmock v0.1.2 Compiling osmesa-src v12.0.1 (https://github.com/servo/osmesa-src#42509fbd
Re: [dev-servo] Servo Build failing on Linux
On Friday, March 17, 2017 at 2:31:49 PM UTC-4, Jack Moffitt wrote: > I suspect something got messed up in a previous aborted build. Please > try mach clean and rebuilding. > > jack. > > On Fri, Mar 17, 2017 at 12:11 PM, wrote: > > On Friday, March 17, 2017 at 12:59:19 PM UTC-4, Jack Moffitt wrote: > >> At the terminal if you type "pip" does it print out the help text or > >> does it say command not found? Servo is expecting this to be in your > >> PATH. > >> > >> jack. > >> > >> On Fri, Mar 17, 2017 at 10:54 AM, wrote: > >> > On Friday, March 17, 2017 at 12:40:52 PM UTC-4, Emilio Cobos Álvarez > >> > wrote: > >> >> Seems like you don't have pip installed, have you followed all the steps > >> >> in the README to install the required dependencies? > >> >> > >> >> -- Emilio > >> >> > >> >> On Fri, Mar 17, 2017 at 09:31:26AM -0700, ssriv...@ncsu.edu wrote: > >> >> > I have pulled the latest code from servo github repository and I am > >> >> > using the following command to build the servo project on my Ubuntu > >> >> > machine: > >> >> > > >> >> > ./mach build --dev > >> >> > > >> >> > but I get the following error: > >> >> > > >> >> > Traceback (most recent call last): > >> >> > File "./mach", line 92, in > >> >> > main(sys.argv) > >> >> > File "./mach", line 23, in main > >> >> > mach = mach_bootstrap.bootstrap(topdir) > >> >> > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", > >> >> > line 259, in bootstrap > >> >> > _activate_virtualenv(topdir, is_firefox) > >> >> > File "/home/sumit/Documents/servo/python/mach_bootstrap.py", > >> >> > line 194, in _activate_virtualenv > >> >> > process = Popen([pip, "install", "-q", "-I", "-r", req_path], > >> >> > stdout=PIPE, stderr=PIPE) > >> >> > File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ > >> >> > errread, errwrite) > >> >> > File "/usr/lib/python2.7/subprocess.py", line 1343, in > >> >> > _execute_child > >> >> > raise child_exception > >> >> > OSError: [Errno 2] No such file or directory > >> >> > > >> >> > > >> >> > The build was happening successfully earlier on my machine, but it > >> >> > fails now. Could anyone please help me out? > >> >> > ___ > >> >> > dev-servo mailing list > >> >> > dev-servo@lists.mozilla.org > >> >> > https://lists.mozilla.org/listinfo/dev-servo > >> > > >> > I had followed all the steps from the Readme Initially. Just to be sure, > >> > I re-ran the command right now and it says that everything including > >> > python-pip is already installed. This is the output: > >> > > >> > [servo(master)]$ sudo apt install git curl freeglut3-dev autoconf > >> > libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev gperf g++ > >> > build-essential cmake virtualenv python-pip libssl-dev libbz2-dev > >> > libosmesa6-dev libxmu6 libxmu-dev libglu1-mesa-dev libgles2-mesa-dev > >> > libegl1-mesa-dev libdbus-1-dev > >> > [sudo] password for sumit: > >> > Reading package lists... Done > >> > Building dependency tree > >> > Reading state information... Done > >> > autoconf is already the newest version (2.69-9). > >> > build-essential is already the newest version (12.1ubuntu2). > >> > g++ is already the newest version (4:5.3.1-1ubuntu1). > >> > git is already the newest version (1:2.7.4-0ubuntu1). > >> > libbz2-dev is already the newest version (1.0.6-8). > >> > libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2). > >> > libglu1-mesa-dev is already the newest version (9.0.0-2.1). > >> > libxmu-dev is already the newest version (2:1.1.2-2). > >> > libxmu6 is already the newest version (2:1.1.2-2). > >> > xorg-dev is already the newest version (1:7.7+13ubuntu3). > >> > freeglut3-dev is already the newest version (2.8.1-2). > >> > gperf is already the newest version (3.0.4-2). > >> > cmake is already the newest version (3.5.1-1ubuntu3). > >> > curl is already the newest version (7.47.0-1ubuntu2.2). > >> > libdbus-1-dev is already the newest version (1.10.6-1ubuntu3.3). > >> > libegl1-mesa-dev is already the newest version > >> > (12.0.6-0ubuntu0.16.04.1). > >> > libgl1-mesa-dri is already the newest version > >> > (12.0.6-0ubuntu0.16.04.1). > >> > libgles2-mesa-dev is already the newest version > >> > (12.0.6-0ubuntu0.16.04.1). > >> > libglib2.0-dev is already the newest version (2.48.2-0ubuntu1). > >> > libosmesa6-dev is already the newest version > >> > (12.0.6-0ubuntu0.16.04.1). > >> > libssl-dev is already the newest version (1.0.2g-1ubuntu4.6). > >> > python-pip is already the newest version (8.1.1-2ubuntu0.4). > >> > virtualenv is already the newest version (15.0.1+ds-3ubuntu1). > >> > 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. > >> > ___ > >> > dev-servo mailing list > >>