在我的ArchLinux笔记本电脑上通过utop安装opam时,我收到以下消息:
$ opam install utop The following actions will be performed: - install camomile.0.8.5 [required by utop] - install zed.1.3 [required by utop] - install lambda-term.1.6 [required by utop] - install utop.1.14 4 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove Do you want to continue ? [Y/n] =-=-= Installing camomile.0.8.5 =-=-= Applying cmxs.patch. [ERROR] Due to some errors while processing camomile.0.8.5, the following actions will NOT proceed: - install utop.1.14 - install lambda-term.1.6 - install zed.1.3 ===== ERROR while installing camomile.0.8.5 ===== Could not get the source for camomile.0.8.5: # opam-version 1.1.1 # os linux Patch file "/home/sinan/.opam/system/build/camomile.0.8.5/cmxs.patch" not found. 'opam install utop' failed.
尝试自行安装camomile也会出现同样的错误。这似乎与commit 672e44e有关,cmxs.patch作为{{3}}传递到opam
存储库。我不确定哪些内容会中断,以便opam
尝试在没有补丁文件的情况下构建。
我尝试下载并将cmxs.patch
放在报告的位置,但是,当然,当我尝试通过opam
安装时,该目录会被破坏。
我该怎么办?
答案 0 :(得分:0)
我本来希望能够修复底层问题,但是,最后,下载contents of the cmxs.patch file,将其添加到已下载的~/.opam/archives/camomile.0.8.5+opam.tar.gz
存档,然后发布
$ opam install camomile
的工作。
之后,opam install utop
也顺利完成了。
供您参考,我有:
$ opam --version 1.1.1
$ cat .opam/repo/default/repo upstream: "https://github.com/ocaml/opam-repository/tree/master/" browse: "https://opam.ocaml.org/pkg/"