Bug 2340786

Summary: llvm: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: llvmAssignee: Tom Stellard <tstellar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, fedora-llvm-team, jakub, jchecahi, jistone, kkleine, npopov, scottt.tw, sergesanspaille, siddharth.kde, suraj.ghimire7, tbaeder, tstellar, tuliom
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: llvm-19.1.7-1.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-27 07:54:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 20:49:38 UTC
llvm failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128008322


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix llvm at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
llvm will be orphaned. Before branching of Fedora 43,
llvm will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 20:49:42 UTC
Created attachment 2070895 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 20:49:44 UTC
Created attachment 2070896 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 20:49:47 UTC
Created attachment 2070897 [details]
state.log

Comment 4 Josh Stone 2025-01-22 22:30:21 UTC
In file included from /builddir/build/BUILD/llvm-19.1.6-build/llvm-project-19.1.6.src/mlir/lib/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.cpp:9:
/builddir/build/BUILD/llvm-19.1.6-build/llvm-project-19.1.6.src/mlir/include/mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h:31:11: error: unknown type name 'int64_t'; did you mean '__int64_t'?
   31 | FailureOr<int64_t> fullyComposeAndComputeConstantDelta(Value value1,
      |           ^~~~~~~
      |           __int64_t
/usr/include/bits/types.h:44:25: note: '__int64_t' declared here
   44 | typedef signed long int __int64_t;
      |                         ^
1 error generated.

Comment 5 Dave Malcolm 2025-01-22 22:35:04 UTC
Looks like https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes

The fix is presumably to add
  #include <stdint.h>
where needed.

Comment 6 Timm Bäder 2025-01-23 05:10:40 UTC
This should be fixed with 19.1.7 in rawhide already

Comment 7 Timm Bäder 2025-01-27 07:54:26 UTC
... which has now been merged.