Bug 2243680

Summary: tinygo fails to find compatible clang
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: tinygoAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: go-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tinygo-0.30.0-4.fc39 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 01:44:02 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 W. Michael Petullo 2023-10-12 14:44:38 UTC
Description of problem:
The tinygo package will not run because a compatible clang is missing.

Version-Release number of selected component (if applicable):
tinygo-0.29.0-4.fc39.x86_64
clang-17.0.2-1.fc39.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. dnf -y install tinygo.
2. Write hello.go.
3. Run "tinygo build hello.go".

Actual results:
error: failed to build /usr/lib64/tinygo/lib/compiler-rt-builtins/absvsi2.c: none of these commands were found in your $PATH: clang-16

Expected results:
Build should complete.

Additional info:
It seems tinygo and clang have become out-of-sync on Fedora before: https://github.com/tinygo-org/tinygo/issues/2106.

Comment 1 Fedora Update System 2023-11-05 20:52:39 UTC
FEDORA-2023-c621d25b89 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c621d25b89

Comment 2 Elliott Sales de Andrade 2023-11-05 23:37:24 UTC
Yes, that's because clang et al compat packages only provide libraries and none of the executables. I need to wait for, and backport, support for new LLVM from upstream.

Comment 3 Fedora Update System 2023-11-06 02:55:21 UTC
FEDORA-2023-c621d25b89 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c621d25b89`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c621d25b89

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-11-14 01:44:02 UTC
FEDORA-2023-c621d25b89 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.