Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo build failure RPMBUILD #23648

Closed
gatoWololo opened this issue Jun 27, 2019 · 3 comments
Closed

Servo build failure RPMBUILD #23648

gatoWololo opened this issue Jun 27, 2019 · 3 comments
Labels

Comments

@gatoWololo
Copy link
Contributor

@gatoWololo gatoWololo commented Jun 27, 2019

As of the latest commit on master 61cadfa building Servo on Ubuntu failed with:

error:
INFO: checking for rpmbuild...
DEBUG: rpmbuild: Trying rpmbuild INFO: not found

Doing ./mach bootstrap returns Dependencies were already installed!. Should we add rpm as a dependency for mach boostrap?

After manually installing RPM I now see:

DEBUG: rpmbuild: Trying rpmbuild
INFO: /usr/bin/rpmbuild

--- stderr
Traceback (most recent call last):
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/js/src/../../configure.py", line 132, in <module>
    sys.exit(main(sys.argv))
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/js/src/../../configure.py", line 38, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/configure/__init__.py", line 481, in run
    func(*args)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/configure/__init__.py", line 525, in _value_for
    return self._value_for_depends(obj)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/util.py", line 947, in method_call
    cache[args] = self.func(instance, *args)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/configure/__init__.py", line 534, in _value_for_depends
    value = obj.result()
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/util.py", line 947, in method_call
    cache[args] = self.func(instance, *args)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/configure/__init__.py", line 151, in result
    return self._func(*resolved_args)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/python/mozbuild/mozbuild/configure/__init__.py", line 1097, in wrapped
    return new_func(*args, **kwargs)
  File "/home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/mozjs/moz.configure", line 604, in llvm_objdump
    clang = bindgen_config_paths.clang_path
AttributeError: 'ReadOnlyNamespace' object has no attribute 'clang_path'
make: *** [makefile.cargo:186: maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', /home/gatowololo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/b2f8393/build.rs:117:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

@jdm jdm mentioned this issue Jun 27, 2019
4 of 4 tasks complete
@jdm
Copy link
Member

@jdm jdm commented Jun 27, 2019

My immediate suggestion is to try installing the clang, llvm, and llvm-dev packages.

@gatoWololo
Copy link
Contributor Author

@gatoWololo gatoWololo commented Jun 27, 2019

Installing llvm-dev fixed this for me!

bors-servo added a commit that referenced this issue Jun 28, 2019
Add support for market:// urls

Rebased from #23648.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21992.
- [x] These changes do not require tests because can't test embedders.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23649)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jun 28, 2019
Add support for market:// urls

Rebased from #23648.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21992.
- [x] These changes do not require tests because can't test embedders.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23649)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jun 28, 2019
Add support for market:// urls

Rebased from #23648.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21992.
- [x] These changes do not require tests because can't test embedders.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23649)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jun 28, 2019
Add support for market:// urls

Rebased from #23648.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21992.
- [x] These changes do not require tests because can't test embedders.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23649)
<!-- Reviewable:end -->
@KiChjang
Copy link
Member

@KiChjang KiChjang commented Jul 4, 2019

Closing as fixed.

@KiChjang KiChjang closed this Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.