-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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-unwrapped #392552
Comments
Oh, this is probably related to #384706, as it appears that it's not using clang anymore for some reason. |
Let's try and see if we can backport tectonic-typesetting/tectonic#1202 cleanly... Update:
|
@bryango are we sure we are actually running on clang? The above error message says HOST_CXX = Some("/nix/store/8v6k283dpbc0qkdq81nb6mrxrgcb10i1-gcc-wrapper-14-20241116/bin/c++") Surely
I bisected to 009de06 (#386191) but it's not obvious how it breaks it. git bisect start
# status: waiting for both good and bad commits
# good: [4dadee8df69c85396be37f2c8ba8dfc8c4d586ec] Merge master into staging-next
git bisect good 4dadee8df69c85396be37f2c8ba8dfc8c4d586ec
# bad: [baefe9d8e24a390da1e0859cb9033babff67ba65] gcc: remove .la files (#389009)
git bisect bad baefe9d8e24a390da1e0859cb9033babff67ba65
# bad: [3f2403435ab47665287af5d883a848ac6a170281] python313Packages.roman-numerals-py: init at 3.1.0
git bisect bad 3f2403435ab47665287af5d883a848ac6a170281
# good: [f6e560e4b0f85ff2f19fa6072c6c3afb27ce5d94] Merge master into staging-next
git bisect good f6e560e4b0f85ff2f19fa6072c6c3afb27ce5d94
# good: [057c2a540614d40f32ff5ae5f9ce77ebfb27d71f] libvisual: drop (#388447)
git bisect good 057c2a540614d40f32ff5ae5f9ce77ebfb27d71f
# good: [ad67ac46e35feab8c55a3e9c2331cab079212f35] treewide (Python packages): Use the buildPythonPackage-provided locale specification whenever appropriate (#383766)
git bisect good ad67ac46e35feab8c55a3e9c2331cab079212f35
# good: [3948c1ab72ed9331117926a67ab2e83e1a2b1d74] Merge staging-next into staging
git bisect good 3948c1ab72ed9331117926a67ab2e83e1a2b1d74
# good: [18c4006b6decdb2ee2de782fadbb9226238aba40] fast-float: 8.0.0 -> 8.0.1 (#388783)
git bisect good 18c4006b6decdb2ee2de782fadbb9226238aba40
# skip: [104dfc62a781776d3c4ca7aa322b41b6ed09d8be] freerdp3: 3.12.0 -> 3.14.0 (#387596)
git bisect skip 104dfc62a781776d3c4ca7aa322b41b6ed09d8be
# skip: [9748434b0b3de15d760cf1da9487c626c742da85] python313Packages.pytest: 8.3.4 -> 8.3.5
git bisect skip 9748434b0b3de15d760cf1da9487c626c742da85
# bad: [a6ffc120d2a2db51002cac0c3b05f76bb88b8c90] Merge staging-next into staging
git bisect bad a6ffc120d2a2db51002cac0c3b05f76bb88b8c90 In particular, replacing diff --git a/pkgs/by-name/te/tectonic-unwrapped/package.nix b/pkgs/by-name/te/tectonic-unwrapped/package.nix
index 50d64c8416e1..11db053fe3dd 100644
--- a/pkgs/by-name/te/tectonic-unwrapped/package.nix
+++ b/pkgs/by-name/te/tectonic-unwrapped/package.nix
@@ -10,6 +10,10 @@
lib,
clangStdenv,
fetchFromGitHub,
+ pkgsBuildHost,
+ pkgsBuildTarget,
+ pkgsTargetTarget,
+ rust,
rustPlatform,
fontconfig,
harfbuzzFull,
@@ -25,6 +29,21 @@ let
# use clang to work around build failure with GCC 14
# see: https://github.com/tectonic-typesetting/tectonic/issues/1263
stdenv = clangStdenv;
+ cargoBuildHook = rustPlatform.cargoBuildHook.override {
+ stdenv = clangStdenv;
+ rust = rust.override {
+ pkgsBuildHost = pkgsBuildHost // {
+ stdenv = clangStdenv;
+ };
+ pkgsBuildTarget = pkgsBuildTarget // {
+ stdenv = clangStdenv;
+ };
+ pkgsTargetTarget = pkgsTargetTarget // {
+ stdenv = clangStdenv;
+ };
+ stdenv = clangStdenv;
+ };
+ };
};
in build log
|
You are absolutely right! I assumed incorrectly that we were running on clang due to the fact that darwin builds (which always use the clang toolchain) also failed. So it seems there are two issues happening at the same time 😢 one is from upstream and can be fixed by #392621, while the other is a nixpkgs bug associated with |
Nixpkgs version
Steps to reproduce
nix-build -A tectonic-unwrapped
in local clone of nixpkgs (nixos-unstable or master)Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/293104013
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"
Linux 6.13.7, NixOS, 25.05 (Warbler), 25.05.20250319.a84ebe2
yes
yes
nix-env (Nix) 2.26.3
/nix/store/1728d3jg85mkz2w2cvk6vi74i30fn6x7-source
Notify maintainers
@lluchs @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.
The text was updated successfully, but these errors were encountered: