You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some scripts that use opam commands to install/uninstall collections of related packages. In the process of using them, I found a bug in the fetching/caching of build-directories. Here are two scripts: the first produces an error, the second does not. I append first the two scripts, and then the error, and then the output of "opam config report". Also, if I uncomment the last line of DOIT.BAD (which runs the install command a second time), then it works the second time.
I suppose there is something wrong with the way "--working-dir" is working.
+ opam remove -y not-ocamlfind
The following actions will be performed:
⊘ remove not-ocamlfind 0.07.02*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⊘ removed not-ocamlfind.0.07.02
Done.
+ opam pin -y -n add not-ocamlfind https://github.com/chetmurthy/not-ocamlfind.git
[NOTE] Package not-ocamlfind is currently pinned to git+file:///home/chet/Hack/Camlp5/src/ALL/not-ocamlfind#master (version 0.07.02).
[not-ocamlfind.0.07.02] synchronised (git+https://github.com/chetmurthy/not-ocamlfind.git)
not-ocamlfind is now pinned to git+https://github.com/chetmurthy/not-ocamlfind.git (version 0.07.02)
+ cd not-ocamlfind
+ opam install -y --working-dir .
[NOTE] Package not-ocamlfind is currently pinned to git+https://github.com/chetmurthy/not-ocamlfind.git (version 0.07.02).
not-ocamlfind is now pinned to git+file:///home/chet/Hack/Camlp5/src/ALL/not-ocamlfind#master (version 0.07.02)
The following actions will be performed:
∗ install not-ocamlfind 0.07.02*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#=== ERROR while compiling not-ocamlfind.0.07.02 ==============================#
/home/chet/Hack/Opam-2.1.0/bin/opam: "chdir" failed on /home/chet/Hack/Opam-2.1.0/GENERIC/4.12.0~alpha3/.opam-switch/sources/not-ocamlfind: No such file or directory
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build not-ocamlfind 0.07.02
└─
╶─ No changes have been performed
I have some scripts that use opam commands to install/uninstall collections of related packages. In the process of using them, I found a bug in the fetching/caching of build-directories. Here are two scripts: the first produces an error, the second does not. I append first the two scripts, and then the error, and then the output of "opam config report". Also, if I uncomment the last line of DOIT.BAD (which runs the install command a second time), then it works the second time.
I suppose there is something wrong with the way "--working-dir" is working.
DOIT.BAD:
DOIT.OK:
Failed output of DOIT.BAD:
============================================================================
The text was updated successfully, but these errors were encountered: