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 failure: texpresso[-tectonic] #392649

Closed
3 tasks done
GaetanLepage opened this issue Mar 24, 2025 · 5 comments
Closed
3 tasks done

Build failure: texpresso[-tectonic] #392649

GaetanLepage opened this issue Mar 24, 2025 · 5 comments
Labels
0.kind: build failure A package fails to build

Comments

@GaetanLepage
Copy link
Contributor

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

Build texpresso.

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/293344282/nixlog/2

Relevant log output

warning: tectonic_xetex_layout@0.2.4: In file included from /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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: /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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: /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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: /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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: /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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: /nix/store/3xiw2ng0hg6ck7mzir3wpa1vh6vhsisb-icu4c-76.1-dev/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:       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Additional context

The texpresso-tonic dependency of texpresso is failing.

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.19, NixOS, 25.05 (Warbler), 25.05.20250319.a84ebe2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.12`
 - nixpkgs: `/nix/store/1728d3jg85mkz2w2cvk6vi74i30fn6x7-source`

Notify maintainers

cc @NickHu


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@GaetanLepage GaetanLepage added the 0.kind: build failure A package fails to build label Mar 24, 2025
@Kek5chen
Copy link
Contributor

texpresso builds for me and texpresso-tonic is not a package that exists.

@Kek5chen
Copy link
Contributor

do you mean tectonic?

@GaetanLepage
Copy link
Contributor Author

do you mean tectonic?

Oh yes, definitely. It's the in-line dependency.

@GaetanLepage GaetanLepage changed the title Build failure: texpresso[-tonic] Build failure: texpresso[-tectonic] Mar 25, 2025
@Kek5chen
Copy link
Contributor

this is an upstream "issue" that seems to resolve when building locally. Does building locally work for you as well?

@GaetanLepage
Copy link
Contributor Author

For some reason, it is building fine on master. It was failing, at least on 1750f3c1c89488e2ffdd47cab9d05454dddfb734.

I won't take the time to bisect. Closing then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants