<d_bot>
<Et7f3> it does some cleanup and call real expunge
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has quit [Quit: WeeChat 3.3]
xiongxin has joined #ocaml
Haudegen has quit [Ping timeout: 265 seconds]
chrisz has quit [Ping timeout: 250 seconds]
chrisz has joined #ocaml
shawnw has quit [Ping timeout: 268 seconds]
kandu_ is now known as kandu
rgrinberg has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
average has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gravicappa has joined #ocaml
waleee has joined #ocaml
shawnw has joined #ocaml
average has quit [Quit: Connection closed for inactivity]
chrisz has quit [Ping timeout: 250 seconds]
chrisz has joined #ocaml
namkeleser has quit [Ping timeout: 256 seconds]
Serpent7776 has joined #ocaml
Tuplanolla has joined #ocaml
Haudegen has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
salkin has joined #ocaml
olle has joined #ocaml
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
bartholin has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
gravicappa has quit [Ping timeout: 256 seconds]
bartholin has quit [Ping timeout: 256 seconds]
namkeleser has joined #ocaml
bartholin has joined #ocaml
<d_bot>
<Kate> kronicmage: Actually I just tried and your issue is fixed in opam 2.1
<d_bot>
<NULL> What would the issue be ? Because I have the same error feed when the invariant is "ocaml-system=4.11.1" and pacman's OCaml is at version 4.12.0, when I try "opam install ocaml-lsp-server". Or do you simply mean that opam 2.1 allows more easily to change the invariant to reflect the new version of the distribution's compiler ?
namkeleser has quit [Ping timeout: 256 seconds]
namkeleser has joined #ocaml
average has joined #ocaml
<d_bot>
<Kate> mh no, opam 2.1 does it automatically from what I tested
<d_bot>
<Kate> @NULL what version of opam do you have?
namkeleser has quit [Ping timeout: 256 seconds]
<d_bot>
<Kate> what does `opam switch invariant` give you?
<d_bot>
<NULL> `opam upgrade` prompts to `--fixup`, trying to install a package doesn't
<d_bot>
<NULL> Or should opam automatically set any `ocaml-system` invariant not to mention any version (that's what it was when I looked at it now but I thought I might have changed it)
<d_bot>
<NULL> In this case, it automatically schedules the compiler upgrade on installing a package (and on global upgrade I presume)
chrisz has quit [Ping timeout: 265 seconds]
nfc_ has quit [Ping timeout: 268 seconds]
chrisz has joined #ocaml
<d_bot>
<andreypopp> I have a setup where I use (1) cstubs generation to bind to C code and then (2) inverted C stubs to expose some functions to C code. The problem is that when I compile a generator for (2) it tries to link (1) as the functions I'm trying to expose use APIs from (1). It fails understandably on undefined references to externs...
<d_bot>
<andreypopp> Is there any way to separate inverted cstubs definitions from implementations so I don't try to link stuff which is only executable at runtime into generator?
<d_bot>
<andreypopp> as a workaround I know I can pass `-ccopt -Wl,--unresolved-symbols=ignore-in-object-files` when building a generator for (2) but wondering if there's some kind of blessed way
<d_bot>
<cemerick> hah, yup
<d_bot>
<cemerick> maybe rub some CNNs on it
nfc_ has joined #ocaml
bartholin has quit [Ping timeout: 245 seconds]
waleee has quit [Ping timeout: 260 seconds]
bartholin has joined #ocaml
waleee has joined #ocaml
gravicappa has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
Reffter has joined #ocaml
Reffter has left #ocaml [#ocaml]
zebrag has joined #ocaml
waleee has quit [Ping timeout: 265 seconds]
waleee has joined #ocaml
kronicmage has quit [Quit: WeeChat 3.0.1]
average has quit [Quit: Connection closed for inactivity]
<d_bot>
<Kate> @NULL yeah exactly. If your invariant is set to 4.11.1 opam can’t really do much about it automatically. The switch could have been created with e.g. `opam switch create system ocaml-system` and this would have set the invariant automatically to "whatever the version on the system is". You can always set it after the fact with `opam switch set-invariant ocaml-system`
<d_bot>
<NULL> And "system" switches before 2.1 would not fix their version in the invariant during the update ?
<d_bot>
<Kate> i don’t think so. The invariant system was introduced in 2.1. Before that it was just all linked to a unique compiler package set at a specific version
<d_bot>
<NULL> So 2.1 allows for good "system" switches that don't track the version in the invariant, but you have to set the good invariant (so remove the specific version of `ocaml-system`) manually, right ?
<d_bot>
<Kate> yep, exactly
<d_bot>
<NULL> That is what kronicmage has to do then