Bug 2243680 - tinygo fails to find compatible clang
Summary: tinygo fails to find compatible clang
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tinygo
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-12 14:44 UTC by W. Michael Petullo
Modified: 2023-11-14 01:44 UTC (History)
2 users (show)

Fixed In Version: tinygo-0.30.0-4.fc39
Clone Of:
Environment:
Last Closed: 2023-11-14 01:44:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.