Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 874963

Summary: dev-db/cdb-0.75-r4 - hier.c: error: call to undeclared function h; ISO C99 and later do not
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Akinori Hattori <hattya>
Status: CONFIRMED ---    
Severity: normal CC: seal331gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-db:cdb-0.75-r4:20221004-053554.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2
Fixes
Updated version of the fixes

Description Toralf Förster gentoo-dev 2022-10-04 16:28:39 UTC
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
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:28:40 UTC
Created attachment 818977 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:28:41 UTC
Created attachment 818980 [details]
dev-db:cdb-0.75-r4:20221004-053554.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:28:42 UTC
Created attachment 818983 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:28:43 UTC
Created attachment 818986 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:28:44 UTC
Created attachment 818989 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:28:45 UTC
Created attachment 818992 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:33:26 UTC
*** Bug 882109 has been marked as a duplicate of this bug. ***
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-11 00:43:29 UTC
ping
Comment 9 Vladislav Dudar 2024-01-29 17:29:33 UTC
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.
Comment 10 Vladislav Dudar 2024-01-29 17:30:29 UTC
Created attachment 883569 [details, diff]
Fixes
Comment 11 Vladislav Dudar 2024-03-02 19:53:05 UTC
Created attachment 886548 [details, diff]
Updated version of the fixes
Comment 12 Vladislav Dudar 2024-03-02 19:54:24 UTC
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.