Camelia, the Perl 6 bug

IRC log for #darcs, 2012-12-11

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

All times shown according to UTC.

Time Nick Message
00:04 dixie joined #darcs
00:22 mizu_no_oto joined #darcs
00:22 lambdabot joined #darcs
01:40 mizu_no_oto joined #darcs
02:02 mizu_no_oto joined #darcs
02:25 favonia joined #darcs
02:28 mizu_no_oto joined #darcs
02:43 mizu_no_oto joined #darcs
02:56 intripoon_ joined #darcs
03:49 mizu_no_oto joined #darcs
06:51 rdesfo joined #darcs
08:03 lispy joined #darcs
09:06 rdesfo joined #darcs
09:07 nomeata joined #darcs
10:15 jeltsch joined #darcs
10:15 jeltsch Hi, darcs-2.8.3 says that it needs base < 4.6. Is it also possible to build it with base == 4.6?
10:16 jeltsch I’m using GHC 7.6.1, therefore the question.
10:27 owst joined #darcs
10:42 owst jeltsch: darcs isn't yet compatible with 7.6
10:42 owst I think Heffalump is actively working on making it be so, though.
10:43 jeltsch owst: So no chance to fix something here and there and get it installed?
10:43 owst I think that the only "fix" will cause breakage for unicode handling, I don't recall the details though
10:44 owst Apparently, Gentoo have some hacks to make it build, but Heffalump says they break something to do with unicode
10:44 jeltsch Why did David Roundy believe that a byte is the same as a character?
10:44 owst (or so he said, yesterday)
10:44 jeltsch This confusion is getting in the way over and over again.
10:44 owst Not just him, then :-)
10:45 jeltsch This is actually also ther
10:45 jeltsch the reasion
10:45 jeltsch reason
10:45 jeltsch I did not believe this for quite some time …
10:45 jeltsch These Unicode problems are actually the reason for me wanting to install darcs from source.
10:45 owst Ah, right. What's going wrong?
10:45 jeltsch I wanted to apply my small fix to darcs.hs that makes non-ASCII characters appear correctly in the terminal.
10:46 owst What's the fix?
10:48 jeltsch Commenting out the line that sets stdout, stdin, and stderr to binary mode.
10:48 jeltsch I think this fix was not compatible with Windows, but under Linux it didn’t seem to cause any harm, and it fixed some Unicode output issues.
11:01 favonia joined #darcs
11:08 schlaftier joined #darcs
11:31 kmels_ joined #darcs
11:51 intripoon joined #darcs
12:50 Heffalump jeltsch: the easiest way to make it work with GHC 7.6 is to make a local version of haskeline 0.6
12:50 Heffalump that also works with GHC 7.6
12:50 jeltsch Ah, okay.
12:50 Heffalump or wait a few days/a week and I should be done with the proper fixes myself  - though I'm not certain if I'll backport them to 2.8 or if they'll only be for HEAD yet
12:50 jeltsch What do I have to do with haskeline-0.6? Just expand dependency ranges? (This is what I was already doing.)
12:50 Heffalump yes
12:51 jeltsch Okay, thank you.
12:51 Heffalump the point is you have to avoid haskeline-0.7, because that dropped some stuff we were using to handle encodings
12:51 jeltsch Aha.
13:27 jeltsch Heffalump: I tried to do this now.
13:27 jeltsch I compiled haskeline with newer libraries.
13:27 jeltsch Now I cannot build darcs.
13:28 jeltsch Cabal complains that the directory-1.2.0.0 (that comes with GHC 7.6.1, and that haskeline is compiled against) conflicts with directory-1.2.0.1.
13:28 jeltsch Why does Cabal insist on installing directory-1.2.0.1 from HackageDB?
13:29 jeltsch If I change darcs.cabal such that version 1.2.0.1 of directory is excluded, Cabal complains that the installed directory-1.2.0.0 conflicts with directory-1.2.0.0. This seems weird to me.
13:30 jeltsch Why doesn’t Cabal just take the installed directory-1.2.0.0 for darcs?
13:30 Heffalump errm, not sure, sorry
13:31 Heffalump it usually takes me a while of staring at Cabal problems to figure them out
13:37 jeltsch Hmm, I think I will ask on #haskell after the coffee break.
13:38 jeltsch Or is there a dedicated #cabal?
13:38 mizu_no_oto joined #darcs
14:33 jeltsch Heffalump: Could the reason for my darcs–Cabal problem be that directory is installed globally and Cabal wants to install it locally?
14:34 jeltsch Then the to-be-installed local directory-1.2.0.0 would indeed conflict with the already installed global directory-1.2.0.1.
14:36 jeltsch Could it be that darcs.cabal or the Setup.lhs of darcs do something that causes Cabal to want a user (“local”) install of directory?
14:36 jeltsch global directory-1.2.0.1 → global directory-1.2.0.0
14:37 jeltsch Can I maybe install darcs without using Cabal? By just saying ghc --make darcs.hs or so?
14:49 mizu_no_oto joined #darcs
15:16 jeltsch I was able to get rid of the directory-1.2.0.0 problem by saying --constraint='directory installed'
15:16 jeltsch Now I’m experience further problems.
15:17 jeltsch GHC complains with messages like “src/URL/HTTP.hs:40:28: Not in scope: `catch'”.
15:45 mizu_no_oto joined #darcs
16:11 jeltsch Okay, after more fixes (because of changes in the FFI and exception handling), darcs seems to compile now with GHC 7.6.1.
16:19 jeltsch Compiled darcs seems to work.
16:21 jeltsch Heffalump: I would be *very* happy if this Unicode issue could be fixed. Entering non-ASCII characters as part of a patch name doesn’t work under Linux (with UTF-8 terminal). Not setting std{in,out,err} to binary mode in darcs.hs solves this.
16:21 mndrix joined #darcs
16:22 jeltsch There might be a bug report on this already. Cannot look now, have to run. Bye.
16:24 alexsuraci joined #darcs
16:31 markstos joined #darcs
16:49 mizu_no_oto joined #darcs
16:51 amgarchIn9 joined #darcs
17:18 mizu_no_oto joined #darcs
18:51 raichoo joined #darcs
18:57 jeltsch joined #darcs
19:16 donri joined #darcs
19:59 favonia joined #darcs
20:13 mizu_no_oto joined #darcs
20:32 kmels_ joined #darcs
20:37 snorble_ joined #darcs
20:56 nomeata joined #darcs
21:01 favonia joined #darcs
21:33 mizu_no_oto joined #darcs
21:40 nomeata joined #darcs
22:05 favonia joined #darcs
22:17 alpounet joined #darcs
22:40 mizu_no_oto joined #darcs
22:49 schlaftier joined #darcs
23:47 favonia joined #darcs

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