Bug 2113103

Summary: am-utils: FTBFS in Fedora rawhide/f37
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: am-utilsAssignee: Ian Kent <ikent>
Status: MODIFIED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: ikent, kzak
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: 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: 2045102, 2117176, 2168842, 2231791    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-08-01 23:15:01 UTC
am-utils failed to build from source in Fedora rawhide/f37

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Please fix am-utils 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,
am-utils will be orphaned. Before branching of Fedora 38,
am-utils 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 2022-08-01 23:15:03 UTC
Created attachment 1900756 [details]
build.log

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

Comment 2 Fedora Release Engineering 2022-08-01 23:15:05 UTC
Created attachment 1900757 [details]
root.log

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

Comment 3 Fedora Release Engineering 2022-08-01 23:15:06 UTC
Created attachment 1900758 [details]
state.log

Comment 4 Ian Kent 2022-08-05 06:58:28 UTC
Mmm ... I've made some changes but ...

Now I see there's multiply defined symbols coming coming from glibc
and the kernel includes ... I'll need to think about how to work
around that.

Comment 5 Ian Kent 2022-08-09 01:03:14 UTC
(In reply to Ian Kent from comment #4)
> Mmm ... I've made some changes but ...
> 
> Now I see there's multiply defined symbols coming coming from glibc
> and the kernel includes ... I'll need to think about how to work
> around that.

I can't work around the conflict between the glibc and kernel headers.

David Howells has posted to LKML and we are recommending removing the
include of linux/mount.h from linux/fs.h which fixes the problem.

So far it appears there will be minimal impact from doing this but
Al Viro and Linus haven't yet commented on it.

Unfortunately I'll need to wait ...

Comment 6 Ben Cotton 2022-08-09 13:40:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.

Comment 7 Ian Kent 2022-09-08 05:53:37 UTC
Build now works.
Based on what I saw will probably need more work.
Will need to wait and see if problems are reported.