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