Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944290 - sys-process/audit-4.0.1-r1 fails to compile
Summary: sys-process/audit-4.0.1-r1 fails to compile
Status: RESOLVED DUPLICATE of bug 937278
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-21 11:50 UTC by gresskar1
Modified: 2024-11-21 11:57 UTC (History)
1 user (show)

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


Attachments
build log (build.log.txt,159.75 KB, text/plain)
2024-11-21 11:50 UTC, gresskar1
Details
emerge --info (emerge--info.txt,6.39 KB, text/plain)
2024-11-21 11:51 UTC, gresskar1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gresskar1 2024-11-21 11:50:25 UTC
Created attachment 910985 [details]
build log

sys-process/audit-4.0.1-r1 fails to compile
Comment 1 gresskar1 2024-11-21 11:51:39 UTC
Created attachment 910986 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-21 11:57:28 UTC
clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote -I../../..  -I/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1 -I/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/lib -I/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/common  -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -Wundef -Wno-format-truncation -Wno-unused-but-set-variable -march=native -mtune=native -flto=thin -O2 -pipe -fPIC -fstack-clash-protection -fstack-protector-all -fcf-protection=full -ftrivial-auto-var-init=zero -D_FORTIFY_SOURCE=3 -c -o audisp_remote-queue.o `test -f 'queue.c' || echo '/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/'`queue.c
In file included from /var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/queue.c:35:
/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/queue.h:57:2: error: expected function body after function declarator
   57 |         __attribute_malloc__ __attr_dealloc (q_close, 1) __wur;
      |         ^
1 error generated.
make[4]: *** [Makefile:768: audisp_remote-queue.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/audisp-remote.c:55:
/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/queue.h:57:2: error: expected function body after function declarator
   57 |         __attribute_malloc__ __attr_dealloc (q_close, 1) __wur;
      |         ^
/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/audisp-remote.c:439:9: error: call to undeclared function 'q_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  439 |         return q_open(q_flags, path, config.queue_depth, QUEUE_ENTRY_SIZE);
      |                ^
/var/tmp/portage/sys-process/audit-4.0.1-r1/work/audit-4.0.1/audisp/plugins/remote/audisp-remote.c:439:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct queue *' [-Wint-conversion]
  439 |         return q_open(q_flags, path, config.queue_depth, QUEUE_ENTRY_SIZE);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
make[4]: *** [Makefile:740: audisp_remote-audisp-remote.o] Error 1
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-21 11:57:44 UTC

*** This bug has been marked as a duplicate of bug 937278 ***