Skip to content

Build Failing #12356

Closed
Closed

Description

@chawlanikhil24

I've been spending 2 days on building servo on ubuntu 14.04 . At first there were system glitches, later i shifted on to docker ubuntu image, and i loaded with complete dependencies and still things didn't work out. I am attaching the error log.

http://pastebin.com/iNm7KPip

Activity

  1. added
    A-build
    on Jul 8, 2016
  2. vtomole commented on Jul 8, 2016

    @vtomole

    I'm getting the same exact error and I’m also on Ubuntu 14.04. I also tried building on my my Ubuntu i386 16.04 server and It threw the same error. I am tying to see how I can install this 'dbus' Python module.

  3. jdm commented on Jul 8, 2016

    @jdm
    Member

    The dbus module is not a necessary part of the build, so you can ignore it.

  4. chawlanikhil24 commented on Jul 9, 2016

    @chawlanikhil24
    Author

    @vtomole :

    1. apt-get install libdbus-glib-1-dev
    2. pip install dbus-python

    @jdm : Are we the only one to face such errors? As far as i've studied the log, there is a glitch in gcc compiling.

  5. jdm commented on Jul 9, 2016

    @jdm
    Member

    I have not seen this error reported before.

  6. zeusintuivo commented on Jul 11, 2016

    @zeusintuivo
    Contributor

    I was able to build today after I pulled.

  7. chawlanikhil24 commented on Jul 11, 2016

    @chawlanikhil24
    Author

    @zeusintuivo Did you exactly follow the readme ? and which platform you are using?

  8. chawlanikhil24 commented on Jul 11, 2016

    @chawlanikhil24
    Author

    @vtomole
    @jdm I encountered the same error when i tried on ubuntu 14.04 environment. I thought i might be some system glitch , then shifted to docker ubuntu 14.04, only error changed, nothing worked out.

  9. zeusintuivo commented on Jul 11, 2016

    @zeusintuivo
    Contributor

    @chawlanikhil24
    I followed all the instructions from the README.
    Mac 64 bit,
    El Capitan 10.11.5.
    Python 2.7.11 .... VERSION NOTE: I noticed 2.7.10 Does not work.
    Perl 5.24.0
    Node 6.2.2
    Ruby 2.4.0dev
    Rustc 1.9.0
    Bash GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
    OpenSSL 1.0.2h 3 May 2016.
    ...
    Also notice @chawlanikhil24 that on Friday Master was broken. Today, I made a pull request and it the issues have been fixed. It compiles now.

  10. jdm commented on Jul 11, 2016

    @jdm
    Member

    I don't think that reporting that a mac build succeeded has any relevant here, since the people having difficulties are using ubuntu in docker.

  11. reopened this on Jul 11, 2016
  12. vtomole commented on Jul 11, 2016

    @vtomole

    @zeusintuivo Used git pull and it's still not building on windows or ubuntu 14.04 :(

  13. zeusintuivo commented on Jul 11, 2016

    @zeusintuivo
    Contributor

    @vtomole Are you using Python 2.7.11 ?

  14. 30 remaining items

  15. jdm commented on Mar 31, 2017

    @jdm
    Member

    What if you launch the vcvars64 batch file from inside the terminal before invoking mach?

  16. Dinika commented on Mar 31, 2017

    @Dinika

    Here's what I did. I ran the following command to launch vcvars64:

    >call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"

    When the environment was initialized for x64, I ran the build command (mach.bat build --dev) and I still got the same error as before.

    I'm no expert at this, but if one of the first things that the build command does is download the rust compiler from the url mentioned in the error message, is there some way to download and execute the rust compiler myself from the correct url instead and then proceed with the next steps?

  17. jdm commented on Mar 31, 2017

    @jdm
    Member

    If you download the tar.gz, you can unpack it to .servo\rust\7dd4e2db785c8ec360a989f69891b1e97dd4d369-alt\rustc-nightly-unknown-pc-windows-msvc\ (in the root servo directory) and it should be found by the build system.

  18. Dinika commented on Apr 1, 2017

    @Dinika

    It seems to have solved the first problem (of downloading the rust compiler) however, it is now looking for 'Host rust library' that it can't find. (I copied every content of the downloaded file in the directory you mentioned and I also tried using the --force option, like so - mach.bat build --dev bootstrap-rust --force).

    looking for rustc at C:\_\servo\.servo\rust\7dd4e2db785c8ec360a989f69891b1e97dd4d369-alt\rustc-nightly-unknown-pc-windows-msvc\rustc\bin\rustc.exe Rust compiler already downloaded. Use |bootstrap-rust --force| to download again. Downloading Host rust library for target unknown-pc-windows-msvc... Download failed (404): Not Found - https://s3.amazonaws.com/rust-lang-ci/rustc-builds/7dd4e2db785c8ec360a989f69891b1e97dd4d369/rust-std-nightly-unknown-pc-windows-msvc.tar.gz

  19. jdm commented on Apr 1, 2017

    @jdm
    Member

    Same thing - replace unknown in the URL with x86_64.

  20. zeusintuivo commented on Apr 1, 2017

    @zeusintuivo
    Contributor

    @Dinika What type of computer do you have? I could try and give you remote help if our schedules match this weekend, or if there is way we can connect, so we get to the bottom of this. What type of Windows do you have? XP, Vista, 7, 8, 10, 11, 12,13,14
    32 bits or 64 bits?
    Which instructions did you follow?

  21. Dinika commented on Apr 1, 2017

    @Dinika

    @zeusintuivo I have Windows 10, 64-bit machine. I followed the instructions that you mentioned in the comments above (after trying the ones given in the README).
    I'd really appreciate the help. Let me know what time suits you the best.

  22. zeusintuivo commented on Apr 1, 2017

    @zeusintuivo
    Contributor

    @Dinika The install instructions are made for Windows 7 32 and 64 bit. I have not yet issued or tested for Windows 10. What is your timezone? We need to find another way of contacting each other without posting personal info in here, and making a call or remote session perhaps we can work on Windows 10 instructions?

  23. VidushiVashishth commented on Aug 20, 2017

    @VidushiVashishth

    @jdm I was facing the same problem as Dinika when I tried to build servo. It was throwing the following error:

    (servoyay) C:\Users\Vidushi\servo>mach.bat build --dev
    looking for rustc at C:\Users\Vidushi\servo\.servo\rust\13d94d5fa8129a34f5c77a1bcd76983f5aed2434-alt\rustc-nightly-unknown-pc-windows-msvc\rustc\bin\rustc.exe
    Downloading Rust compiler...
    Download failed (404): Not Found - https://s3.amazonaws.com/rust-lang-ci/rustc-builds-alt/13d94d5fa8129a34f5c77a1bcd76983f5aed2434/rustc-nightly-unknown-pc-windows-msvc.tar.gz
    

    So I unpacked the tar.gz file like you suggested and now am getting the following error:

    (servoyay) C:\Users\Vidushi\servo>mach.bat build --dev
    looking for rustc at C:\Users\Vidushi\servo\.servo\rust\13d94d5fa8129a34f5c77a1bcd76983f5aed2434-alt\rustc-nightly-unknown-pc-windows-msvc\rustc\bin\rustc.exe
    Error running mach:
    
        ['build', '--dev']
    
    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:
    
    WindowsError: [Error 5] Access is denied: u'C:\\Users\\Vidushi\\servo\\.servo\\rust\\13d94d5fa8129a34f5c77a1bcd76983f5aed2434-alt\\rustc-nightly-unknown-pc-windows-msvc'
    
      File "C:\Users\Vidushi\servo\python\servo\build_commands.py", line 233, in build
        self.ensure_bootstrapped(target=target)
      File "C:\Users\Vidushi\servo\python\servo\command_base.py", line 592, in ensure_bootstrapped
        stable=self._use_stable_rust)
      File "C:\Users\Vidushi\servo\python\_virtualenv\Lib\site-packages\mach\registrar.py", line 123, in dispatch
        return self._run_command_handler(handler, context=context, **kwargs)
      File "C:\Users\Vidushi\servo\python\_virtualenv\Lib\site-packages\mach\registrar.py", line 90, in _run_command_handler
        result = fn(**kwargs)
      File "C:\Users\Vidushi\servo\python\servo\bootstrap_commands.py", line 85, in bootstrap_rustc
        os.makedirs(rust_dir)
      File "C:\Miniconda3\envs\servoyay\lib\os.py", line 157, in makedirs
        mkdir(name, mode)
    

    I m new to this and would appreciate some help. I m compiling this in a miniconda environment(named servoyay) since I already had python 2 and 3 on my PC. Is there something I m doing wrong or should I file for the bug?

  24. nox commented on Oct 4, 2017

    @nox
    Contributor

    @VidushiVashishth Did you find a way to build it in the end?

  25. VidushiVashishth commented on Oct 6, 2017

    @VidushiVashishth

    @nox No I did not. Was thinking of switching to Linux.

  26. tigercosmos commented on Nov 26, 2017

    @tigercosmos
    Contributor

    @VidushiVashishth
    Do you use 64 bit Python 2.7?

  27. tigercosmos commented on Nov 26, 2017

    @tigercosmos
    Contributor

    The previous log showed you download rustc-nightly-unknown-pc-windows-msvc.tar.gz
    This should be solved by 69efd08

    If you have troubles with x64 type prompt as mach.bat set by default:

    1. you may need to choose and launch the type manually, such as x86_x64 Cross Tools Command Prompt for VS 2017 in the Windows menu.
    2. cd to/the/path/servo
    3. python mach build -d
  28. tigercosmos commented on Apr 4, 2019

    @tigercosmos
    Contributor

    close due to outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions