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

Bug 922714

Summary: dev-ml/core-0.14.0-r4 fails to build: error: ‘core_Val_none’ undeclared (first use in this function); did you mean ‘Val_none’?
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 915368    
Attachments: build.log and emerge --info

Description matoro archtester 2024-01-22 17:47:00 UTC
Only think I can find remotely similar is https://github.com/janestreet/core/issues/100


File "src/dune", line 10, characters 67-77:
10 |  (c_names ocaml_utils_stubs pthread_np_stubs signal_stubs timespec unix_stubs
                                                                        ^^^^^^^^^^
powerpc64-unknown-linux-gnu-gcc src/unix_stubs.o (exit 1)
unix_stubs.c: In function ‘core_unix_sysconf’:
unix_stubs.c:825:14: error: ‘core_Val_none’ undeclared (first use in this function); did you mean ‘Val_none’?
  825 |       return core_Val_none;
      |              ^~~~~~~~~~~~~
      |              Val_none
unix_stubs.c:825:14: note: each undeclared identifier is reported only once for each function it appears in
unix_stubs.c:831:10: warning: implicit declaration of function ‘core_Val_some’ [-Wimplicit-function-declaration]
  831 |   return core_Val_some(caml_copy_int64(ret));
      |          ^~~~~~~~~~~~~

Reproducible: Always
Comment 1 matoro archtester 2024-01-22 17:48:28 UTC
Created attachment 882860 [details]
build.log and emerge --info