Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-24 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.14.1 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by kfrdbs):

 * cc: kfr...@… (added)


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-19 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.14.1 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * milestone:  6.12.3 => 6.14.1


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-16 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by catenate):

  * status:  infoneeded => new


Comment:

 {{{
 $ cat ./ghcshelltest
 set -x
 echo Q1 ${TMPDIR:-NullOrUnset}
 echo Q2 ${TMPDIR-Unset}
 echo Q3 ${TMP:-NullOrUnset}
 echo Q4 ${TMP-Unset}
 echo Q5 ${TEMP:-NullOrUnset}
 echo Q6 ${TEMP-Unset}
 echo Q7 ${TEMPDIR:-NullOrUnset}
 echo Q8 ${TEMPDIR-Unset}
 ls -ld /var/tmp
 ls -ld /usr/tmp
 ls -ld /tmp
 $ ./ghcshelltest
 + echo Q1 NullOrUnset
 Q1 NullOrUnset
 + echo Q2 Unset
 Q2 Unset
 + echo Q3 NullOrUnset
 Q3 NullOrUnset
 + echo Q4 Unset
 Q4 Unset
 + echo Q5 NullOrUnset
 Q5 NullOrUnset
 + echo Q6 Unset
 Q6 Unset
 + echo Q7 NullOrUnset
 Q7 NullOrUnset
 + echo Q8 Unset
 Q8 Unset
 + ls -ld /var/tmp
 dr-xr-x---+ 1 cjc040 Users 0 2009-12-03 15:57 /var/tmp
 + ls -ld /usr/tmp
 dr-xr-x---+ 1 cjc040 Users 0 2009-12-03 15:57 /usr/tmp
 + ls -ld /tmp
 drwxrwxrwt+ 1 cjc040 Users 0 2010-06-10 12:24 /tmp
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-16 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo 
  Type:  bug   | Status:  infoneeded
  Priority:  high  |  Milestone:  6.12.3
 Component:  Compiler  |Version:  6.12.2
Resolution:|   Keywords:
Difficulty:  Unknown   | Os:  Windows   
  Testcase:|   Architecture:  x86   
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * status:  new => infoneeded


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-16 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+

Comment(by igloo):

 catenate, can you please tell me what these say when run on the shell?:
 {{{
 echo Q1 ${TMPDIR:-NullOrUnset}
 echo Q2 ${TMPDIR-Unset}
 echo Q3 ${TMP:-NullOrUnset}
 echo Q4 ${TMP-Unset}
 echo Q5 ${TEMP:-NullOrUnset}
 echo Q6 ${TEMP-Unset}
 echo Q7 ${TEMPDIR:-NullOrUnset}
 echo Q8 ${TEMPDIR-Unset}
 ls -ld /var/tmp
 ls -ld /usr/tmp
 ls -ld /tmp
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-15 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by simonmar):

  * owner:  simonmar => igloo


Comment:

 Seems to work with compiler on `D:` and temporary directory on `C:`:

 {{{
 /d/scratch > /d/builds/ghc-validate/inplace/bin/ghc-stage2.exe -
 -make hello -v
 Glasgow Haskell Compiler, Version 6.13.20100519, for Haskell 98, stage 2
 booted by GHC version 6.12.2
 Using binary package database: D:\builds\ghc-
 validate\inplace\lib\package.conf.d\package.cache
 wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-inplace
 wired-in package integer-gmp mapped to integer-gmp-0.2.0.0-inplace
 wired-in package base mapped to base-4.2.0.0-inplace
 wired-in package rts mapped to builtin_rts
 wired-in package haskell98 mapped to haskell98-1.0.1.1-inplace
 wired-in package template-haskell mapped to template-
 haskell-2.4.0.0-inplace
 wired-in package dph-seq mapped to dph-seq-0.4.0-inplace
 wired-in package dph-par mapped to dph-par-0.4.0-inplace
 Hsc static flags: -static
 *** Chasing dependencies:
 Chasing modules from: *hello.hs
 Stable obj: [Main]
 Stable BCO: []
 Ready for upsweep
   [NONREC
   ModSummary {
  ms_hs_date = Fri Oct  9 16:42:13 GMT Daylight Time 2009
  ms_mod = main:Main,
  ms_imps = [import Prelude]
  ms_srcimps = []
   }]
 compile: input file hello.hs
 Created temporary directory:
 C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0
 *** Checking old interface for main:Main:
 [1 of 1] Compiling Main ( hello.hs, hello.o )
 *** Parser:
 *** Renamer/typechecker:
 *** Desugar:
 Result size = 10
 *** Simplifier Phase 0 [final] max-iterations=4:
 Result size = 8
 *** Tidy Core:
 Result size = 8
 writeBinIface: 1 Names
 writeBinIface: 12 dict entries
 *** CorePrep:
 Result size = 10
 *** Stg2Stg:
 *** CodeGen:
 *** CodeOutput:
 *** Assembler:
 D:\builds\ghc-validate\inplace\lib\..\mingw\bin\gcc -I. -c
 C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0\ghc10148_0.s -o hello.o
 -DDONT_WANT_WIN32_DLL_SUPPORT
 *** Deleting temp files:
 Deleting: C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0\ghc10148_0.s
 Upsweep completely successful.
 *** Deleting temp files:
 Deleting:
 link: linkables are ...
 LinkableM (Tue Jun 15 16:35:08 GMT Daylight Time 2010) main:Main
[DotO hello.o]
 Linking hello.exe ...
 *** Windres:
 D:\builds\ghc-validate\inplace\lib\..\mingw\bin\windres
 --preprocessor="D:\builds\ghc-validate\inplace\lib\..\mingw\bin\gcc" "-E"
 "-xc" "-DRC_INVOKED" --use-temp-file
 --input=C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0\ghc10148_0.rc
 --output=C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0\ghc10148_0.o
 --output-format=coff
 *** Linker:
 D:\builds\ghc-validate\inplace\lib\..\mingw\bin\gcc -v -o hello.exe
 -DDONT_WANT_WIN32_DLL_SUPPORT -Wl,--enable-auto-import hello.o
 C:\DOCUME~1\simonmar\LOCALS~1\Temp\1\ghc10148_0\ghc10148_0.o -Ld:\builds
 \ghc-validate\libraries\base\dist-install\build -Ld:\builds\ghc-
 validate\libraries\integer-gmp\dist-install\build -Ld:\builds\ghc-
 validate\libraries\ghc-prim\dist-install\build -Ld:/builds/ghc-
 validate/rts/dist/build -Ld:/builds/ghc-validate/libffi/dist-install/build
 -lHSrtsmain -lHSbase-4.2.0.0 -lwsock32 -luser32 -lshell32 -lHSinteger-
 gmp-0.2.0.0 -lHSghc-prim-0.2.0.0 -lHSrts -lm -lwsock32 -lmingwex -u
 _ghczmprim_GHCziTypes_Izh_static_info -u
 _ghczmprim_GHCziTypes_Czh_static_info -u
 _ghczmprim_GHCziTypes_Fzh_static_info -u
 _ghczmprim_GHCziTypes_Dzh_static_info -u _base_GHCziPtr_Ptr_static_info -u
 _base_GHCziWord_Wzh_static_info -u _base_GHCziInt_I8zh_static_info -u
 _base_GHCziInt_I16zh_static_info -u _base_GHCziInt_I32zh_static_info -u
 _base_GHCziInt_I64zh_static_info -u _base_GHCziWord_W8zh_static_info -u
 _base_GHCziWord_W16zh_static_info -u _base_GHCziWord_W32zh_static_info -u
 _base_GHCziWord_W64zh_static_info -u
 _base_GHCziStable_StablePtr_static_info -u
 _ghczmprim_GHCziTypes_Izh_con_info -u _ghczmprim_GHCziTypes_Czh_con_info
 -u _ghczmprim_GHCziTypes_Fzh_con_info -u
 _ghczmprim_GHCziTypes_Dzh_con_info -u _base_GHCziPtr_Ptr_con_info -u
 _base_GHCziPtr_FunPtr_con_info -u _base_GHCziStable_StablePtr_con_info -u
 _ghczmprim_GHCziBool_False_closure -u _ghczmprim_GHCziBool_True_closure -u
 _base_GHCziPack_unpackCString_closure -u
 _base_GHCziIOziException_stackOverflow_closure -u
 _base_GHCziIOziException_heapOverflow_closure -u
 _base_ControlziExceptionziBase_nonTermination_closure -u
 _base_GHCziIOziExcept

Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-08 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  simonmar
  Type:  bug   | Status:  new 
  Priority:  high  |  Milestone:  6.12.3  
 Component:  Compiler  |Version:  6.12.2  
Resolution:|   Keywords:  
Difficulty:  Unknown   | Os:  Windows 
  Testcase:|   Architecture:  x86 
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * owner:  igloo => simonmar


Comment:

 Simon, do you have a Windows machine with multiple drives? If so, can you
 see if you can reproduce this with the same split, i.e. temporary
 directory on one and GHC on another, please?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-06-01 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by catenate):

  * status:  infoneeded => new


Comment:

 Still seems to fail:

 {{{
 $ ls
 ghc-6.12.2.20100520-i386-windows.exe  guide  hw.lhs  makefile  mkfile
 $ make hw
 /cygdrive/c/ghc/ghc-6.12.2.20100520/bin/ghc-6.12.2.20100520 hw.lhs -o hw
 C:\ghc\GHC-61~1.201\lib\..\mingw\bin\windres: can't open temporary file
 `\/cca03860.irc': Invalid argument
 $ ls
 ghc-6.12.2.20100520-i386-windows.exe  guide  hw.exe.manifest  hw.hi
 hw.lhs  hw.o  makefile  mkfile
 $ cat hw.exe.manifest
 
   
   

   
 
   
 
 

   
 
 $ cat hw.lhs
 > module Main where
 > main = do
 >putStrLn ("Hello, World!")
 }}}

 After cleaning up and running again with -v:

 {{{
 $ ls
 ghc-6.12.2.20100520-i386-windows.exe  guide  hw.lhs  makefile  mkfile
 $ /cygdrive/c/ghc/ghc-6.12.2.20100520/bin/ghc-6.12.2.20100520 hw.lhs -o hw
 -v
 Glasgow Haskell Compiler, Version 6.12.2.20100520, for Haskell 98, stage 2
 booted by GHC version 6.10.4
 Using binary package database:
 C:\ghc\GHC-61~1.201\lib\package.conf.d\package.cache
 hiding package base-3.0.3.2 to avoid conflict with later version
 base-4.2.0.1
 wired-in package ghc-prim mapped to ghc-
 prim-0.2.0.0-2feb0cb38f65a4827135ada88c34f3ef
 wired-in package integer-gmp mapped to integer-
 gmp-0.2.0.1-72436e28c79d056c87cc0d2d2f9f3773
 wired-in package base mapped to
 base-4.2.0.1-0d1804f62045e52b2e806996d84f5318
 wired-in package rts mapped to builtin_rts
 wired-in package haskell98 mapped to
 haskell98-1.0.1.1-c097d85de0ef1d8aab872d9cd57c03f6
 wired-in package template-haskell mapped to template-
 haskell-2.4.0.1-401621dedd4a5f07bfd8630247358bf5
 wired-in package dph-seq mapped to dph-
 seq-0.4.0-be069f0bb710922a6ddd4ed2b91e3a6c
 wired-in package dph-par mapped to dph-
 par-0.4.0-b31a0ce10b7c92126978fcc929077ad6
 Hsc static flags: -static
 Created temporary directory: D:\Profiles\cjc040\ghc4824_0
 *** Literate pre-processor:
 C:\ghc\GHC-61~1.201\lib\unlit.exe -h hw.lhs hw.lhs
 D:\Profiles\cjc040\ghc4824_0\ghc4824_0.lpp
 *** Checking old interface for main:Main:
 *** Parser:
 *** Renamer/typechecker:
 *** Desugar:
 Result size = 10
 *** Simplifier Phase 0 [final]:
 Result size = 8
 *** Tidy Core:
 Result size = 8
 writeBinIface: 1 Names
 writeBinIface: 13 dict entries
 *** CorePrep:
 Result size = 10
 *** Stg2Stg:
 *** CodeGen:
 *** CodeOutput:
 *** Assembler:
 C:\ghc\GHC-61~1.201\lib\..\mingw\bin\gcc -I. -c
 D:\Profiles\cjc040\ghc4824_0\ghc4824_0.s -o hw.o
 -DDONT_WANT_WIN32_DLL_SUPPORT
 *** Windres:
 C:\ghc\GHC-61~1.201\lib\..\mingw\bin\windres
 --preprocessor="C:\ghc\GHC-61~1.201\lib\..\mingw\bin\gcc" "-E" "-xc"
 "-DRC_INVOKED" --use-temp-file
 --input=D:\Profiles\cjc040\ghc4824_0\ghc4824_0.rc
 --output=D:\Profiles\cjc040\ghc4824_0\ghc4824_0.o --output-format=coff
 C:\ghc\GHC-61~1.201\lib\..\mingw\bin\windres: can't open temporary file
 `\/cca06056.irc': Invalid argument
 *** Deleting temp files:
 Deleting: D:\Profiles\cjc040\ghc4824_0\ghc4824_0.o
 D:\Profiles\cjc040\ghc4824_0\ghc4824_0.rc
 D:\Profiles\cjc040\ghc4824_0\ghc4824_0.s
 D:\Profiles\cjc040\ghc4824_0\ghc4824_0.lpp
 Warning: deleting non-existent D:\Profiles\cjc040\ghc4824_0\ghc4824_0.o
 *** Deleting temp dirs:
 Deleting: D:\Profiles\cjc040\ghc4824_0

 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-21 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo 
  Type:  bug   | Status:  infoneeded
  Priority:  high  |  Milestone:  6.12.3
 Component:  Compiler  |Version:  6.12.2
Resolution:|   Keywords:
Difficulty:  Unknown   | Os:  Windows   
  Testcase:|   Architecture:  x86   
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * status:  new => infoneeded


Comment:

 Can you try
 http://www.haskell.org/ghc/dist/tmp/ghc-6.12.2.20100520-i386-windows.exe
 and see if it fixes the problem please?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-16 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  igloo  
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * owner:  => igloo


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-06 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by catenate):

 * cc: jason.cat...@… (added)


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-06 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by catenate):

 * cc: jason.cat...@… (removed)
  * status:  infoneeded => new


Comment:

 {{{
 $ ghc -o fun fun.lhs -v
 Glasgow Haskell Compiler, Version 6.12.2, for Haskell 98, stage 2 booted
 by GHC version 6.10.4
 Using binary package database:
 C:\ghc\ghc-6.12.2\lib\package.conf.d\package.cache
 hiding package base-3.0.3.2 to avoid conflict with later version
 base-4.2.0.1
 wired-in package ghc-prim mapped to ghc-
 prim-0.2.0.0-2feb0cb38f65a4827135ada88c34f3ef
 wired-in package integer-gmp mapped to integer-
 gmp-0.2.0.1-72436e28c79d056c87cc0d2d2f9f3773
 wired-in package base mapped to
 base-4.2.0.1-e67521506d04c3365c98fc1e12a99284
 wired-in package rts mapped to builtin_rts
 wired-in package haskell98 mapped to
 haskell98-1.0.1.1-072e20c932a903893ed52d76c306e5a9
 wired-in package template-haskell mapped to template-
 haskell-2.4.0.1-401621dedd4a5f07bfd8630247358bf5
 wired-in package dph-seq mapped to dph-
 seq-0.4.0-e553cb9a3e4f35b3b3c8ded2779c73c7
 wired-in package dph-par mapped to dph-
 par-0.4.0-0db8a1ada59033abf7a1af8ae3cfcbf2
 Hsc static flags: -static
 Created temporary directory: D:\Profiles\cjc040\/ghc504_0
 *** Literate pre-processor:
 C:\ghc\ghc-6.12.2\lib\unlit.exe -h fun.lhs fun.lhs
 D:\Profiles\cjc040\/ghc504_0\ghc504_0.lpp
 *** Checking old interface for main:Main:
 compilation IS NOT required
 *** Touching object file:
 C:\ghc\ghc-6.12.2\lib\touchy.exe fun.o
 *** Windres:
 C:\ghc\ghc-6.12.2\lib\..\mingw\bin\windres
 --preprocessor="C:\ghc\ghc-6.12.2\lib\..\mingw\bin\gcc" "-E" "-xc"
 "-DRC_INVOKED" --use-temp-file
 --input=D:\Profiles\cjc040\/ghc504_0\ghc504_0.rc
 --output=D:\Profiles\cjc040\/ghc504_0\ghc504_0.o --output-format=coff
 C:\ghc\ghc-6.12.2\lib\..\mingw\bin\windres: can't open temporary file
 `\/cca03208.irc': Invalid argument
 *** Deleting temp files:
 Deleting: D:\Profiles\cjc040\/ghc504_0\ghc504_0.o
 D:\Profiles\cjc040\/ghc504_0\ghc504_0.rc
 D:\Profiles\cjc040\/ghc504_0\ghc504_0.s
 D:\Profiles\cjc040\/ghc504_0\ghc504_0.lpp
 Warning: deleting non-existent D:\Profiles\cjc040\/ghc504_0\ghc504_0.o
 Warning: deleting non-existent D:\Profiles\cjc040\/ghc504_0\ghc504_0.s
 *** Deleting temp dirs:
 Deleting: D:\Profiles\cjc040\/ghc504_0
 $

 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-06 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:
  Type:  bug   | Status:  infoneeded
  Priority:  high  |  Milestone:  6.12.3
 Component:  Compiler  |Version:  6.12.2
Resolution:|   Keywords:
Difficulty:  Unknown   | Os:  Windows   
  Testcase:|   Architecture:  x86   
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * status:  new => infoneeded


Comment:

 Can you paste the output of
 {{{
 ghc -o fun fun.lhs -v
 }}}
 please?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-06 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.3 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by igloo):

  * milestone:  6.12.2 => 6.12.3


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-05-06 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  new
  Priority:  high  |  Milestone:  6.12.2 
 Component:  Compiler  |Version:  6.12.2 
Resolution:|   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by catenate):

 * cc: jason.cat...@… (added)
  * status:  closed => new
  * version:  6.10.4 => 6.12.2
  * resolution:  fixed =>


Comment:

 Running Cygwin 1.7.5-1, just updated.  Downloaded and installed GHC 6.12.2
 binary (no previous install) for Windows (XP SP3), not the Haskell
 Platform (blocked as virus;).


 {{{
 $ make fun
 ghc -o fun fun.lhs
 C:\ghc\ghc-6.12.2\lib\..\mingw\bin\windres: can't open temporary file
 `\/cca03476.irc': Invalid argument
 make: *** [fun] Error 1
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.12.2

 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-04-01 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  closed 
  Priority:  high  |  Milestone:  6.12.2 
 Component:  Compiler  |Version:  6.10.4 
Resolution:  fixed |   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by simonmar):

  * milestone:  6.10.2 => 6.12.2


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-04-01 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner: 
  Type:  bug   | Status:  closed 
  Priority:  high  |  Milestone:  6.10.2 
 Component:  Compiler  |Version:  6.10.4 
Resolution:  fixed |   Keywords: 
Difficulty:  Unknown   | Os:  Windows
  Testcase:|   Architecture:  x86
   Failure:  None/Unknown  |  
---+
Changes (by simonmar):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 Fixed in 6.12.2 and later, by

 {{{
 Thu Mar 25 06:32:37 PDT 2010  Ian Lynagh 
   * Use  rather than ++ "/"
   This stops us generating paths like
   c:\foo\/ghc460_0/ghc460_0.o
   which windres doesn't understand.
 }}}

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2010-02-17 Thread GHC
#2889: Compilation fails - Can't opne temporary
---+
  Reporter:  fobrock   |  Owner:  
  Type:  bug   | Status:  reopened
  Priority:  high  |  Milestone:  6.10.2  
 Component:  Compiler  |Version:  6.10.4  
Resolution:|   Keywords:  
Difficulty:  Unknown   | Os:  Windows 
  Testcase:|   Architecture:  x86 
   Failure:  None/Unknown  |  
---+
Changes (by fuentesjr):

  * status:  closed => reopened
  * failure:  => None/Unknown
  * version:  6.10.1 => 6.10.4
  * resolution:  invalid =>


Comment:

 I came across this similar issue but I only see it under cygwin on windows
 (windows 7 with haskell platform 2009.2.0.2). Thought it might help:

 (fuente...@think ~/<1>haskell/test) ghc --make -v dnet
 Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted
 by GHC version 6.10.1
 Using package config file: C:\Program Files\Haskell
 Platform\2009.2.0.2\package.conf
 hiding package base-3.0.3.1 to avoid conflict with later version
 base-4.1.0.0
 wired-in package ghc-prim mapped to ghc-prim-0.1.0.0
 wired-in package integer mapped to integer-0.1.0.1
 wired-in package base mapped to base-4.1.0.0
 wired-in package rts mapped to rts-1.0
 wired-in package haskell98 mapped to haskell98-1.0.1.0
 wired-in package syb mapped to syb-0.1.0.1
 wired-in package template-haskell mapped to template-haskell-2.3.0.1
 wired-in package dph-seq mapped to dph-seq-0.3
 wired-in package dph-par mapped to dph-par-0.3
 Hsc static flags: -static
 *** Chasing dependencies:
 Chasing modules from: *dnet.hs
 Stable obj: [Main]
 Stable BCO: []
 Ready for upsweep
   [NONREC
   ModSummary {
  ms_hs_date = Sat Feb 13 12:52:40 Pacific Standard Time 2010
  ms_mod = main:Main,
  ms_imps = [Network.HTTP]
  ms_srcimps = []
   }]
 compile: input file dnet.hs
 Created temporary directory: C:\Users\fuentesjr\/ghc3976_0
 *** Checking old interface for main:Main:
 [1 of 1] Skipping  Main ( dnet.hs, dnet.o )
 *** Deleting temp files:
 Deleting: C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.s
 Warning: deleting non-existent C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.s
 Upsweep completely successful.
 *** Deleting temp files:
 Deleting:
 link: linkables are ...
 LinkableM (Wed Feb 17 15:02:21 Pacific Standard Time 2010) main:Main
[DotO dnet.o]
 Linking dnet.exe ...
 *** Windres:
 C:\Program Files\Haskell Platform\2009.2.0.2\bin/windres
 --preprocessor="C:\Program Files\Haskell Platform\2009.2.0.2\gcc"
 "-BC:\Program Files\Haskell Platform\2009.2.0.2\gcc-lib/" "-IC:\Program
 Files\Haskell Platform\2009.2.0.2\include/mingw" "-E" "-xc" "-DRC_INVOKED"
 --use-temp-file --input=C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.rc
 --output=C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.o --output-format=coff
 C:\Program Files\Haskell Platform\2009.2.0.2\bin/windres: can't open
 temporary file `\/cca00592.irc': No such file or directory
 *** Deleting temp files:
 Deleting: C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.o
 C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.rc
 Warning: deleting non-existent C:\Users\fuentesjr\/ghc3976_0/ghc3976_0.o
 *** Deleting temp dirs:
 Deleting: C:\Users\fuentesjr\/ghc3976_0
 (fuente...@think ~/<1>haskell/test)

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2009-02-18 Thread GHC
#2889: Compilation fails - Can't opne temporary
-+--
Reporter:  fobrock   |Owner: 
Type:  bug   |   Status:  closed 
Priority:  high  |Milestone:  6.10.2 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  normal|   Resolution:  invalid
Keywords:|   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  x86   |  
-+--
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 OK; thanks for taking the time to test it again.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2009-02-18 Thread GHC
#2889: Compilation fails - Can't opne temporary
-+--
Reporter:  fobrock   |Owner: 
Type:  bug   |   Status:  new
Priority:  high  |Milestone:  6.10.2 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  normal|   Resolution: 
Keywords:|   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  x86   |  
-+--
Comment (by fobrock):

 As a result of the issue, which occurred constantly (even with a simple
 "hello, world" progam), I backed off to using 6.8.2.

 When I just re-intalled 6.10.1 to capture the "-v" output, the issue did
 *not* recurr. I tried several uninstalls and re-installs but my test
 compiles have all been successful.

 Note that when the issue did occurr in 6.10.1, it was "windres.exe" that
 reported it. Therefore, I tried compiling with "-fno-gen-manifest"
 thinking it would avoid calling "windres.exe", but the compilation failed
 for an unspecified reason (it was requested to report this to GNU).

 Unless this issue can be reproduced by someone else, I am OK with
 concluding it must have been something local to my PC.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2009-02-10 Thread GHC
#2889: Compilation fails - Can't opne temporary
-+--
Reporter:  fobrock   |Owner: 
Type:  bug   |   Status:  new
Priority:  high  |Milestone:  6.10.2 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  normal|   Resolution: 
Keywords:|   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  x86   |  
-+--
Comment (by igloo):

 fobrock, can you please add the `-v` flag to your GHC commandline, and
 paste the output here?

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #2889: Compilation fails - Can't opne temporary

2009-02-02 Thread GHC
#2889: Compilation fails - Can't opne temporary
-+--
Reporter:  fobrock   |Owner: 
Type:  bug   |   Status:  new
Priority:  high  |Milestone:  6.10.2 
   Component:  Compiler  |  Version:  6.10.1 
Severity:  normal|   Resolution: 
Keywords:|   Difficulty:  Unknown
Testcase:|   Os:  Windows
Architecture:  x86   |  
-+--
Changes (by igloo):

  * priority:  normal => high
  * difficulty:  => Unknown
  * milestone:  => 6.10.2

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs