count3rmeasure has quit [Read error: Connection reset by peer]
GreaseMonkey has quit [Remote host closed the connection]
greaser|q has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kotrcka has quit [Remote host closed the connection]
jao has quit [Ping timeout: 248 seconds]
waleee has quit [Ping timeout: 248 seconds]
trev has joined #ocaml
rgrinberg has joined #ocaml
deadmarshal_ has quit [Ping timeout: 265 seconds]
deadmarshal_ has joined #ocaml
Haudegen has joined #ocaml
mro has joined #ocaml
alexherbo2 has joined #ocaml
rgrinberg has quit [Ping timeout: 246 seconds]
troydm has quit [Ping timeout: 268 seconds]
kurfen has quit [Read error: Connection reset by peer]
mro has quit [Remote host closed the connection]
kurfen has joined #ocaml
bartholin has joined #ocaml
mro has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
Serpent7776 has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
xd1le has joined #ocaml
alexherbo2 has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 252 seconds]
kakadu has joined #ocaml
greaser|q has quit [Changing host]
greaser|q has joined #ocaml
greaser|q is now known as GreaseMonkey
alexherbo2 has quit [Remote host closed the connection]
<discocaml>
<Alistair> Is there a way to convert from an `Lwt_stream` to an `Lwt_seq`?
alexherbo2 has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
rgrinberg has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Ping timeout: 248 seconds]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ocaml
mro has quit [Quit: Leaving...]
proportions has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
olle has joined #ocaml
alexherbo2 has quit [Ping timeout: 260 seconds]
troydm has joined #ocaml
alexherbo2 has joined #ocaml
proportions has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
bartholin has quit [Quit: Leaving]
proportions has joined #ocaml
proportions has quit [Remote host closed the connection]
proportions has joined #ocaml
szkl has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
dnh has joined #ocaml
noze has joined #ocaml
<noze>
`opam install apron` fails with a compile error for me on arch linux (both with ocaml 4.12.1 and 4.14.1). my guess is that some system libraries have been updated and apron's build is broken; could someone please confirm?
<Fardale>
Hum, look like a lot of C, I will not be able to help you with this
<octachron>
The C warnings look like a red herring: they seem to be all warnings.
<noze>
yes, I was confused by that as well, but I also can't see any actual errors. and it doesn't look like -Werror-implicit-function is the culprit either
<noze>
a colleague just tested on his ubuntu box and managed to compile apron. he's using the mpfr system dependency at 4.1.0; on my system it was upgraded to 4.2.0 10 days ago, so I suspect that's the problem.
<octachron>
What is your version of make? The reported error is on the missing depend file at `-include depend`
<octachron>
But the semantics of "-include" (compared to just "include") is to ignore the missing file error
<noze>
GNU make 4.4
wingsorc__ has quit [Ping timeout: 252 seconds]
<octachron>
(hm, that's more recent than Unbuntu version) What happens if you test a Makefile which contains only "-include depend"?
Haudegen has quit [Quit: Bin weg.]
<octachron>
It looks like the apron "all" rule is not generating the `depend` file, the error could be due to a stricter semantics for "-include" ?
<noze>
for the record, building master from source outside of opam succeeds
proportions has quit [Remote host closed the connection]
<octachron>
Then the error is probably not here. Have you tried to build the master branch in opam with "opam pin add --dev-repo apron"?
<octachron>
malc, hm the recommendation for adding `-I +unix` and `-I +str` wasn't mean for ocamldep which has a slightly different semantics for the `-I` flags
<octachron>
basically, the `-I <dir>` adds the directory <dir> to the source directory in ocamldep
<malc>
octachron: think i'll add special handling of +directories when deriving ocamldep command line from ocamlc's one, thanks
mro has quit [Remote host closed the connection]
alexherbo2 has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
mro has joined #ocaml
proportions has quit [Remote host closed the connection]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Ping timeout: 246 seconds]
Guest20 has joined #ocaml
mro has joined #ocaml
slothby has quit [Quit: brb ... maybe]
<Guest20>
I am trying to use dune to build a simple project with a library and a test for that library. The test cannot seem to use the wrapped version of the library `Lib.Foo` and instead I have to use `Lib__Foo`. Is this expected? Why? I thought the wrapping was supposed to happen always. In `utop`, I can `#require` my findlib dependencies and then `#load`
<Guest20>
the library's `cma` file but none of the modules come into scope. I have very simple dune files like `(library (name lib) (libraries foo bar baz))` and `(test (name foo) (libraries lib alcotest))` and this doesn't seem to work. Where have I gone wrong? Thanks.
<octachron>
Do you happen to have a module named `<Lib>` in your library `<lib>`?
<Guest20>
No, I have a single `ml` file `foo` and its corresponding `mli`
<Guest20>
Merlin seems to think using `Lib` in the test is fine (but seemingly empty) but `Lib.Foo` is right out and `Lib__Foo` is excellent.
mro has quit [Remote host closed the connection]
mro has joined #ocaml
<octachron>
The Lib should not be empty with the setup that you described.
<Guest20>
Ok. Good to know I'm not crazy. I'm running dune 3.6.1 and OCaml 4.14. I even see `_build/default/lib/lib.ml-gen` which contains the generated wrapper `module Foo = Lib__Foo` but I don't know if it is actually built/used.
olle has quit [Ping timeout: 248 seconds]
<discocaml>
<emillon> is there a file lib.ml or lib.mli in your source tree ?
<octachron>
(with lib being the name of your library)
<octachron>
Do you have more information on your setup (a link for instance)?
<Guest20>
discocaml ahhhhhh I did have an empty lib.ml in lib_test! It all works perfectly now. Hmmm... this is... questionable.
trev has quit [Remote host closed the connection]
<Guest20>
It is humorous that in adopting Dune to emulate proper module namespacing in OCaml source, we've lost file system level namespacing in OCaml projects.
<noze>
how can i prevent opam install from upgrading packages?
<noze>
I don't care about upstream changes right now
<octachron>
Guest20, local modules have always had the priority over library modules? There is nothing lost here?
<Guest20>
Hmm... yes, you're right, my mistake.
Guest20 has quit [Quit: Client closed]
<discocaml>
<mbacarella> kind of a shot in the dark but is there known resistance for the protobufs library to represent unsigned ints as different unsigned types?
<octachron>
noze, --skip-updates
<noze>
octachron: thank you!
proportions has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<companion_cube>
mbcacarella: given that this is not doable without deps, I doubt ocaml-protoc would be fine with it
bgs has joined #ocaml
bgs has quit [Ping timeout: 260 seconds]
bgs has joined #ocaml
azimut has joined #ocaml
jao has joined #ocaml
mro has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Haudegen has joined #ocaml
motherfsck has quit [Remote host closed the connection]
proportions has quit [Remote host closed the connection]
proportions has joined #ocaml
proportions has quit [Remote host closed the connection]
proportions has joined #ocaml
omegatron has quit [Quit: Power is a curious thing. It can be contained, hidden, locked away, and yet it always breaks free.]
proportions has quit [Remote host closed the connection]
olle has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
Anarchos has quit [Ping timeout: 248 seconds]
slothby has joined #ocaml
bartholin has joined #ocaml
mro has joined #ocaml
mro has quit [Quit: Leaving...]
proportions has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
Tuplanolla has joined #ocaml
proportions has quit [Remote host closed the connection]
proportions has joined #ocaml
rgrinberg has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
trev has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trev has quit [Remote host closed the connection]
wingsorc__ has joined #ocaml
proportions has quit [Remote host closed the connection]
proportions has joined #ocaml
xgqt has quit [Ping timeout: 248 seconds]
xgqt has joined #ocaml
bgs has quit [Remote host closed the connection]
<proportions>
asdasfas
wingsorc__ has quit [Remote host closed the connection]
wingsorc has joined #ocaml
trillion_exabyte has joined #ocaml
szkl has joined #ocaml
proportions has quit [Remote host closed the connection]