Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910080 - dev-lang/ocaml does not work on macOS
Summary: dev-lang/ocaml does not work on macOS
Status: CONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 910401
Blocks:
  Show dependency tree
 
Reported: 2023-07-09 05:28 UTC by Benda Xu
Modified: 2023-07-18 02:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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