[Bug 259888] devel/ocaml-opam ; opam install error

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Nov 2021 22:59:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259888

            Bug ID: 259888
           Summary: devel/ocaml-opam ; opam install error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: devosalain@ymail.com
                CC: hannes@mehnert.org
             Flags: maintainer-feedback?(hannes@mehnert.org)
                CC: hannes@mehnert.org

$opam install async yojson core_extended core_bench cohttp-async async_graphics
cryptokit menhir base core
produces error,

# [...]                                                                         
# rm -f libcamlrun_pic.a && ar rc libcamlrun_pic.a  interp_bpic.o misc_bpic.o
stacks_bpic.o fix_code_bpic.o startup_aux_bpic.o startup_byt_bpic.o
freelist_bpic.o major_gc_bpic.o minor_gc_bpic.o memory_bpic.o alloc_bpic.o
roots_byt_bpic.o globroots_bpic.o fail_byt_bpic.o signals_bpic.o
signals_byt_bpic.o printexc_bpic.o backtrace_byt_bpic.o backtrace_bpic.o
compare_bpic.o ints_bpic.o floats_bpic[...]
# cc -shared -o libcamlrun_shared.so interp_bpic.o misc_bpic.o stacks_bpic.o
fix_code_bpic.o startup_aux_bpic.o startup_byt_bpic.o freelist_bpic.o
major_gc_bpic.o minor_gc_bpic.o memory_bpic.o alloc_bpic.o roots_byt_bpic.o
globroots_bpic.o fail_byt_bpic.o signals_bpic.o signals_byt_bpic.o
printexc_bpic.o backtrace_byt_bpic.o backtrace_bpic.o compare_bpic.o
ints_bpic.o floats_bpic.o str_bpic.o a[...]
# ld: error: duplicate symbol: caml_debug_info
# >>> defined at backtrace_byt.c:47
# >>>            backtrace_byt_bpic.o:(caml_debug_info)
# >>> defined at backtrace.c:31
# >>>            backtrace_bpic.o:(.bss+0x10)

The following actions failed
│ λ build ocaml-secondary-compiler 4.08.1-1
│ λ build ocamlbuild               0.14.0

>cc -v                                                                                                                                                                
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-11.0.1-0-g43ff75f2c3fe)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

-- 
You are receiving this mail because:
You are the assignee for the bug.