porting using unregisterised build: x86->amd64 solaris

Benjamin Jansen ghc at w007.org
Tue Oct 5 18:37:43 EDT 2010


On Oct 5, 2010, at 3:02 PM, Ian Lynagh wrote:

> On Tue, Oct 05, 2010 at 07:21:43PM +0200, Karel Gardas wrote:
>> On 10/05/10 17:25, Ian Lynagh wrote:
>>> 
>>> Does the file exist?
>>> 
>>> If so, "make -dr all_ghc_stage2" should show why make thinks it's out of
>>> date, which should point to the problem.
>> 
>> The file exists and `gmake -dr all_ghc_stage2' shows following info. It
>> seems `compiler/stage2/package-data.mk' is outdated due to
>> `compiler/stage2/build/Config.hs' being newer that it.
> 
> Aha, OK, this should fix it:
> 
>    touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk compiler/stage*/build/Config.hs

In my case (see thread "Attempt at building on OpenBSD/sparc64 - failure at "make all_ghc_stage2") the problem file was `compiler/main/Config.hs', so I had to add it to the touch command line:

	touch -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk compiler/stage*/build/Config.hs compiler/main/Config.hs

Thanks!

- Ben



More information about the Glasgow-haskell-users mailing list