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: tectonic #384793

Open
3 tasks done
dtomvan opened this issue Feb 24, 2025 · 2 comments · May be fixed by #384706
Open
3 tasks done

Build failure: tectonic #384793

dtomvan opened this issue Feb 24, 2025 · 2 comments · May be fixed by #384706
Labels
0.kind: build failure A package fails to build

Comments

@dtomvan
Copy link

dtomvan commented Feb 24, 2025

Nixpkgs version

  • Unstable (25.05)

Steps to reproduce

  • inputs.nixpkgs: github:nixos/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05?narHash=sha256-WGaHVAjcrv%2BCun7zPlI41SerRtfknGQap281%2BAakSAw%3D which is latest nixos-unstable as of writing
  • home-manager switch --flake github:dtomvan/puntbestanden/3724c00aa270cf7282680181b3638d971efea6d8
  • /nix/store/w72rddnkj781b3mivkj6jxxllkcclvh6-tectonic-0.15.0.drv gets built at some point from nixpkgs.legacyPackages.x86_64-linux.tectonic

OR: nix build github:nixos/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05#tectonic

Although this also happens with master...

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

Weirdly enough a version of tectonic-wrapped just got built and it worked fine: https://hydra.nixos.org/build/291096374

Relevant log output

warning: [email protected]: cc1plus: warning: /nix/store/631xgpgdbjr0ywj2fqvc0rxiari3hm0d-graphite2-1.3.14/include: No such file or directory [-Wmissing-include-dirs]
warning: [email protected]: cc1plus: warning: /nix/store/631xgpgdbjr0ywj2fqvc0rxiari3hm0d-graphite2-1.3.14/include: No such file or directory [-Wmissing-include-dirs]
warning: [email protected]: cc1plus: warning: /nix/store/631xgpgdbjr0ywj2fqvc0rxiari3hm0d-graphite2-1.3.14/include: No such file or directory [-Wmissing-include-dirs]
warning: [email protected]: In file included from /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/ubidi.h:26,
warning: [email protected]:                  from layout/xetex-XeTeXLayoutInterface.cpp:36:
warning: [email protected]: /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/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]: /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/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]: /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/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]: /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/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]: /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/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/source/crates/xetex_layout)`

[...]

running: "g++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "layout" "-I" "/build/source/crates/bridge_core/support" "-I" "/nix/store/jww3brzhq47m8an8f0q0xf99aa0gkd8b-fontconfig-2.16.0-d>
  cargo:warning=cc1plus: warning: /nix/store/631xgpgdbjr0ywj2fqvc0rxiari3hm0d-graphite2-1.3.14/include: No such file or directory [-Wmissing-include-dirs]

  cargo:warning=In file included from /nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/ubidi.h:26,

  cargo:warning=                 from layout/xetex-XeTeXLayoutInterface.cpp:36:

  cargo:warning=/nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context

  cargo:warning=  561 | template <typename Type, auto closeFunction>

  cargo:warning=      |                          ^~~~

  cargo:warning=/nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid

  cargo:warning=  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)

  cargo:warning=      |                                                                            ^

  cargo:warning=/nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid

  cargo:warning=  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {

  cargo:warning=      |                                                                              ^

  cargo:warning=/nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid

  cargo:warning=  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {

  cargo:warning=      |                                                           ^

  cargo:warning=/nix/store/x4mxg72g9k7srfvp7pndgn7r92savaf6-icu4c-76.1-dev/include/unicode/ubidi.h:579:1: note: invalid template non-type parameter

  cargo:warning=  579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close);

  cargo:warning=      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

  exit status: 1

Additional context

I feel like I just got a wrong version of nixpkgs. I just updated because I wanted to try Plasma 6.3.1, but a whole lot needed rebuilding so I reckon I should just downgrade again, but I still think this report is relevant...

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.14, NixOS, 25.05 (Warbler), 25.05.20250224.0196c01
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos"
  • nixpkgs: /nix/store/593xvgv994xlkm5mb7w4p1xxnzrs9wv6-source

Notify maintainers

@doronbehar @bryango


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.

@dtomvan dtomvan added the 0.kind: build failure A package fails to build label Feb 24, 2025
@doronbehar doronbehar linked a pull request Feb 24, 2025 that will close this issue
13 tasks
@doronbehar
Copy link
Contributor

This will be fixed in a few hours with:

@dtomvan
Copy link
Author

dtomvan commented Feb 24, 2025

Ah, great! You guys are so quick with it, huh? This'll close automatically, so I'll keep it open for consistency.

Edit: almost forgot to say thanks, so thank you for maintaining the package.

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

Successfully merging a pull request may close this issue.

2 participants