hannes changed the topic of #mirage to: bug cleaning day every first friday in month (14:00 UTC - late, next: 2nd Feb); MirageOS 3 is released, happy hacking!
mort___ has quit [Quit: Leaving.]
dtornabene has joined #mirage
damjan has joined #mirage
dtornabene has quit [Quit: Leaving]
seliopou has quit [Ping timeout: 255 seconds]
AltGr has joined #mirage
argent_smith has joined #mirage
olle has joined #mirage
olle has quit [Quit: olle]
mort___ has joined #mirage
mort___ has left #mirage [#mirage]
olle has joined #mirage
abeaumont has quit [Remote host closed the connection]
demonimin has quit [Ping timeout: 268 seconds]
demonimin has joined #mirage
demonimin has joined #mirage
mort___ has joined #mirage
mort___ has quit [Client Quit]
seliopou has joined #mirage
olle has quit [Quit: olle]
<kensan> Is mirage.io currently not responding or is the problem on my side?
<reynir> not just you
<jpdeplaix> +1
<jpdeplaix> cc hannes
mort___ has joined #mirage
<hannes> jpdeplaix: no need to cc me, I don't have any access on mirage.io. it's all in anil's hand
<jpdeplaix> he can't do it for now but will later. I'll post on the slack to keep track
<damjan> trying to install mirage I get this "The following actions failed ∗ install ocamlfind 1.7.3-1"
<hannes> damjan: which OS + OCaml version? did you run "eval `opam config env`" after opam switch xxxx?
<damjan> hannes: ocaml and opam are installed from distro packages - it's Archlinux
<hannes> damjan: or is it a "system" switch (i.e. OCaml installed by the OS, rather than via opam?) -- this seems to end up in troubles..
<damjan> it is
<damjan> .opam/config says "switch: "system"
<damjan> "
<hannes> damjan: could you "opam switch 4.05.0" to have a fresh compiler compiled by opam, and afterwards run "eval `opam config env`" and opam install mirage?
<damjan> btw, the packaged ocaml is "The OCaml toplevel, version 4.06.0"
<damjan> ok brb, downloading
<hannes> then 4.06.0 -- the xen backend atm is 4.04.2 and 4.05.0 only, the kvm + unix backends are happy with 4.06.0
<damjan> kvm is fine with me :)
<jpdeplaix> damjan: got it
<jpdeplaix> you need to install ocaml-compiler-libs
<jpdeplaix> it seems that some distributions installs it separately
<damjan> jpdeplaix: wait, so I run switch or not?
<damjan> aha
<jpdeplaix> no, just use the system switch it should work fine from now on
<jpdeplaix> (hopefully)
<hannes> jpdeplaix: oh, thanks for jumping in.. I'm not a GNU/Linux user ;p
<damjan> aha, it's an Arch package too
<hannes> and read quite some issues about broken system packages every now and then..
<jpdeplaix> I just had to ask David ^^"
<damjan> yey
<damjan> building
<jpdeplaix> good ! :)
<hannes> \o/
<jpdeplaix> I'll fix the opam package
<damjan> The following actions failed * install base v0.10.0 ∗ install ocaml-compiler-libs v0.10.0 ∗ install ocaml-migrate-parsetree 1.0.7
<jpdeplaix> crap
<jpdeplaix> do you have any more logs ?
<damjan> why does it try to install compiler-libs 0.10.0 when I installed extra/ocaml-compiler-libs 4.06.0-1 [installed]
<damjan> jpdeplaix: yes, just a sec
<damjan> do I need to install something else from the Arch package? http://vpaste.net/TgvTI
<damjan> packages*
<jpdeplaix> oh....
<jpdeplaix> that might be a problem with the archlinux package
<jpdeplaix> yes it. I'll send an email to the maintainer :/
<jpdeplaix> it is*
<damjan> jpdeplaix: what exactly is the problem? I'm an ocaml newbie
<jpdeplaix> well, the ocaml-compiler-libs packages from archlinux only installs the bytecode version of the library but the compiler installs the both the bytecode version and the native one
<jpdeplaix> usually the two packages are installed together but for some reason archlinux decided to split them
<damjan> so the bug report would be "install native version of the package too"?
<damjan> I can do that :)
<jpdeplaix> some ocaml libraries need compiler-libs to be built and correctly detects that the compiler supports the native version and thus try to compile against the native version of the compiler-libs
<jpdeplaix> I've already sent an email to the maintainer, don't worry
<jpdeplaix> oh. Seems like there is already a bug report: https://bugs.archlinux.org/task/57200
<reynir> damjan: I'd recommend using a separate switch (not 'system') on Archlinux since it's a pain in the butt when pacman updates e.g. OCaml and all the opam packages break
<reynir> (I wonder if you can do 'opam switch reinstall system')
<damjan> ah :/
<damjan> opam switch 4.06.0
mort___ has quit [Quit: Leaving.]
AltGr has left #mirage [#mirage]
<damjan> # /home/damjan/.opam/4.06.0/build/solo5-kernel-ukvm.0.2.2-1/kernel/ukvm/solo5.o:/home/damjan/.opam/4.06.0/build/solo5-kernel-ukvm.0.2.2-1/kernel/ukvm/io.c:95: more undefined references to `__stack_chk_fail' follow
<hannes> damjan: sounds to me like some gcc option for stack safeguarding is enabled by default and needs to be explicitly disabled..
<damjan> oh, most probably
<dstolfa> hannes: or explicitly linked in if they want to use it
<hannes> dstolfa: well, so our OCaml runtime etc. is compiled without red zone etc. -- since we're happy in ring0 :D ... afaict (but not sure entirely since there's quite some delta in the solo5 repository compared to the latest release) the ukvm thing over there is part of the guest system...
<hannes> damjan: another option is to "opam pin add solo5-kernel-ukvm --dev" to instead use the current git master, which may have the issue already fixed
<damjan> seems to have worked
argent_smith has quit [Quit: Leaving.]