Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870961 - dev-db/libdbi-drivers-0.9.0-r1 - src/unit.c: error: call to undeclared function wait; ISO C99 and later
Summary: dev-db/libdbi-drivers-0.9.0-r1 - src/unit.c: error: call to undeclared functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 882173 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 19:24 UTC by Toralf Förster
Modified: 2023-12-20 15:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2022-09-17 19:24 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.60 KB, application/x-bzip)
2022-09-17 19:24 UTC, Toralf Förster
Details
dev-db:libdbi-drivers-0.9.0-r1:20220917-170810.log (dev-db:libdbi-drivers-0.9.0-r1:20220917-170810.log,18.63 KB, text/plain)
2022-09-17 19:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,71.18 KB, text/plain)
2022-09-17 19:24 UTC, Toralf Förster
Details
environment (environment,77.00 KB, text/plain)
2022-09-17 19:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.45 KB, application/x-bzip)
2022-09-17 19:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.48 KB, application/x-bzip)
2022-09-17 19:25 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.46 KB, application/x-bzip)
2022-09-17 19:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-17 19:24:53 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude    -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o reporter.o `test -f 'src/reporter.c' || echo './'`src/reporter.c
clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude    -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o assertions.o `test -f 'src/assertions.c' || echo './'`src/assertions.c
clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude    -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o vector.o `test -f 'src/vector.c' || echo './'`src/vector.c
clang -DHAVE_CONFIG_H -I. -I../.. -Iinclude    -std=gnu99 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o mocks.o `test -f 'src/mocks.c' || echo './'`src/mocks.c
src/unit.c:229:5: error: call to undeclared function 'wait'; 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_no_multilib_hardened-j4-20220916-220004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.1 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 752b2865f9e19ca4280730410cfaec446f15f897
Merge: 27e349751fc0 db1f1763bde4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 16:31:48 2022 +0000

    Merge updates from master

emerge -qpvO dev-db/libdbi-drivers
[ebuild  N    ] dev-db/libdbi-drivers-0.9.0-r1  USE="sqlite -doc -firebird -mysql -oci8 -postgres -static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 19:24:54 UTC
Created attachment 808828 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 19:24:55 UTC
Created attachment 808831 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-17 19:24:56 UTC
Created attachment 808834 [details]
dev-db:libdbi-drivers-0.9.0-r1:20220917-170810.log
Comment 4 Toralf Förster gentoo-dev 2022-09-17 19:24:57 UTC
Created attachment 808837 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 19:24:58 UTC
Created attachment 808840 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 19:24:59 UTC
Created attachment 808843 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 19:25:00 UTC
Created attachment 808846 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 19:25:02 UTC
Created attachment 808849 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-20 21:35:54 UTC
*** Bug 882173 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2023-12-20 15:19:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d306c830e97ab2bd9dc4e305010103a76e073263

commit d306c830e97ab2bd9dc4e305010103a76e073263
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-20 15:17:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-20 15:18:40 +0000

    dev-db/libdbi-drivers: use fedora's modern C patch
    
    Less void* casting.
    
    Closes: https://bugs.gentoo.org/894750
    Closes: https://bugs.gentoo.org/873997
    Closes: https://bugs.gentoo.org/870961
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libdbi-drivers-0.9.0-clang16-build-fix.patch   | 44 ++++++++++++++++------
 1 file changed, 32 insertions(+), 12 deletions(-)