too long lines were shrinked: clang -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c main.c clang -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgLog.c clang -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgDb.c clang -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c HTParse.c clang -I.. -I. -I. -I/usr/include/db5.3 -I/usr/include -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -DLDAP_DEPRECATED -I/usr/include/db5.3 -I/usr/include -c sgDiv.c In file included from sgDb.c:19: ./sg.h:209:3: error: unknown type name 'DB_INFO' 209 | DB_INFO dbinfo; | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_llvm-20240518-162212 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.6+libcxx 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.6+libcxx Python 3.11.9 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21] *) Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 [2] php8.3 * go version go1.22.3 linux/amd64 HEAD of ::gentoo commit 841f3576c49e74ffa60685210ee1f19bf7a9670b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon May 20 16:33:55 2024 +0000 2024-05-20 16:33:53 UTC emerge -qpvO net-proxy/squidguard [ebuild N ] net-proxy/squidguard-1.6.0-r1 USE="-ldap"
Created attachment 893582 [details] emerge-info.txt
Created attachment 893583 [details] emerge-history.txt
Created attachment 893584 [details] environment
Created attachment 893585 [details] etc.clang.tar.xz
Created attachment 893586 [details] etc.portage.tar.xz
Created attachment 893587 [details] logs.tar.xz
Created attachment 893588 [details] net-proxy:squidguard-1.6.0-r1:20240520-165833.log
Created attachment 893589 [details] qlist-info.txt
Created attachment 893590 [details] temp.tar.xz
Created attachment 893591 [details] var.tmp.clang.tar.xz
Created attachment 916546 [details, diff] squidguard-1.6.0-stdlib.patch Please try replacing files/squidguard-1.6.0-stdlib.patch with the attached squidguard-1.6.0-stdlib.patch
That was not enough, nothing defined HAVE_STDLIB_H configure.ac also needed AC_INCLUDES_DEFAULT
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62dd665656426d5e0e21d55da493db14559c61f commit d62dd665656426d5e0e21d55da493db14559c61f Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-16 14:36:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-10 09:24:00 +0000 net-proxy/squidguard: update EAPI 7 -> 8, fix implicit defines in configure Nothing defined HAVE_STDLIB_H, so configure test failed, so wrong version of BerkleyDB was chosen, so compilation failed. Also included extended patch of stdlib.h in configure from the bug tracker, with all attribution. Closes: https://bugs.gentoo.org/898084 Bug: https://bugs.gentoo.org/932312 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40160 Signed-off-by: Sam James <sam@gentoo.org> .../squidguard/files/squidguard-1.6.0-C23.patch | 37 ++++++++ .../squidguard/files/squidguard-1.6.0-stdlib.patch | 40 +++++++- net-proxy/squidguard/squidguard-1.6.0-r2.ebuild | 104 +++++++++++++++++++++ 3 files changed, 177 insertions(+), 4 deletions(-)