Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1604365

Summary: ima-evm-utils: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: ima-evm-utilsAssignee: Bruno Meneguele <brdeoliv>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: avagarwa, brdeoliv, labbott, vgoyal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ima-evm-utils-1.1-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-20 16:34:00 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: 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-19 22:19:48 UTC
ima-evm-utils failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix ima-evm-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,
ima-evm-utils will be orphaned. Before branching of Fedora 30,
ima-evm-utils will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-19 22:19:56 UTC
Created attachment 1462985 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 22:20:01 UTC
Created attachment 1462986 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-19 22:20:05 UTC
Created attachment 1462987 [details]
state.log

Comment 4 Bruno Meneguele 2018-07-20 16:21:13 UTC
I see that BZ 1601482 will solve the issue for f29 rebuilds since it's explicitly providing attr/xattr.h through a symbolic link to sys/xattr.h. But, at the same time I patched the rawhide ima-evm-utils-1.1 package with a patch that removes the dependency for attr/xattr.h file (and libattr-devel consequently).

Build info:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1129113

Commit detail:
https://src.fedoraproject.org/rpms/ima-evm-utils/c/19405d5fc4a6c074c5dbe3fafe1362d7bcef8e30

In that way the package is ready for next releases as well.