Bug 2340786 - llvm: FTBFS in Fedora rawhide/f42
Summary: llvm: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 20:49 UTC by Fedora Release Engineering
Modified: 2025-01-27 07:54 UTC (History)
14 users (show)

Fixed In Version: llvm-19.1.7-1.fc42
Clone Of:
Environment:
Last Closed: 2025-01-27 07:54:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 20:49 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 20:49 UTC, Fedora Release Engineering
no flags Details
state.log (1.62 KB, text/plain)
2025-01-22 20:49 UTC, Fedora Release Engineering
no flags Details

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.


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