Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936080 - sys-process/audit: fails to build, implicit declaration of function printf
Summary: sys-process/audit: fails to build, implicit declaration of function printf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SE Linux Bugs
URL: https://github.com/linux-audit/audit-...
Whiteboard: fixed in 3.1.4-r1
Keywords: PATCH
: 936113 936116 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-07-15 03:17 UTC by Andrew Udvare
Modified: 2024-11-01 16:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Upstream patch (ec6763ed29a034b452a6fb568b226c57c7be30e7.patch,20.19 KB, patch)
2024-07-15 03:18 UTC, Andrew Udvare
Details | Diff
build log (build.log,113.89 KB, text/x-log)
2024-07-15 03:19 UTC, Andrew Udvare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Udvare 2024-07-15 03:17:48 UTC
Likely missing headers.

Reproducible: Always

Steps to Reproduce:
1. Allow ~amd64 for sys-process/audit
2. emerge sys-process/audit
Actual Results:  
Fails to build.

Expected Results:  
Should build.
Comment 1 Andrew Udvare 2024-07-15 03:18:26 UTC
Created attachment 897636 [details, diff]
Upstream patch
Comment 2 Andrew Udvare 2024-07-15 03:19:14 UTC
Created attachment 897637 [details]
build log
Comment 3 Larry the Git Cow gentoo-dev 2024-07-15 03:32:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d50c79cc88f5dc8272e987278bc2d35a805619

commit c2d50c79cc88f5dc8272e987278bc2d35a805619
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-07-15 03:31:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-15 03:31:39 +0000

    sys-process/audit: fix modern C issues
    
    Revbump for two reasons:
    1) the general modern C rationale per the wiki page and ML post, but also
    2) the patch changes behaviour to drop e.g. printf in the library side.
    
    Closes: https://bugs.gentoo.org/936080
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{audit-3.1.4.ebuild => audit-3.1.4-r1.ebuild}  |   4 +
 sys-process/audit/files/audit-3.1.4-c99.patch      | 599 +++++++++++++++++++++
 2 files changed, 603 insertions(+)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 06:54:04 UTC
*** Bug 936113 has been marked as a duplicate of this bug. ***
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-16 06:54:21 UTC
*** Bug 936116 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2024-11-01 16:56:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200dd4d0252c70f32a81496eb94834fcbb0dfb35

commit 200dd4d0252c70f32a81496eb94834fcbb0dfb35
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-01 16:28:54 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-01 16:56:16 +0000

    sys-process/audit: drop 3.1.2, 3.1.4-r1
    
    Bug: https://bugs.gentoo.org/936080
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-process/audit/Manifest                         |   2 -
 sys-process/audit/audit-3.1.2.ebuild               | 196 -------
 sys-process/audit/audit-3.1.4-r1.ebuild            | 197 -------
 .../audit/files/audit-3.0.8-musl-malloc.patch      |  29 -
 sys-process/audit/files/audit-3.1.4-c99.patch      | 599 ---------------------
 5 files changed, 1023 deletions(-)