Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934006 - sys-process/audit-3.1.3 - [ncurses-6.5] /.../queue.h: error: expected declaration specifiers before _attribute_malloc_
Summary: sys-process/audit-3.1.3 - [ncurses-6.5] /.../queue.h: error: expected declara...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 934774 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-10 16:38 UTC by Toralf Förster
Modified: 2024-06-23 22:46 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.98 KB, text/plain)
2024-06-10 16:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,142.42 KB, text/plain)
2024-06-10 16:38 UTC, Toralf Förster
Details
environment (environment,159.73 KB, text/plain)
2024-06-10 16:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-10 16:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.85 KB, application/x-xz)
2024-06-10 16:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,13.97 KB, application/x-xz)
2024-06-10 16:38 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,40.62 KB, application/x-xz)
2024-06-10 16:38 UTC, Toralf Förster
Details
sys-process:audit-3.1.3:20240610-163121.log (sys-process:audit-3.1.3:20240610-163121.log,144.99 KB, text/plain)
2024-06-10 16:38 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,45.60 KB, application/x-xz)
2024-06-10 16:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-10 16:38:05 UTC
too long lines were shrinked:

make[4]: Entering directory '/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3-abi_x86_64.amd64/audisp/plugins/remote'
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote -I../../..  -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3 -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/lib -I/var/tmp/portage/sys-process/audit-
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote -I../../..  -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3 -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/lib -I/var/tmp/portage/sys-process/audit-
x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote -I../../..  -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3 -I/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/lib -I/var/tmp/portage/sys-process/audit-
In file included from /var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote/queue.c:35:
/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote/queue.h: In function 'q_open':
/var/tmp/portage/sys-process/audit-3.1.3/work/audit-3.1.3/audisp/plugins/remote/queue.h:57:9: error: expected declaration specifiers before '__attribute_malloc__'
   57 |         __attribute_malloc__ __attr_dealloc (q_close, 1) __wur;
      |         ^~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240608-075013

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 56cd69b61e78e31d1eca02600cb1974a90abeb3e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 10 16:04:39 2024 +0000

    2024-06-10 16:04:39 UTC

emerge -qpvO sys-process/audit
Comment 1 Toralf Förster gentoo-dev 2024-06-10 16:38:06 UTC
Created attachment 895522 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-10 16:38:07 UTC
Created attachment 895523 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-10 16:38:09 UTC
Created attachment 895524 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-10 16:38:09 UTC
Created attachment 895525 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-10 16:38:11 UTC
Created attachment 895526 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-10 16:38:12 UTC
Created attachment 895527 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-10 16:38:14 UTC
Created attachment 895528 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-10 16:38:15 UTC
Created attachment 895529 [details]
sys-process:audit-3.1.3:20240610-163121.log
Comment 9 Toralf Förster gentoo-dev 2024-06-10 16:38:16 UTC
Created attachment 895530 [details]
temp.tar.xz
Comment 11 Greg Kubaryk 2024-06-23 21:20:16 UTC
*** Bug 934774 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2024-06-23 22:46:53 UTC
The bug has been closed via the following commit(s):

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

commit acf4c3b19d2e93a66020970627da22e813747e2a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-23 22:46:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-23 22:46:14 +0000

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

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