Bug 1756977
Summary: | Zig language package request | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anton Kochkov <anton.kochkov> |
Component: | distribution | Assignee: | Josh Boyer <jwboyer> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | bluebat, dmalcolm, extras-orphan, jakub, jistone, kevin, scottt.tw, sean, sguelton, siddharth.kde, tstellar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-31 19:24:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anton Kochkov
2019-09-30 11:13:20 UTC
For new package requests, you will need to provide a spec file and follow the process defined here: https://fedoraproject.org/wiki/Package_Review_Process. I haven't reviewed it, but RPM Sphere has a ziglang package: https://github.com/rpmsphere/source/tree/master/z https://rpmsphere.github.io/ (In reply to Josh Stone from comment #2) > I haven't reviewed it, but RPM Sphere has a ziglang package: > https://github.com/rpmsphere/source/tree/master/z > https://rpmsphere.github.io/ Thank you. Sadly build failed on aarch64. This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. I've been trying to port Wei-Lun Chao spec file to rawhide, and we have an issue (upstream). zig depends on both clang and lld libs, and as of llvm-10, clang ships only libclang-cpp. For some reasons, this library uses codegen options, so it registers them upon linking. This is also the case for liblldCommon, so we end up with the same option being registered twice. Note that zig explicitly doesn't support using libclang-cpp (see https://github.com/ziglang/zig/pull/3149) so we'd need to maintain patch. Current spec file (fails on running, due to the double registration issue) https://sergesanspaille.fedorapeople.org/ziglang-0.4.0git-1.src.rpm I've proposed a patch at LLVM level to fix the issue: https://reviews.llvm.org/D75579 New Zig 0.6.0 release is upcoming with the support of the newer LLVM 10 - it maybe worth trying to build it for Fedora 32-based tree? It is scheduled to April 13: https://github.com/ziglang/zig/milestone/8 And it was released, see the full changes here: https://ziglang.org/download/0.6.0/release-notes.html It now relies on LLVM 10 and dropped the support of lesser versions. This isn't really the place to discuss packaging of something not in Fedora. Good luck packaging it up and if you need assistance, check with the devel list or packaging lists. Thanks. Review Request: https://bugzilla.redhat.com/show_bug.cgi?id=1912706 |