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

Closed
andyrtr opened this issue May 10, 2024 · 0 comments · Fixed by #1202
Closed

build fails with icu 75 #1190

andyrtr opened this issue May 10, 2024 · 0 comments · Fixed by #1202
Labels
bug dependencies Issues with crates we depend upon

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

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Issues with crates we depend upon
Projects
None yet
2 participants