Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837275 - sys-process/audit-3.0.8 fails to compile: auparse.h:54:9: error: expected declaration specifiers before __attribute_malloc__
Summary: sys-process/audit-3.0.8 fails to compile: auparse.h:54:9: error: expected dec...
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:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2022-04-08 14:07 UTC by Agostino Sarubbo
Modified: 2024-06-23 22:44 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,75.94 KB, application/x-xz)
2022-04-08 14:07 UTC, Agostino Sarubbo
Details
Compilation error under musl (audit-3.0.8-error.tar.bz2,50.08 KB, application/x-bzip)
2022-04-12 13:46 UTC, Oleksa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-04-08 14:07:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-process/audit-3.0.8 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-08 14:07:41 UTC
Created attachment 769388 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Oleksa 2022-04-12 13:43:51 UTC
Hello there!

I am also affected.

Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.0/musl, gcc-11.2.1, musl-1.2.3, 5.15.32-gentoo-r1 x86_64)
Comment 3 Oleksa 2022-04-12 13:46:09 UTC
Created attachment 770372 [details]
Compilation error under musl
Comment 5 Larry the Git Cow gentoo-dev 2022-08-16 00:19:53 UTC
The bug has been closed via the following commit(s):

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

commit 7ed0e40edb8ce9b75521efca7fc14e71e3ac431a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-16 00:09:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-16 00:10:43 +0000

    sys-process/audit: fix musl build
    
    Closes: https://bugs.gentoo.org/837275
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/audit/audit-3.0.8.ebuild               |  3 ++-
 .../audit/files/audit-3.0.8-musl-malloc.patch      | 28 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)