Search Unity

Build WebGL: ERROR: Error installing bvr

Discussion in 'Unity Cloud Build' started by bjornrun, Oct 9, 2016.

  1. bjornrun

    bjornrun

    Joined:
    Oct 29, 2013
    Posts:
    87
    When the build starts, the logs shows errors before the actual compile of my code.

    1: Running Prebuild steps
    2: In quiet period, build will start momentarily...
    3: Agent pid 6496
    4: All identities removed.
    5: Building native extensions. This could take a while...
    6: ERROR: Error installing bvr:
    7: ERROR: Failed to build gem native extension.
    8: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb

    ...

    41: /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    42: You have to install development tools first.
    43: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
    44: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
    45: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:742:in `try_func'
    46: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:973:in `block in have_library'
    47: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:918:in `block in checking_for'
    48: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:351:in `block (2 levels) in postpone'
    49: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:321:in `open'
    50: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:351:in `block in postpone'
    51: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:321:in `open'
    52: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:347:in `postpone'
    53: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:917:in `checking_for'
    54: from /BUILD_PATH/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/mkmf.rb:968:in `have_library'
    55: from extconf.rb:559:in `<main>'
    56: extconf failed, exit code 1
    57: Gem files will remain installed in /BUILD_PATH/.rvm/gems/ruby-2.1.1/gems/p4ruby-2015.2.1313860 for inspection.
    58: Results logged to /BUILD_PATH/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-15/2.1.0/p4ruby-2015.2.1313860/gem_make.out
    59: Before retry #1: sleeping 5.0 seconds
    60: Building native extensions. This could take a while...

    This is repeated a few times before giving up.
    It seems random and unrelated to code changes.

     
  2. bjornrun

    bjornrun

    Joined:
    Oct 29, 2013
    Posts:
    87
    Another random error:
    16: ERROR: Error cloning remote repo 'origin'
     
  3. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    410
  4. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    @bjornrun: those should be transient errors - if you continue to see them please PM me with project info so I can investigate.