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

Bug 910080

Summary: dev-lang/ocaml does not work on macOS
Product: Gentoo/Alt Reporter: Benda Xu <heroxbd>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 910401    
Bug Blocks:    

Description Benda Xu gentoo-dev 2023-07-09 05:28:26 UTC
The build system could not figure out .dylib shared library extension.

 * QA Notice: Found .so dynamic libraries on Darwin:                                                      
 *     /gentoo/usr/lib/ocaml/stublibs/dllcamlstr.son    /gentoo/usr/lib/ocaml/stublibs/dllunix.son    /gentoo/usr/lib/ocaml/stublibs/dllthreads.son    /gentoo/usr/lib/ocaml/libcamlrun_shared.son    /gentoo/usr/li
b/ocaml/libasmrun_shared.so
 * QA Notice: invalid self-reference install_name ./dllcamlstr.so in //gentoo/usr/lib/ocaml/stublibs/dllcamlstr.so
 * QA Notice: invalid self-reference install_name ./dllunix.so in //gentoo/usr/lib/ocaml/stublibs/dllunix.so
 * QA Notice: invalid self-reference install_name ./dllthreads.so in //gentoo/usr/lib/ocaml/stublibs/dllthreads.so
 * QA Notice: invalid self-reference install_name str.cmxs in //gentoo/usr/lib/ocaml/str.cmxs
 * QA Notice: invalid self-reference install_name libcamlrun_shared.so in //gentoo/usr/lib/ocaml/libcamlrun_shared.so
 * QA Notice: invalid self-reference install_name bigarray.cmxs in //gentoo/usr/lib/ocaml/bigarray.cmxs
 * QA Notice: invalid self-reference install_name unix.cmxs in //gentoo/usr/lib/ocaml/unix.cmxs
 * QA Notice: invalid self-reference install_name libasmrun_shared.so in //gentoo/usr/lib/ocaml/libasmrun_shared.so
 * ERROR: dev-lang/ocaml-4.14.1::gentoo_prefix failed:
 *   invalid install_name found, your application or library will crash at runtime
 * 
 * Call stack:
 *   misc-functions.sh, line 861:  Called install_qa_check
 *   misc-functions.sh, line 186:  Called install_qa_check_macho
 *   misc-functions.sh, line 442:  Called die
 * The specific snippet of code:
 *              has allow_broken_install_names ${FEATURES} || \
 *                      die "invalid install_name found, your application or library will crash at runtime"


Reproducible: Always