Bug 2049096 - audit: FTBFS in Fedora Rawhide
Summary: audit: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: audit
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Grubb
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F36FTBFS PYTHON3.11 F37FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-02-01 14:41 UTC by Tomáš Hrnčiar
Modified: 2022-06-22 11:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-22 11:49:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2022-02-01 14:41:03 UTC
Description of problem:
Package audit fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.0.7-1.fc36

Steps to Reproduce:
koji build --scratch f36 audit-3.0.7-1.fc36.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/audit

Comment 1 Steve Grubb 2022-02-01 14:48:41 UTC
This is in autogenerated code from SWIG. We have no control over that.

Comment 2 Ben Cotton 2022-02-08 20:22:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 3 Steve Grubb 2022-02-21 18:39:21 UTC
Investigation of this seems to point to the declaration of struct audit_rules_data. The last element is buf[]; Gcc-12 doesn't like this. I started a discussion here:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/BSHYS7GEM3ZAL4RI67NVLAEIHVRS5DQY/

and easy fix is to make it buf[0]; but this will take some time to get in the upstream kernel.

Comment 4 Miro Hrončok 2022-06-22 11:49:14 UTC
Closing this in bulk as it built with Python 3.11. If this needs to remain open for a followup, feel free to reopen, I won't close in bulk again.


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