Summary: | dev-libs/liblogging-1.0.6-r1 - beeplisten.c: error: implicit declaration of function sbSock_InitUXDOMSOCK [-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b2c, leonchik1976 |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 940658 | ||
Bug Blocks: | 870412, 941869 | ||
Attachments: |
emerge-info.txt
dev-libs:liblogging-1.0.6-r1:20240307-175604.log emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 887049 [details]
emerge-info.txt
Created attachment 887050 [details]
dev-libs:liblogging-1.0.6-r1:20240307-175604.log
Created attachment 887051 [details]
emerge-history.txt.xz
Created attachment 887052 [details]
environment
Created attachment 887053 [details]
etc.clang.tar.xz
Created attachment 887054 [details]
etc.portage.tar.xz
Created attachment 887055 [details]
logs.tar.xz
Created attachment 887056 [details]
qlist-info.txt.xz
Created attachment 887057 [details]
temp.tar.xz
*** Bug 926516 has been marked as a duplicate of this bug. *** Bumping to 1.0.7 will likely help (https://github.com/rsyslog/liblogging/commit/11f0fb1de855b7047c7b7f1977c8e5a910afdcc5). Now that gcc-14 (14.2.1_p20241116) is stable, this prevents building dev-libs/liblogging and dependet packages. On gcc-14, I now get an error while compiling, when with gcc-13 this only triggered a warning: -------------------------------------------------- /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -march=znver2 -c -o liblogging_rfc3195_la-stringbuf.lo `test -f 'stringbuf.c' || echo './'`stringbuf.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -march=znver2 -c stringbuf.c -fPIC -DPIC -o .libs/liblogging_rfc3195_la-stringbuf.o beepframe.c:170:1: error: return type defaults to 'int' [-Wimplicit-int] 170 | sbFramActualRecvFramCommonBody(sbFramObj* pThis,sbChanObj *pChan) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -march=znver2 -c -o liblogging_rfc3195_la-syslogmessage.lo `test -f 'syslogmessage.c' || echo './'`syslogmessage.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -march=znver2 -c -o testdrvr.o testdrvr.c beeplisten.c: In function 'sbLstnInit': beeplisten.c:1055:28: error: implicit declaration of function 'sbSock_InitUXDOMSOCK' [-Wimplicit-function-declaration] 1055 | if((iRet = sbSock_InitUXDOMSOCK(&(pThis->pSockUXDOMSOCKListening), pActualSockName, /*SOCK_DGRAM*/ SOCK_STREAM)) != SR_RET_OK) | ^~~~~~~~~~~~~~~~~~~~ -------------------------------------------------- Could you bump liblogging to 1.0.7 as suggested in https://bugs.gentoo.org/926515#c11 or is something else prventing this at the moment? Thanks and all the best! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b650b7bfce54af7376575cec303cd2898ee90f4a commit b650b7bfce54af7376575cec303cd2898ee90f4a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-23 13:54:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-23 13:55:27 +0000 dev-libs/liblogging: add 1.0.7 Always enable rfc3195 and stdlog, as otherwise, 1.0.7 at least doesn't install anything. They have no extra dependencies and I can't see why not. Closes: https://bugs.gentoo.org/926515 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/liblogging/Manifest | 1 + dev-libs/liblogging/liblogging-1.0.7.ebuild | 46 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) Thanks for the nudge. Let me update the stablereq too. dev-libs/liblogging-1.0.6-r1 (required by app-admin/rsyslog-8.2410.0-r2) still fails building with gcc-14 (In reply to Leonid Kopylov from comment #15) > dev-libs/liblogging-1.0.6-r1 (required by app-admin/rsyslog-8.2410.0-r2) > still fails building with gcc-14 Yeah, I noticed the issue last night (but admittedly forgot today). Will look when home. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d546b2b593811ba5e449815b4e191a4a34c3ce65 commit d546b2b593811ba5e449815b4e191a4a34c3ce65 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-24 21:06:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-24 21:06:43 +0000 app-admin/rsyslog: adapt to liblogging losing USE=rfc3195 Since b650b7bfce54af7376575cec303cd2898ee90f4a, it is always available. Bug: https://bugs.gentoo.org/926515 Signed-off-by: Sam James <sam@gentoo.org> .../rsyslog/{rsyslog-8.2404.0.ebuild => rsyslog-8.2404.0-r2.ebuild} | 2 +- .../rsyslog/{rsyslog-8.2404.0-r1.ebuild => rsyslog-8.2404.0-r3.ebuild} | 2 +- .../rsyslog/{rsyslog-8.2406.0.ebuild => rsyslog-8.2406.0-r1.ebuild} | 2 +- .../rsyslog/{rsyslog-8.2408.0.ebuild => rsyslog-8.2408.0-r1.ebuild} | 2 +- .../rsyslog/{rsyslog-8.2410.0-r2.ebuild => rsyslog-8.2410.0-r3.ebuild} | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) |