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, <ssriv...@ncsu.edu> 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, <ssriv...@ncsu.edu> 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 <module> >> >> > 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) > Compiling hpack v0.2.0 > Compiling scoped_threadpool v0.1.7 > Compiling toml v0.2.1 > Compiling gl_generator v0.5.2 > Compiling solicit v0.4.4 > Compiling bit-set v0.4.0 > Compiling futf v0.1.3 > Compiling mozjs_sys v0.0.0 (https://github.com/servo/mozjs#7cd72d8c) > Compiling servo-freetype-sys v4.0.3 > Compiling freetype v0.2.0 > Compiling aho-corasick v0.6.2 > Compiling servo-glutin v0.9.0 > Compiling gleam v0.2.32 > Compiling angle v0.1.2 > (https://github.com/servo/angle?branch=servo#99128001) > Compiling glx v0.1.2 > Compiling sig v0.1.1 > Compiling expat-sys v2.1.4 > Compiling servo-fontconfig-sys v4.0.2 > Compiling servo-fontconfig v0.2.1 > Compiling jstraceable_derive v0.0.1 > (file:///home/sumit/Documents/servo/components/jstraceable_derive) > Compiling heapsize_derive v0.1.4 > error: failed to run custom build command for `mozjs_sys v0.0.0 > (https://github.com/servo/mozjs#7cd72d8c)` > process didn't exit successfully: > `/home/sumit/Documents/servo/target/debug/build/mozjs_sys-e48e4caf66c7b391/build-script-build` > (exit code: 101) > --- stdout > [[ > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > -ot > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure.in > ]] && touch > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > || true > [[ > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure > -ot > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure.in > ]] && touch > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure > || true > ! [[ > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure.in > -ot > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > ]] && touch > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > || true > ! [[ > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure.in > -ot > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure > ]] && touch > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/old-configure > || true > if [[ > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > -nt > /home/sumit/Documents/servo/target/debug/build/mozjs_sys-b75999929c5a0ce6/out/config.status > ]] ; then \ > cd > /home/sumit/Documents/servo/target/debug/build/mozjs_sys-b75999929c5a0ce6/out > && \ > PYTHON="python" MOZ_TOOLS="" \ > CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \ > > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/js/src/configure > --disable-jemalloc --disable-js-shell --disable-tests > --build-backends=RecursiveMake --enable-sm-promise --disable-shared-js || > (cat config.log && exit 1) ; \ > fi > cd > /home/sumit/Documents/servo/target/debug/build/mozjs_sys-b75999929c5a0ce6/out > && make -f Makefile -j4 > make[1]: Entering directory > '/home/sumit/Documents/servo/target/debug/build/mozjs_sys-b75999929c5a0ce6/out' > make[1]: Leaving directory > '/home/sumit/Documents/servo/target/debug/build/mozjs_sys-b75999929c5a0ce6/out' > makefile.cargo:112: recipe for target 'all' failed > > --- stderr > config/autoconf.mk:171: > /home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/config/baseconfig.mk: > No such file or directory > Makefile:32: > /home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/config/config.mk: > No such file or directory > Makefile:217: > /home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/build/moz-automation.mk: > No such file or directory > Makefile:261: > /home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/config/rules.mk: > No such file or directory > Makefile:405: > /home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/config/recurse.mk: > No such file or directory > make[1]: *** No rule to make target > '/home/sumit/Dropbox/NCSU/OODD/Servo/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/mozjs/config/recurse.mk'. > Stop. > make: *** [all] Error 2 > thread 'main' panicked at 'assertion failed: result.success()', > /home/sumit/Documents/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/7cd72d8/build.rs:43 > note: Run with `RUST_BACKTRACE=1` for a backtrace. > > Build failed, waiting for other jobs to finish... > error: build failed > Build FAILED in 0:00:27 > > _______________________________________________ > dev-servo mailing list > dev-servo@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-servo _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo