170 | sbFramActualRecvFramCommonBody(sbFramObj* pThis,sbChanObj *pChan) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:604: liblogging_rfc3195_la-beepframe.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O3 -pipe -march=native -fno-diagnostics-color -c beepmessage.c -fPIC -DPIC -o .libs/liblogging_rfc3195_la-beepmessage.o 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) | ^~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd_merged_usr-20240301-035009 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.0 Python 3.11.8 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.75.0 [2] rust-1.75.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] 2) OpenJDK 8.402_p06 [openjdk-8] 3) Eclipse Temurin JDK 11.0.22_p7 [openjdk-bin-11] 4) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] 6) Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-8 [3] openjdk-bin-8 [4] openjdk-bin-11 [5] openjdk-bin-17 [6] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.1 [2] php8.3 * go version go1.22.1 linux/amd64 HEAD of ::gentoo commit 4d97e40124aef7188a6faa8153fe9a48c3838d3e Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Mar 7 16:49:23 2024 +0000 2024-03-07 16:49:23 UTC emerge -qpvO dev-libs/liblogging [ebuild N ] dev-libs/liblogging-1.0.6-r1 USE="rfc3195 stdlog systemd"
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(-)