Skip to content

Opam sandboxing issues #19

Closed
Closed
@reynir

Description

@reynir

On a new opam switch in the master branch of conan I get the following error when installing conan:

Entering directory '/home/reynir/workspace/conan'
Copying to _destdir/home/reynir/workspace/conan/_opam/lib/conan/META
Error: mkdir(_destdir): Read-only file system

While in another opam switch installing conan from opam results in a different but related error:

Entering directory '/home/reynir/workspace/builder-web'
Error: Unknown package conan!
Fatal error: exception Sys_error("_build/.filesystem-clock: Read-only file system")
Raised by primitive operation at Stdlib.open_out_gen in file "stdlib.ml", line 331, characters 29-55
Called from Stdune__io.Make.with_file_out in file "otherlibs/stdune/io.ml", line 102, characters 17-43
Called from Dune_engine__cached_digest.get_current_filesystem_time in file "src/dune_engine/cached_digest.ml", line 80, characters 2-38
Called from Dune_engine__cached_digest.delete_very_recent_entries in file "src/dune_engine/cached_digest.ml", line 94, characters 12-42
Called from Dune_engine__cached_digest.dump.(fun) in file "src/dune_engine/cached_digest.ml", line 117, characters 8-37
Called from Stdune__exn.protectx in file "otherlibs/stdune/exn.ml", line 12, characters 8-11
Re-raised at Stdune__exn.protectx in file "otherlibs/stdune/exn.ml", line 18, characters 4-11
Called from Stdlib.at_exit.new_exit in file "stdlib.ml", line 560, characters 59-63
Called from Stdlib.do_at_exit in file "stdlib.ml" (inlined), line 566, characters 20-61
Called from Stdlib.exit in file "stdlib.ml", line 569, characters 2-15
Called from Main in file "bin/main.ml", line 100, characters 4-10

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