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

undefined reference to hb_font_funcs_set_nominal_glyph_func on Ubuntu 16.04 #20712

Closed
pyfisch opened this issue Apr 29, 2018 · 4 comments
Closed

undefined reference to hb_font_funcs_set_nominal_glyph_func on Ubuntu 16.04 #20712

pyfisch opened this issue Apr 29, 2018 · 4 comments
Labels

Comments

@pyfisch
Copy link
Contributor

@pyfisch pyfisch commented Apr 29, 2018

Building the servo crate linking with cc fails: undefined reference to 'hb_font_funcs_set_nominal_glyph_func'

hb_font_funcs_set_nominal_glyph_func is part of harfbuzz since version 1.2.3 but Ubuntu Xenial only has version 1.0.1.

The function is used since a recent WebRender update in servo: 8bd2e91#diff-923eb7a14ede052885bae45c552c1a9bR30

@jdm
Copy link
Member

@jdm jdm commented May 4, 2018

You should be able to set HARFBUZZ_SYS_NO_PKG_CONFIG=1 when building and avoid the error.

@pyfisch
Copy link
Contributor Author

@pyfisch pyfisch commented May 4, 2018

I just updated to Ubuntu 18.04 in part due to this error and now it works. I can't really test this anymore.

@pyfisch pyfisch closed this May 4, 2018
@ford-prefect
Copy link

@ford-prefect ford-prefect commented May 4, 2018

@jdm that did help, thank you!

@varentsov
Copy link
Contributor

@varentsov varentsov commented May 5, 2018

put this to readme please

pyfisch added a commit to pyfisch/servo that referenced this issue May 5, 2018
@pyfisch pyfisch mentioned this issue May 5, 2018
0 of 5 tasks complete
bors-servo added a commit that referenced this issue May 6, 2018
Build note for Ubuntu 16.04

See #20712

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/20753)
<!-- Reviewable:end -->
Moggers added a commit to Moggers/servo that referenced this issue Jun 13, 2018
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
4 participants
You can’t perform that action at this time.