-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Tests fails for non-native in Guix build #18063
Comments
Hmm, I don't have a solution but I can reduce the problem a little bit:
This file is part of glibc, which is Linux libc. However the target is |
Made more tests, this time enabling non-native and it fails in all of them with the same problem, so I'll edit the issue name and description. |
From the top of my head I think this error can come from two places:
|
Okay @andrewrk I have interesting info about this. I jumped in the build container, I removed glibc and gcc from So, the problem might be in Both What do you think? |
I went directly for one of the failed commands, that failed with glibc collisions too.
|
Out of a build environment I managed to cross compile things. When I have a Looks like @andrewrk does that make any sense? |
I was also trying to build zig-0.12 for Guix today and ran into this exact same issue. |
I mean removing the |
I did some test as well, and it seems like |
I think it's related with the way Guix deals with the cross-compilation
toolchains using C_CROSS_INCLUDE_PATH and so on. We have many other
issues with that (you can check the mailing list for reported issues on
RaspberryPi Pico development, riscv and so on).
I don't know how to fix this, could you help on it? Should we team up?
|
Although I'm not that familiar with both, I would like to investigate this issue.
The following command runs the statically linked zig binary obtained from ziglang.org:
The output:
So somehow zig is reading |
but if only |
Zig Version
master (ea4a077)
Steps to Reproduce and Observed Behavior
I just made a Guix package for Zig master. The errors also appeared in Zig 0.11.0's guix package.
There are errors with all non-native targets.
This might be Guix's problem.
This is the error summary with Mach-O, but all the non-native tests fail:
Replicate:
Use the package attached, with the patches it includes and
guix build
it.Just unzip the package and
guix build -L. zig@master
, in the folder where you unzipped the contents of the file (the package includes azig-0.11
definition also, because the error appears there too)package.zip
The
check
step is failing with the error shared.This is the full error output:
Expected Behavior
The tests should pass.
The text was updated successfully, but these errors were encountered: