Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874963 - dev-db/cdb-0.75-r4 - hier.c: error: call to undeclared function h; ISO C99 and later do not
Summary: dev-db/cdb-0.75-r4 - hier.c: error: call to undeclared function h; ISO C99 an...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
: 882109 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:28 UTC by Toralf Förster
Modified: 2024-05-26 06:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
dev-db:cdb-0.75-r4:20221004-053554.log (dev-db:cdb-0.75-r4:20221004-053554.log,8.46 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.01 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
environment (environment,61.23 KB, text/plain)
2022-10-04 16:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.88 KB, application/x-bzip)
2022-10-04 16:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.25 KB, application/x-bzip)
2022-10-04 16:28 UTC, Toralf Förster
Details
Fixes (test.patch,13.03 KB, patch)
2024-01-29 17:30 UTC, Vladislav Dudar
Details | Diff
Updated version of the fixes (fixes_2.patch,12.47 KB, patch)
2024-03-02 19:53 UTC, Vladislav Dudar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.