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

build fails with icu 75 #1190

Open
andyrtr opened this issue May 10, 2024 · 0 comments · May be fixed by #1198
Open

build fails with icu 75 #1190

andyrtr opened this issue May 10, 2024 · 0 comments · May be fixed by #1198

Comments

@andyrtr
Copy link

andyrtr commented May 10, 2024

Building with recent icu 75.1/harfbuzz-icu give this build failure:

   Compiling tracing v0.1.40
The following warnings were emitted during compilation:

warning: [email protected]: In file included from /usr/include/unicode/ubidi.h:26,
warning: [email protected]:                  from layout/xetex-XeTeXLayoutInterface.cpp:36:
warning: [email protected]: /usr/include/unicode/localpointer.h:561:26: error: ‘auto’ parameter not permitted in this context
warning: [email protected]:   561 | template <typename Type, auto closeFunction>
warning: [email protected]:       |                          ^~~~
warning: [email protected]: /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
warning: [email protected]:   573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
warning: [email protected]:       |                                                                            ^
warning: [email protected]: /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
warning: [email protected]:   583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
warning: [email protected]:       |                                                                              ^
warning: [email protected]: /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
warning: [email protected]:   599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
warning: [email protected]:       |                                                           ^
warning: [email protected]: /usr/include/unicode/ubidi.h:579:1: note: invalid template non-type parameter
warning: [email protected]:   579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close);
warning: [email protected]:       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

error: failed to run custom build command for `tectonic_xetex_layout v0.2.4 (/build/tectonic/src/tectonic-tectonic-0.15.0/crates/xetex_layout)`

Caused by:
  process didn't exit successfully: `/build/tectonic/src/tectonic-tectonic-0.15.0/target/release/build/tectonic_xetex_layout-2d264a57173811f7/build-script-build` (exit status: 1)
@uncomfyhalomacro uncomfyhalomacro linked a pull request May 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant