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

zig fails to build on amd64 #36404

Open
murraybd opened this issue Dec 11, 2024 · 0 comments
Open

zig fails to build on amd64 #36404

murraybd opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working service:ftbfs Failed to Build From Source

Comments

@murraybd
Copy link
Member

The package zig fails to build from source on amd64:

2024-12-11T06:37:25Z INFO 🔗 -- Check for working C compiler: /usr/bin/clang
2024-12-11T06:37:26Z INFO 🔗 -- Check for working C compiler: /usr/bin/clang - broken
2024-12-11T06:37:26Z WARN 🔗 CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
2024-12-11T06:37:26Z WARN 🔗   The C compiler
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗     "/usr/bin/clang"
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗   is not able to compile a simple test program.
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗   It fails with the following output:
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗     Change Dir: '/home/build/build/CMakeFiles/CMakeScratch/TryCompile-tANOeG'
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗     Run Build Command(s): /usr/bin/ninja -v cmTC_eb768
2024-12-11T06:37:26Z WARN 🔗     [1/2] /usr/bin/clang    -MD -MT CMakeFiles/cmTC_eb768.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_eb768.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_eb768.dir/testCCompiler.c.o -c /home/build/build/CMakeFiles/CMakeScratch/TryCompile-tANOeG/testCCompiler.c
2024-12-11T06:37:26Z WARN 🔗     [2/2] : && /usr/bin/clang  ,--copy-dt-needed-entries CMakeFiles/cmTC_eb768.dir/testCCompiler.c.o -o cmTC_eb768   && :
2024-12-11T06:37:26Z WARN 🔗     ninja: job failed: : && /usr/bin/clang  ,--copy-dt-needed-entries CMakeFiles/cmTC_eb768.dir/testCCompiler.c.o -o cmTC_eb768   && :
2024-12-11T06:37:26Z WARN 🔗     clang: error: no such file or directory: ',--copy-dt-needed-entries'
2024-12-11T06:37:26Z WARN 🔗     ninja: subcommand failed
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗   CMake will not be able to correctly generate this project.
2024-12-11T06:37:26Z WARN 🔗 Call Stack (most recent call first):
2024-12-11T06:37:26Z WARN 🔗   CMakeLists.txt:31 (project)
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z WARN 🔗
2024-12-11T06:37:26Z INFO 🔗 -- Configuring incomplete, errors occurred!
2024-12-11T06:37:30Z INFO 🔗 deleting guest dir /tmp/melange-guest-1198943713
2024-12-11T06:37:30Z INFO 🔗 deleting workspace dir /tmp/melange-workspace-2082923933
2024-12-11T06:37:41Z INFO 🔗 removing image path /tmp/melange-guest-4056562022
2024-12-11T06:37:44Z ERRO 🔗 failed to build package: unable to run package zig pipeline: unable to run pipeline: exit status 1
@murraybd murraybd added bug Something isn't working service:ftbfs Failed to Build From Source labels Dec 11, 2024
@murraybd murraybd changed the title fails to build on amd64 zig fails to build on amd64 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source
Projects
None yet
Development

No branches or pull requests

1 participant