Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870685 - dev-ml/ocamlfuse-2.7.1_p7-r1 - Unix_util_stubs.c: error: call to undeclared function read; ISO C99 and later do not support implic
Summary: dev-ml/ocamlfuse-2.7.1_p7-r1 - Unix_util_stubs.c: error: call to undeclared f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 11:35 UTC by Toralf Förster
Modified: 2022-09-20 17:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.48 KB, text/plain)
2022-09-17 11:35 UTC, Toralf Förster
Details
dev-ml:ocamlfuse-2.7.1_p7-r1:20220917-113404.log (dev-ml:ocamlfuse-2.7.1_p7-r1:20220917-113404.log,75.52 KB, text/plain)
2022-09-17 11:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.65 KB, text/plain)
2022-09-17 11:35 UTC, Toralf Förster
Details
environment (environment,62.43 KB, text/plain)
2022-09-17 11:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.01 KB, application/x-bzip)
2022-09-17 11:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.60 KB, application/x-bzip)
2022-09-17 11:35 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 11:35:27 UTC
                              ^
<scratch space>:212:6: note: expanded from here
 GCC warning "\"enter_blocking_section\" is deprecated: use \"caml_enter_blocking_section\" instead"
     ^
Unix_util_stubs.c:60:9: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  res = read(c_fd, c_data, c_dim); 
        ^

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

  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 f38006d84550ea73795e41f9b7abbc5418aa128e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 09:46:47 2022 +0000

    2022-09-17 09:46:46 UTC

emerge -qpvO dev-ml/ocamlfuse
[ebuild  N    ] dev-ml/ocamlfuse-2.7.1_p7-r1  USE="-ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 11:35:28 UTC
Created attachment 807178 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 11:35:29 UTC
Created attachment 807181 [details]
dev-ml:ocamlfuse-2.7.1_p7-r1:20220917-113404.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 11:35:31 UTC
Created attachment 807184 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-17 11:35:32 UTC
Created attachment 807187 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-17 11:35:33 UTC
Created attachment 807190 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 11:35:34 UTC
Created attachment 807193 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-20 17:58:06 UTC
The bug has been closed via the following commit(s):

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

commit 2958fd6e3029daf53af53720cc85840d2374c6ec
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-09-20 17:57:27 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-09-20 17:57:27 +0000

    dev-ml/ocamlfuse: add unistd include
    
    Closes: https://bugs.gentoo.org/870685
    
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ml/ocamlfuse/files/ocamlfuse-2.7.1_p7-unistd.patch | 10 ++++++++++
 dev-ml/ocamlfuse/ocamlfuse-2.7.1_p7-r1.ebuild          |  2 ++
 2 files changed, 12 insertions(+)