Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870886 - media-libs/fidlib-0.9.10-r1 - firun.c: error: call to undeclared function read; ISO C99 and later do
Summary: media-libs/fidlib-0.9.10-r1 - firun.c: error: call to undeclared function rea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard: fixed in 0.9.10-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 16:58 UTC by Toralf Förster
Modified: 2024-10-26 21:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.57 KB, text/plain)
2022-09-17 16:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,136.06 KB, text/plain)
2022-09-17 16:58 UTC, Toralf Förster
Details
environment (environment,81.58 KB, text/plain)
2022-09-17 16:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.97 KB, application/x-bzip)
2022-09-17 16:58 UTC, Toralf Förster
Details
media-libs:fidlib-0.9.10-r1:20220917-160509.log (media-libs:fidlib-0.9.10-r1:20220917-160509.log,4.44 KB, text/plain)
2022-09-17 16:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.29 KB, application/x-bzip)
2022-09-17 16:58 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 16:58:10 UTC
   cmd_tmp= ALLOC_ARR(cmd_max= filt_cnt + 4, char);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
 * clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 firun.c -lm ./libfidlib.so.0 -o firun
firun.c:281:15: error: call to undeclared function 'read'; 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_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.2.0 *
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:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
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 27e349751fc08f79c6f96f84652edf0c93ba9a1f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 14:46:52 2022 +0000

    2022-09-17 14:46:52 UTC

emerge -qpvO media-libs/fidlib
[ebuild  N    ] media-libs/fidlib-0.9.10-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-17 16:58:12 UTC
Created attachment 808339 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 16:58:13 UTC
Created attachment 808342 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 16:58:15 UTC
Created attachment 808345 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 16:58:16 UTC
Created attachment 808348 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 16:58:17 UTC
Created attachment 808351 [details]
media-libs:fidlib-0.9.10-r1:20220917-160509.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 16:58:18 UTC
Created attachment 808354 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-30 00:58:44 UTC
The bug has been closed via the following commit(s):

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

commit 45a76f207644511be49fab8395ba5a82dddb5b70
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-30 00:57:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-30 00:58:07 +0000

    media-libs/fidlib: fix implicit function declarations (clang 16)
    
    Closes: https://bugs.gentoo.org/870886
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/fidlib/fidlib-0.9.10-r1.ebuild                 | 14 +++-----------
 .../fidlib-0.9.10-Add-missing-unistd.h-include.patch      | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 11 deletions(-)