Cannot rebuild Yhc after fullclean (problem with Uniplate)

Neil, As I upgraded to GHC 6.8.2, I am trying to do full clean and rebuild of Yhc. I am getting an error: ====================================== Getting dependencies for depends/uniplate/Data/Generics/PlateInternal.hs. Unable to open 'depends/uniplate/Data/Generics/.PlateInternal.hs.dep'. Dependencies will not be calculated. "ghc" -i./src/compiler -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/uniplate -i./src/interactive -package mtl -package containers -package pretty -package packedstring -c depends/uniplate/Data/Generics/PlateInternal.hs -o depends/uniplate/Data/Generics/PlateInternal.o Getting dependencies for depends/uniplate/Data/Generics/Uniplate.hs. scons: *** Source `depends/uniplate/Data/Generics/Str.hi' not found, needed by target `depends/uniplate/Data/Generics/Uniplate.o'. Stop. scons: building terminated because of errors. ====================================== SConscript in depends/uniplate does not mention Str. Even if I add it there manually, I end up with error compiling Yhc.Core.Uniplate because of uniplateOnList not in scope, but it is commented out in Data.Generics.UniplateOn If I uncomment it, there is a problem with contexts, etc... Anything happened to Uniplate? Thanks. -- Dimitry Golubovsky Anywhere on the Web

Dimitry,
Eeek! Yesterday I changed Uniplate to work in a quite different
manner. It wasn't meant to propogate as far as Yhc. I guess the
solution is to roll back the Uniplate repo, and branch it for my new
changes. I'll do this later.
Thanks
Neil
On 12/21/07, Dimitry Golubovsky
Neil,
As I upgraded to GHC 6.8.2, I am trying to do full clean and rebuild of Yhc.
I am getting an error:
====================================== Getting dependencies for depends/uniplate/Data/Generics/PlateInternal.hs. Unable to open 'depends/uniplate/Data/Generics/.PlateInternal.hs.dep'. Dependencies will not be calculated. "ghc" -i./src/compiler -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/uniplate -i./src/interactive -package mtl -package containers -package pretty -package packedstring -c depends/uniplate/Data/Generics/PlateInternal.hs -o depends/uniplate/Data/Generics/PlateInternal.o Getting dependencies for depends/uniplate/Data/Generics/Uniplate.hs. scons: *** Source `depends/uniplate/Data/Generics/Str.hi' not found, needed by target `depends/uniplate/Data/Generics/Uniplate.o'. Stop. scons: building terminated because of errors. ======================================
SConscript in depends/uniplate does not mention Str. Even if I add it there manually, I end up with error compiling Yhc.Core.Uniplate because of uniplateOnList not in scope, but it is commented out in Data.Generics.UniplateOn
If I uncomment it, there is a problem with contexts, etc...
Anything happened to Uniplate?
Thanks.
-- Dimitry Golubovsky
Anywhere on the Web

Hi
All fixed :-)
If you have a broken repo, scons fullclean should bring it back to
life. Now Yhc pulls from a separate Uniplate repo, which does not have
the new changes in it. Once the Uniplate changes are stabilised, I'll
move them over.
Thanks
Neil
On 12/21/07, Neil Mitchell
Dimitry,
Eeek! Yesterday I changed Uniplate to work in a quite different manner. It wasn't meant to propogate as far as Yhc. I guess the solution is to roll back the Uniplate repo, and branch it for my new changes. I'll do this later.
Thanks
Neil
On 12/21/07, Dimitry Golubovsky
wrote: Neil,
As I upgraded to GHC 6.8.2, I am trying to do full clean and rebuild of Yhc.
I am getting an error:
====================================== Getting dependencies for depends/uniplate/Data/Generics/PlateInternal.hs. Unable to open 'depends/uniplate/Data/Generics/.PlateInternal.hs.dep'. Dependencies will not be calculated. "ghc" -i./src/compiler -i./src/libraries/general -i./src/libraries/core -idepends/cpphs -idepends/filepath -idepends/uniplate -i./src/interactive -package mtl -package containers -package pretty -package packedstring -c depends/uniplate/Data/Generics/PlateInternal.hs -o depends/uniplate/Data/Generics/PlateInternal.o Getting dependencies for depends/uniplate/Data/Generics/Uniplate.hs. scons: *** Source `depends/uniplate/Data/Generics/Str.hi' not found, needed by target `depends/uniplate/Data/Generics/Uniplate.o'. Stop. scons: building terminated because of errors. ======================================
SConscript in depends/uniplate does not mention Str. Even if I add it there manually, I end up with error compiling Yhc.Core.Uniplate because of uniplateOnList not in scope, but it is commented out in Data.Generics.UniplateOn
If I uncomment it, there is a problem with contexts, etc...
Anything happened to Uniplate?
Thanks.
-- Dimitry Golubovsky
Anywhere on the Web

Neil,
On 12/21/07, Neil Mitchell
All fixed :-)
Thanks, I'll try it tonight.
If you have a broken repo, scons fullclean should bring it back to
Yes, I'd like to give a test to fully recompile Yhc with 6.8.2 so it is as planned.
life. Now Yhc pulls from a separate Uniplate repo, which does not have the new changes in it. Once the Uniplate changes are stabilised, I'll move them over.
Would it be possible for things that Yhc depends upon, just have stable/tested to compile snapshots/tarballs hosted somewhere? Thanks. -- Dimitry Golubovsky Anywhere on the Web

Hi Dimitry,
Yes, I'd like to give a test to fully recompile Yhc with 6.8.2 so it is as planned.
I have just compiled with 6.8.2 - but only the compiler, since I don't have a C compiler on this machine.
life. Now Yhc pulls from a separate Uniplate repo, which does not have the new changes in it. Once the Uniplate changes are stabilised, I'll move them over.
Would it be possible for things that Yhc depends upon, just have stable/tested to compile snapshots/tarballs hosted somewhere?
Yes. I was wondering if I should move the other things which I'm at it. It is probably sensible if I do. Thanks Neil
participants (2)
-
Dimitry Golubovsky
-
Neil Mitchell