chmod 755 cdbmake-sv chmod 755 rts ./compile install.c ./compile hier.c hier.c:5:3: error: call to undeclared function 'h'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20221003-222746 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Rust versions: [1] rust-bin-1.64.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 7178c82507c105041b97e9aeb445f5a94b6f38a1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Oct 4 04:47:39 2022 +0000 2022-10-04 04:47:39 UTC emerge -qpvO dev-db/cdb [ebuild N ] dev-db/cdb-0.75-r4
Created attachment 818977 [details] emerge-info.txt
Created attachment 818980 [details] dev-db:cdb-0.75-r4:20221004-053554.log
Created attachment 818983 [details] emerge-history.txt
Created attachment 818986 [details] environment
Created attachment 818989 [details] etc.portage.tar.bz2
Created attachment 818992 [details] temp.tar.bz2
*** Bug 882109 has been marked as a duplicate of this bug. ***
ping
I wrote a patch for this, might need a bit of cleanup but it compiles and the testsuite for app-i18n/multiskkserv (a revdep) doesn't spit out any errors.
Created attachment 883569 [details, diff] Fixes
Created attachment 886548 [details, diff] Updated version of the fixes
Here's a slightly updated version of the fixes - getting rid of a bunch of autogenerated files and removing a useless extern for free() which might have caused a memory leak.
This is PR with your patch with full attribution
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3912817bfaff968118c02bada3730473ad27fc62 commit 3912817bfaff968118c02bada3730473ad27fc62 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2024-06-28 10:01:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-26 22:41:56 +0000 dev-db/cdb: Port to C99 Main patch is from bug 874963 Closes: https://bugs.gentoo.org/874963 Closes: https://bugs.gentoo.org/894714 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/34204 Closes: https://github.com/gentoo/gentoo/pull/37334 Signed-off-by: Sam James <sam@gentoo.org> dev-db/cdb/cdb-0.75-r5.ebuild | 61 +++++ dev-db/cdb/files/cdb-C99.patch | 482 +++++++++++++++++++++++++++++++++++ dev-db/cdb/files/cdb-make-type.patch | 119 +++++++++ 3 files changed, 662 insertions(+)