Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-03-27

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:03 sm darcs hub ssh server is down right now, I have somehow broken it
01:07 sm phew.. back up. That was bad timing
01:08 sm darcsden is now buildable with GHC 7.8 (Heffalump)
01:59 favonia joined #darcs
08:19 lambdabot joined #darcs
09:00 amgarching joined #darcs
12:17 mizu_no_oto joined #darcs
13:34 gh_ ghc 7.10.1 is out
13:45 mizu_no_oto joined #darcs
13:58 mizu_no_oto joined #darcs
14:03 sm \o/
14:15 dolio joined #darcs
14:38 psnively joined #darcs
14:39 psnively Hi everyone!
14:40 psnively I’m trying to build darcsden HEAD with GHC 7.10.1, with no success. Can anyone take a look at this maybe? Probably just a dependency that needs bumping/lowering
14:49 gh_ joined #darcs
15:06 sm psnively: I think it's not supported yet, Heffalump knows more. Paste your cabal install [-v3] output if you like
15:07 psnively Resolving dependencies...
15:07 psnively cabal: Could not resolve dependencies:
15:07 psnively trying: darcsden-1.1.98 (user goal)
15:07 psnively trying: HsOpenSSL-0.11.1.1 (dependency of darcsden-1.1.98)
15:07 psnively trying: network-2.6.0.2 (dependency of HsOpenSSL-0.11.1.1)
15:07 psnively trying: vector-0.10.12.2 (dependency of darcsden-1.1.98)
15:07 psnively trying: deepseq-1.4.1.1/installed-936... (dependency of vector-0.10.12.2)
15:07 psnively trying: process-1.2.3.0/installed-6c5... (dependency of darcsden-1.1.98)
15:07 psnively next goal: pandoc (dependency of darcsden-1.1.98)
15:07 psnively rejecting: pandoc-1.13.2, 1.13.1 (conflict: process =>
15:07 psnively filepath==1.4.0.0/installed-40d..., pandoc => filepath>=1.1 && <1.4)
15:07 psnively rejecting: pandoc-1.13.0.1, 1.13, 1.12.4.2, 1.12.4 (conflict:
15:07 psnively network==2.6.0.2, pandoc => network>=2 && <2.6)
15:07 psnively rejecting: pandoc-1.12.3.3, 1.12.3.2, 1.12.3.1, 1.12.3 (conflict:
15:07 psnively network==2.6.0.2, pandoc => network>=2 && <2.5)
15:07 psnively rejecting: pandoc-1.12.2.1, 1.12.2, 1.12.1, 1.12.0.2, 1.12.0.1, 1.12
15:07 psnively (conflict: deepseq => array==0.5.1.0/installed-e29..., pandoc => array>=0.3 &&
15:07 psnively <0.5)
15:07 psnively rejecting: pandoc-1.11.1, 1.11, 1.10.1, 1.10.0.5, 1.10.0.4, 1.10.0.3,
15:07 psnively 1.10.0.2, 1.10.0.1, 1.10 (conflict: network==2.6.0.2, pandoc => network>=2 &&
15:07 psnively <2.5)
15:07 psnively rejecting: pandoc-1.9.4.5, 1.9.4.4, 1.9.4.3, 1.9.4.2, 1.9.4.1, 1.9.4, 1.9.3,
15:07 psnively 1.9.2, 1.9.1.2, 1.9.1.1, 1.9.1, 1.9.0.5, 1.9.0.4, 1.9.0.3, 1.9.0.2, 1.9,
15:07 psnively 1.8.2.1, 1.8.2, 1.8.1.2, 1.8.1.1, 1.8.1, 1.8.0.3, 1.8.0.2, 1.8.0.1, 1.8,
15:07 psnively 1.6.0.1, 1.6, 1.5.1.1, 1.5.1, 1.5.0.1, 1.5, 1.4, 1.3, 1.2.1, 1.2, 1.1,
15:07 psnively 1.0.0.1, 1.0, 0.46, 0.45, 0.44, 0.43, 0.42, 0.41, 0.4 (conflict: darcsden =>
15:07 psnively pandoc>=1.10 && <1.14)
15:07 psnively Backjump limit reached (change with --max-backjumps).
15:07 psnively It looks like some really minor, nitpicky bounds stuff between pandoc and process.
15:08 psnively Well, pandoc and filepath, which process depends on.
15:09 sm psnively: oh! I thought you said darcs. Actually I'm currently expert on this :)
15:10 psnively Oh sorry. darcsden.
15:10 psnively sm: Then I’m in the right place. :-D
15:12 sm http://hub.darcs.net/simon/darcsden/issue/127 has some notes, and as of yesterday darcsden HEAD installs with ghc 7.8, hub.darcs.net/darcs/darcs-2.10, and github.com/simonmichael/haskell-couchdb
15:12 sm I would get that working first, then try 7.10 (I haven't yet)
15:16 favonia joined #darcs
15:16 psnively Hmmm. Nuts. Is there an easy way to switch back to 7.8.x?
15:18 sm if you still have it installed ($ ghc-7.8.x), cabal sandbox init; cabal install -w ghc-7.8.x should do the trick
15:20 sm If not just reinstall it from haskell.org/ghc. Multiple GHC versions coexist fine.
15:20 sm biab
15:21 sm do you run your own darcsden, or are you hacking on it ?
15:23 psnively Ultimately, I just want to run it, but on NixOS, so, want to use cabal2nix to make a Nix package, etc. etc. etc.
15:26 psnively OK, seems to be building under 7.4. with —constraint=network<2.6. Thanks!
15:27 psnively 7.8.4, that is.
15:33 psnively Spoke too soon:
15:33 psnively cabal: Error: some packages failed to install:
15:33 psnively RSA-1.2.2.0 depends on entropy-0.3.6 which failed to install.
15:33 psnively bifunctors-4.2.1 depends on distributive-0.4.4 which failed to install.
15:33 psnively comonad-4.2.5 depends on distributive-0.4.4 which failed to install.
15:33 psnively crypto-api-0.13.2 depends on entropy-0.3.6 which failed to install.
15:33 psnively cryptohash-cryptoapi-0.1.3 depends on entropy-0.3.6 which failed to install.
15:33 psnively darcs-2.10.0 depends on zip-archive-0.2.3.7 which failed to install.
15:33 psnively darcsden-1.1.98 depends on redis-0.4 which failed to install.
15:33 psnively distributive-0.4.4 failed during the configure step. The exception was:
15:33 psnively user error ('/usr/local/bin/ghc' exited with an error:
15:33 psnively <command line>: cannot satisfy -package-id
15:33 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393:
15:33 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393 is unusable due to missing or
15:33 psnively recursive dependencies:
15:33 psnively base-4.7.0.2-675f2a77e845168c70ab219f0253e947
15:33 psnively binary-0.7.1.0-de9632b62034f9f97548d680a52c84c9
15:33 psnively bytestring-0.10.4.0-c97de9453a7410aad1266a6a2010837e
15:33 psnively containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653
15:33 psnively deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02
15:33 psnively directory-1.2.1.0-45dfda2d7385274e2a3f972bb5dd2699
15:33 psnively process-1.2.0.0-c42f881ac10df83e4bce927ad530ce63
15:33 psnively time-1.4.2-311aa8e77a6af87dc3d662d572df62ec
15:33 psnively unix-2.7.0.1-0579834e6096ab4455b5c3a31d44ad9a
15:33 psnively (use -v for more information)
15:33 psnively )
15:33 psnively entropy-0.3.6 failed during the configure step. The exception was:
15:33 sm psnively: better to paste that stuff somewhere like gist.github.com
15:33 psnively user error ('/usr/local/bin/ghc' exited with an error:
15:33 psnively <command line>: cannot satisfy -package-id
15:33 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393:
15:33 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393 is unusable due to missing or
15:33 psnively recursive dependencies:
15:33 psnively base-4.7.0.2-675f2a77e845168c70ab219f0253e947
15:33 psnively binary-0.7.1.0-de9632b62034f9f97548d680a52c84c9
15:33 psnively bytestring-0.10.4.0-c97de9453a7410aad1266a6a2010837e
15:33 psnively containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653
15:33 psnively deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02
15:34 psnively directory-1.2.1.0-45dfda2d7385274e2a3f972bb5dd2699
15:34 psnively process-1.2.0.0-c42f881ac10df83e4bce927ad530ce63
15:34 psnively time-1.4.2-311aa8e77a6af87dc3d662d572df62ec
15:34 psnively unix-2.7.0.1-0579834e6096ab4455b5c3a31d44ad9a
15:34 psnively (use -v for more information)
15:34 psnively )
15:34 psnively free-4.11 depends on distributive-0.4.4 which failed to install.
15:34 psnively lens-4.7 depends on distributive-0.4.4 which failed to install.
15:34 psnively monadcryptorandom-0.6.1 depends on entropy-0.3.6 which failed to install.
15:34 psnively pandoc-1.13.2 depends on zip-archive-0.2.3.7 which failed to install.
15:34 psnively profunctors-4.4.1 depends on distributive-0.4.4 which failed to install.
15:34 psnively pureMD5-2.1.2.1 depends on entropy-0.3.6 which failed to install.
15:34 psnively redis-0.4 failed during the building phase. The exception was:
15:34 psnively ExitFailure 1
15:34 psnively semigroupoids-4.3 depends on distributive-0.4.4 which failed to install.
15:34 psnively ssh-0.2.13.1 depends on entropy-0.3.6 which failed to install.
15:34 psnively zip-archive-0.2.3.7 failed during the configure step. The exception was:
15:34 psnively user error ('/usr/local/bin/ghc' exited with an error:
15:34 psnively <command line>: cannot satisfy -package-id
15:34 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393:
15:34 psnively Cabal-1.22.1.0-c4e34fca2469a734f6235c2b1d87f393 is unusable due to missing or
15:34 psnively recursive dependencies:
15:34 psnively base-4.7.0.2-675f2a77e845168c70ab219f0253e947
15:34 psnively binary-0.7.1.0-de9632b62034f9f97548d680a52c84c9
15:34 psnively bytestring-0.10.4.0-c97de9453a7410aad1266a6a2010837e
15:34 psnively containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653
15:34 psnively deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02
15:34 psnively directory-1.2.1.0-45dfda2d7385274e2a3f972bb5dd2699
15:34 psnively process-1.2.0.0-c42f881ac10df83e4bce927ad530ce63
15:34 psnively time-1.4.2-311aa8e77a6af87dc3d662d572df62ec
15:34 psnively unix-2.7.0.1-0579834e6096ab4455b5c3a31d44ad9a
15:34 psnively (use -v for more information)
15:34 psnively )
15:34 psnively Yeah, sorry, thought of that just as I hit “enter."
15:36 psnively https://gist.github.com/psnively/d3f7b6ff7e78a6d96d8d
15:37 sm be sure to start with a fresh cabal sandbox
15:38 psnively Did that, but I can try again.
15:38 sm also, after cabal sandbox init I think you may need to adjust the ghc path in cabal.sandbox.config
15:39 psnively Hmmm.
15:40 psnively Updated https://gist.github.com/psnively/d3f7b6ff7e78a6d96d8d
15:40 sm then darcs get hub.darcs.net/darcs/darcs-2.10; git clone github.com/simonmichael/haskell-couchdb (or so); cabal sandbox add-source darcs-2.10 haskell-couchdb
15:41 psnively Interesting.
15:41 sm also, I tend to get cabal install --dry working first
15:44 psnively Thanks!
15:45 psnively I don’t see a “GHC path” in cabal.sandbox.config.
15:45 sm package-db: has a ghc version in it
15:46 psnively Oh, OK. That looks fine.
15:47 sm I think this is not quite supported but adjusting the package-db: path and cabal clean was enough for me to successfully switch between ghc versions in a sandbox
15:47 sm and using cabal's -w flag
15:48 sm cabal sandbox hc-pkg list should include .../.cabal-sandbox/...ghc-7.8.4-packages.conf.d: (containing no packages initially)
15:49 sm given that, and the two sources added, cabal install --dry should succeed
15:49 psnively Good stuff. Thanks so much!
15:49 psnively Yeah, —dry passed.
15:49 sm great
15:49 psnively It’s still failing to build, though.
15:50 sm paste your --dry output ?
15:50 psnively It’s not failing to resolve the dependencies; it’s failing to build.
15:50 sm still, that'll help me know which package versions it picked
15:50 psnively Hang on, let me do this from scratch.
15:52 psnively Updated https://gist.github.com/psnively/d3f7b6ff7e78a6d96d8d with cabal install —dry output.
15:53 sm and which package is failing to compile ?
15:57 psnively One sec.
15:59 psnively Updated https://gist.github.com/psnively/d3f7b6ff7e78a6d96d8d
16:01 psnively distributive, entropy, and zip-archive failed to build/install.
16:03 psnively Hmmm. Do I need to upgrade from GHC 7.8.4’s cabal-install?
16:05 sm psnively:  no
16:05 sm well, what's cabal --version
16:05 sm 1.22, fine
16:06 psnively Too late; already did it.
16:07 sm hm "unusable due to missing or recursive dependencies:" is not a compilation error, you're still dealing with dependencies/ghc version issues
16:07 sm not sure about those, sorry
16:09 psnively Yeah, no worries. And upgrading cabal (-install) does appear to have solved the problem.
16:10 psnively So apparently, installing GHC 7.8.4 leaves me with an outdated cabal, but cabal install cabal-install is all it takes to resolve.
16:10 psnively Then create the sandbox, add the two sources.
16:12 psnively Do we have an ETA on when we won’t need haskell-couchdb and darcs from source?
16:13 psnively “Weeks” is great; “months” is scary; “unknown” is not OK (I actually intend to use this in production).
16:18 mizu_no_oto joined #darcs
16:19 Riastradh joined #darcs
16:33 favonia joined #darcs
16:34 psnively New failure: https://gist.github.com/psnively/d3f7b6ff7e78a6d96d8d
16:37 sm psnively: the couchdb guy said he'd release this weekend. darcs 2.10 is hoped to release soon now that ghc 7.10 is out
16:37 psnively Yeah. Now I just need a solution to the redis failure. :-D
16:38 sm I see it's picking redis 0.4, mine was doing that, I forget why
16:38 sm what if you add --constraint redis==0.13.0.1
16:40 psnively Lemme try.
16:42 psnively Need to install hsx2hs apparently…
16:43 psnively What is all this crap where things depend on other things, but have to be discovered/installed manually?
16:43 psnively This is why people say cabal sucks. Because it’s true.
16:43 sm yep.. there's a comment in the cabal file, cabal doesn't know about hsx2hs yet
16:44 psnively Heh
16:44 sm hsp/hsx are fringe libraries with few users
16:44 sm that could change though
16:45 psnively Well, maturity is a real consideration when I’m trying to choose technology for a startup that I hope to eventually sell. I mean, this isn’t core, but I want to be able to make the case that the project shouldn’t trust the family jewels to git. :-) But it’s proving so damn hard to get darcsden up that I may just have to punt.
16:45 psnively Yeah.
16:46 psnively OK, end of rant. I will give this process the weekend, then I have no choice but to explore other options, which suck for different reasons.
16:47 sm did it build after installing hsx2hs ?
16:50 psnively We’ll know in a sec. :-)
16:52 psnively OK, success. Thanks for all your help!
16:53 sm you're welcome
16:53 psnively So it seems like we should edit the darcsden.cabal to fix that redis constraint? And wait… a few days/a week? For the two source dependencies to become available on Hackage?
16:53 sm yes indeed, I've just pushed the redis constraint
16:54 sm there'll be a new darcsden release on hackage after CouchDB and darcs 2.10
16:55 psnively Oh, wait. sm. You’re Simon. :-)
16:55 sm yes hello :)
16:55 psnively Well, isn’t this embarrassing. Thank you for darcsden. :-)
16:56 psnively I know keeping this up with all of these dependencies, especially big transitions like GHC 7.10, can’t be easy.
16:56 sm not at all. I didn't write darcsden, but have improved it and am running darcs hub
16:57 sm getting it to build with GHC 7.8 was a huge hassle, I put it off for a couple of years
16:57 psnively I’ve loved darcs for years (even convinced a previous startup I worked at to use it back ~2007) and am super-happy there’s any hope of having a hosting platform.
16:57 sm 7.10 should be a piece of cake
16:57 psnively Heh. Roger that.
16:57 sm have you had experience using darcs hub ?
16:58 psnively Very minimal, actually. I had a patch-tag account back in the day.
16:59 sm we'd be happy to have more folks hacking on darcsden. If you use darcs, it's a pretty neat piece of software
17:00 sm and it helps darcs, I feel
17:00 psnively Yeah, my original plan for today, actually, was to volunteer to help out if I can and there’s low-hanging fruit for a non-Haskell (OCaml, Scala) programmer.
17:00 psnively For sure.
17:02 psnively My plan, FWIW, is to have darcsden running on NixOS, integrated with Hydra, the Nix ecosystem’s CI system. Basically, I’m developing a high-assurance webapp, and I’m being pretty religious about that high-reliability promise extending from development to ops across the board. Hence Nix/NixOS/Hydra, hence darcs/darcsden.
17:17 favonia joined #darcs
17:21 sm psnively: cool. You've been trying to get darcsden building for a while then ?
17:22 psnively Off and on, evenings and weekends, yeah. Why exactly I didn’t just come here and ask sooner is a mystery. :-)
17:22 sm now you know :)
17:23 sm until yesterday we've only been able to build with ghc 7.6 and the wind in the right direction
17:24 psnively Yeah, the timing seems propitious, with GHC 7.10, darcs 2.10 around the corner.
17:25 sm basically due to hsp's terribly under-undocumented API change a while back
17:25 psnively +1
17:25 psnively Living on the edge.
17:26 psnively Ultimately, I really just want a darcsden Nix package that I can declare a dependency on in NixOS/NixOps, and be done.
17:26 sm I almost gave up and ported to a different templating system
17:27 sm so if one wants darcsden building with ghc 7.10, the next hurdle is getting darcs building with it
17:28 dolio joined #darcs
17:28 psnively Right.
17:34 psnively So it sounds like in another couple of weeks, several things will have lined up nicely.
18:27 amgarching joined #darcs
18:58 byorgey joined #darcs
19:09 Heffalump psnively: I was actually in the middle of figuring out how to deploy darcsden with nixos when I got distracted by something else this week
19:10 Heffalump I mean nixops
19:10 Heffalump but I'm still learning how to use it so it was going quite slowly anyway :-)
19:15 Heffalump FYI I'm happily building darcsden on nixos, but without nixifying darcsden itself, just using cabal sandboxes
19:29 xauth joined #darcs
19:35 gh_ we have two GSoC proposals this year:
19:35 gh_ http://darcs.net/GSoC/2015-Darcsden
19:35 gh_ http://darcs.net/GSoC/2015-Conflicts-Handling-and-UI
19:40 sm awesome
19:42 mizu_no_oto joined #darcs
20:10 xauth left #darcs
20:13 amgarching joined #darcs
20:23 c74d joined #darcs
20:26 c74d joined #darcs
20:45 sea-gull joined #darcs
20:56 sm joined #darcs
21:20 lambdabot joined #darcs
21:55 lambdabot joined #darcs
22:18 gh_ joined #darcs
23:42 favonia joined #darcs

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary