Created on 2008-01-30.01:23:21 by rgm, last changed 2009-10-24.00:08:06 by admin.
msg2879 (view) |
Author: rgm |
Date: 2008-01-30.01:23:18 |
|
When building the latest Darcs2 source under windows, I get the following error
message when running 'make':
Rebuild dependencies ...
src/Ssh.hs:8:7:
Could not find module `System.Posix.Process':
Use -v to see a list of the files searched for.
The src/win32/System/Posix directory contains Files.hs(c) and IO.hs(c), but no
Process.hs(c). Nor does src/win32/System/Posix.hs contain any mention of
'Process'. So I think this must be a windows-specific bug.
|
msg2913 (view) |
Author: droundy |
Date: 2008-01-30.18:21:23 |
|
On Wed, Jan 30, 2008 at 01:23:21AM -0000, Rob Moss wrote:
> When building the latest Darcs2 source under windows, I get the following error
> message when running 'make':
>
> Rebuild dependencies ...
>
> src/Ssh.hs:8:7:
> Could not find module `System.Posix.Process':
> Use -v to see a list of the files searched for.
>
> The src/win32/System/Posix directory contains Files.hs(c) and IO.hs(c), but no
> Process.hs(c). Nor does src/win32/System/Posix.hs contain any mention of
> 'Process'. So I think this must be a windows-specific bug.
Thanks for the bug report! (And sorry for introducing this during a
refactor.) I've pushed a fix for this particular bug. Let me know if
darcs will now compile on windows for you!
--
David Roundy
Department of Physics
Oregon State University
|
msg2927 (view) |
Author: rgm |
Date: 2008-01-30.20:28:47 |
|
> Thanks for the bug report! (And sorry for introducing this during a
> refactor.) I've pushed a fix for this particular bug. Let me know if
> darcs will now compile on windows for you!
Rebuilding the dependencies now works, but the build still fails with:
[ghc] src/Ssh.o
src/Ssh.hs:256:7: Not in scope: `randomIO'
src/Ssh.hs:257:16: Not in scope: `showHexLen'
src/Ssh.hs:257:32: Not in scope: `.&.'
Does that mean there's an "import X" line missing?
|
msg2930 (view) |
Author: droundy |
Date: 2008-01-30.21:32:40 |
|
On Wed, Jan 30, 2008 at 08:28:51PM -0000, Rob Moss wrote:
> > Thanks for the bug report! (And sorry for introducing this during a
> > refactor.) I've pushed a fix for this particular bug. Let me know if
> > darcs will now compile on windows for you!
>
> Rebuilding the dependencies now works, but the build still fails with:
>
> [ghc] src/Ssh.o
> src/Ssh.hs:256:7: Not in scope: `randomIO'
> src/Ssh.hs:257:16: Not in scope: `showHexLen'
> src/Ssh.hs:257:32: Not in scope: `.&.'
>
> Does that mean there's an "import X" line missing?
Yes, that's correct. I've just pushed a fix. Sorry about this! Hopefully
soon we can get a buildbot network up (and someone will contribute a win32
buildbot client) so I can get these builds run automatically and fix these
myself without forcing you to do it for me.
--
David Roundy
Department of Physics
Oregon State University
|
msg2933 (view) |
Author: rgm |
Date: 2008-01-30.21:48:42 |
|
> Yes, that's correct. I've just pushed a fix. Sorry about this! Hopefully
> soon we can get a buildbot network up (and someone will contribute a win32
> buildbot client) so I can get these builds run automatically and fix these
> myself without forcing you to do it for me.
Hmm ... I'm not sure if I could turn this machine into a buildbot, but I'm
happy to manually build darcs on a regular basis.
Although this fix stops the errors in src/Ssh.hs, I now get the following error
(and I don't know which patch is responsible for it)
[ghc] src/Darcs/Lock.o
src/Darcs/Lock.lhs:64:64:
Module `System.Posix.Files' does not export `statusChangeTime'
src/Darcs/Lock.lhs:64:82:
Module `System.Posix.Files' does not export `setFileTimes'
Does windows support the equivalent posix file operations? (Sorry to pass each
compilation error back to you, but my knowledge of Haskell is limited to a
first-year introduction to programming subject)
|
msg2937 (view) |
Author: droundy |
Date: 2008-01-30.22:26:18 |
|
On Wed, Jan 30, 2008 at 09:48:48PM -0000, Rob Moss wrote:
> Does windows support the equivalent posix file operations?
Indeed, I believe it does. The file src/win32/System.Posix.Files
implements these functions for windows, and I had a suspicion that we'd run
into trouble with this change, but didn't see reason to try coding
something up blind.
It turns out that I didn't understand the meaning of statusChangeTime, so
this code is going to need re-thinking.
> (Sorry to pass each compilation error back to you, but my knowledge of
> Haskell is limited to a first-year introduction to programming subject)
Don't worry about that at all! It's no good for us *both* to feel guilty
about this rather slow approach to development!
--
David Roundy
Department of Physics
Oregon State University
|
msg2939 (view) |
Author: droundy |
Date: 2008-01-30.22:57:53 |
|
I'm rolling back the changes that triggered the latest breakage (they were
foolish anyhow, as it turns out). Let me know if you have any trouble after you
get this patch! Thanks again.
David
|
msg2969 (view) |
Author: rgm |
Date: 2008-01-31.13:06:14 |
|
> I'm rolling back the changes that triggered the latest breakage (they were
> foolish anyhow, as it turns out). Let me know if you have any trouble after
> you get this patch! Thanks again.
Yep, that patch did it -- it now compiles and works fine!
|
|
Date |
User |
Action |
Args |
2008-01-30 01:23:21 | rgm | create | |
2008-01-30 18:21:25 | droundy | set | status: unread -> unknown nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2913 |
2008-01-30 20:28:51 | rgm | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2927 |
2008-01-30 21:32:42 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2930 |
2008-01-30 21:48:48 | rgm | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2933 |
2008-01-30 22:26:19 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2937 |
2008-01-30 22:57:57 | droundy | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2939 |
2008-01-31 13:06:17 | rgm | set | status: resolved -> unknown nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj messages:
+ msg2969 |
2008-01-31 13:13:10 | kowey | set | status: unknown -> resolved nosy:
droundy, tommy, beschmi, kowey, wglozer, eivuokko, rgm, jaredj |
2009-08-06 17:52:48 | admin | set | nosy:
+ markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, wglozer, eivuokko, rgm, jaredj |
2009-08-06 20:55:59 | admin | set | nosy:
- beschmi |
2009-08-10 22:12:32 | admin | set | nosy:
+ wglozer, eivuokko, rgm, jaredj, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall |
2009-08-25 18:04:13 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 13:53:47 | admin | set | nosy:
tommy, kowey, wglozer, darcs-devel, eivuokko, rgm, thorkilnaur, jaredj, dmitry.kurochkin |
2009-10-23 22:42:13 | admin | set | nosy:
+ robmoss, - rgm |
2009-10-24 00:08:06 | admin | set | nosy:
+ rgm, - robmoss |
|