Skip to content

esy 0.6.10 fails on Void Linux with fresh clone #94

@water-sucks

Description

@water-sucks

I'm trying to build a fresh clone of the quick start repo, and this error with the reason-native-crash-utils happens that I've never seen before:

info esy 0.6.10 (using package.json)
info fetching: done
info installing: done
info building reason-native-crash-utils@github:onivim/reason-native-crash-utils#38c8f00@d41d8cd9
error: build failed with exit code: 1
  build log:
    # esy-build-package: building: reason-native-crash-utils@github:onivim/reason-native-crash-utils#38c8f00
    # esy-build-package: pwd: /home/varun/.esy/source/i/reason_native_crash_utils__a616af2e
    # esy-build-package: running: 'dune' 'build' '-p' 'reason-native-crash-utils'
        ocamlopt asan/Asan.cmxs (exit 2)
    (cd /home/varun/.esy/3/b/reason_native_crash_utils-bf596437/default && /home/varun/.esy/3___________________________________________________________________/i/ocaml-4.9.1000-ffe51dac/bin/ocamlopt.opt -w -40 -g -shared -linkall -I asan -o asan/Asan.cmxs asan/Asan.cmxa)
    /usr/bin/ld: cannot find -lasan
    collect2: error: ld returned 1 exit status
    File "caml_startup", line 1:
    Error: Error during linking
    error: command failed: 'dune' 'build' '-p' 'reason-native-crash-utils' (exited with 1)
    esy-build-package: exiting with errors above...

  building reason-native-crash-utils@github:onivim/reason-native-crash-utils#38c8f00
esy: exiting due to errors above

I removed my ~/.esy directory, but the problem persists. Not sure what is happening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions