More windows

Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

More windows

GHC - devs mailing list

Now in my Windows build, staring with “sh validate –fast –no-clean” I get

[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )

[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )

[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

Simply repeating, thus “sh validate –fast”, I then get the same error

/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/

total 0

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

But trying “sh validate –fast” once more succeeds:

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe

"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe" --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"

…etc etc

 

I’m stumped.

 

Simon


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: More windows

lonetiger

This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner?


On Wed, Oct 4, 2017, 13:57 Simon Peyton Jones via ghc-devs <[hidden email]> wrote:

Now in my Windows build, staring with “sh validate –fast –no-clean” I get

[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )

[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )

[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

Simply repeating, thus “sh validate –fast”, I then get the same error

/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/

total 0

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

But trying “sh validate –fast” once more succeeds:

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe

"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe" --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"

…etc etc

 

I’m stumped.

 

Simon

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: More windows

GHC - devs mailing list

As you’ll see the directory is empty when the crash happens.  And yes the folder is excluded.

 

Also this behaviour is new.

 

Simon

 

From: Phyx [mailto:[hidden email]]
Sent: 04 October 2017 14:17
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Subject: Re: More windows

 

This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner?

 

On Wed, Oct 4, 2017, 13:57 Simon Peyton Jones via ghc-devs <[hidden email]> wrote:

Now in my Windows build, staring with “sh validate –fast –no-clean” I get

[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )

[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )

[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

Simply repeating, thus “sh validate –fast”, I then get the same error

/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/

total 0

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

But trying “sh validate –fast” once more succeeds:

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe

"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe" --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"

…etc etc

 

I’m stumped.

 

Simon

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: More windows

lonetiger
Oh sorry, I missed the ls line, I'll try building master.

On Wed, Oct 4, 2017 at 5:24 PM, Simon Peyton Jones <[hidden email]> wrote:

As you’ll see the directory is empty when the crash happens.  And yes the folder is excluded.

 

Also this behaviour is new.

 

Simon

 

From: Phyx [mailto:[hidden email]]
Sent: 04 October 2017 14:17
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Subject: Re: More windows

 

This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner?

 

On Wed, Oct 4, 2017, 13:57 Simon Peyton Jones via ghc-devs <[hidden email]> wrote:

Now in my Windows build, staring with “sh validate –fast –no-clean” I get

[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )

[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )

[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

Simply repeating, thus “sh validate –fast”, I then get the same error

/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/

total 0

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

But trying “sh validate –fast” once more succeeds:

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe

"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe" --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"

…etc etc

 

I’m stumped.

 

Simon

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: More windows

GHC - devs mailing list
In reply to this post by GHC - devs mailing list

Any ideas anyone?   When I restart the build, it gets past the blockage (which seems highly specific).  But it’s jolly annoying.

 

Simon

 

From: ghc-devs [mailto:[hidden email]] On Behalf Of Simon Peyton Jones via ghc-devs
Sent: 04 October 2017 17:25
To: Phyx <[hidden email]>; [hidden email]
Subject: RE: More windows

 

As you’ll see the directory is empty when the crash happens.  And yes the folder is excluded (from virus checking).

 

Also this behaviour is new.

 

Simon

 

From: Phyx [[hidden email]]
Sent: 04 October 2017 14:17
To: Simon Peyton Jones <[hidden email]>; [hidden email]
Subject: Re: More windows

 

This looks like a file lock issue. Just to double check, but do you have the build folder excluded from the antivirus scanner?

 

On Wed, Oct 4, 2017, 13:57 Simon Peyton Jones via ghc-devs <[hidden email]> wrote:

Now in my Windows build, staring with “sh validate –fast –no-clean” I get

[230 of 232] Compiling Distribution.PackageDescription.Parsec ( libraries\Cabal\Cabal\Distribution\PackageDescription\Parsec.hs, bootstrapping\Distribution\PackageDescription\Parsec.o )

[231 of 232] Compiling Distribution.Simple ( libraries\Cabal\Cabal\Distribution\Simple.hs, bootstrapping\Distribution\Simple.o )

[232 of 232] Compiling Main             ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o )

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

Simply repeating, thus “sh validate –fast”, I then get the same error

/c/code/HEAD$ ls -l utils/ghc-cabal/dist/build/tmp/

total 0

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

Unable to open utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

make[1]: *** [utils/ghc-cabal/ghc.mk:57: utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1

make[1]: *** Deleting file 'utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe'

make: *** [Makefile:123: all] Error 2

 

But trying “sh validate –fast” once more succeeds:

/c/code/HEAD$ sh validate --fast --no-clean

using THREADS=5

make: Entering directory '/c/code/HEAD/utils/checkUniques'

./check-uniques.py ../..

make: Leaving directory '/c/code/HEAD/utils/checkUniques'

===--- building phase 0

make --no-print-directory -f ghc.mk phase=0 phase_0_builds

"c:/fp/ghc-8.0.2/bin/ghc.exe" -O0 -H64m -Wall \

       -optc-Wall -optc-Werror -optc-fno-stack-protector \

        \

       -hide-all-packages \

       -package ghc-prim -package base -package array -package transformers -package time -package containers -package bytestring -package deepseq -package process -package pretty -package directory -package Win32 \

       --make utils/ghc-cabal/Main.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe \

       -no-user-package-db \

       -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations \

       -DCABAL_VERSION=2,0,0,2 \

       -DCABAL_PARSEC \

       -DBOOTSTRAPPING \

       -odir  bootstrapping \

       -hidir bootstrapping \

       bootstrapping/Cabal/Distribution/Parsec/Lexer.hs \

       -ilibraries/Cabal/Cabal \

       -ilibraries/binary/src \

       -ilibraries/filepath \

       -ilibraries/hpc \

       -ilibraries/mtl \

       -ilibraries/text \

       libraries/text/cbits/cbits.c \

       -Ilibraries/text/include \

       -ilibraries/parsec \

        \

      

Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe ...

"inplace/lib/bin/touchy.exe" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe

"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe inplace/bin/ghc-cabal.exe

"inplace/bin/ghc-cabal.exe" configure libraries/binary dist-boot --with-ghc="c:/fp/ghc-8.0.2/bin/ghc.exe" --with-ghc-pkg="c:/fp/ghc-8.0.2/bin/ghc-pkg"  --package-db=C:/code/HEAD/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/c/fp/HP-8.0.1/lib/extralibs/bin/HsColour" --configure-option=CFLAGS="-Wall -fno-stack-protector    -Wno-error=inline" --configure-option=LDFLAGS="  " --configure-option=CPPFLAGS="   " --gcc-options="-Wall -fno-stack-protector    -Wno-error=inline   "   --constraint "binary == 0.8.5.1"   --constraint "text == 1.2.3.0"   --constraint "transformers == 0.5.4.0"   --constraint "mtl == 2.2.2"   --constraint "parsec == 3.1.12"   --constraint "Cabal == 2.0.0.2"   --constraint "hpc == 0.6.0.3"   --constraint "ghc-boot-th == 8.3"   --constraint "ghc-boot == 8.3"   --constraint "template-haskell == 2.13.0.0"   --constraint "ghci == 8.3" --with-gcc="C:/fp/ghc-8.0.2/lib/../mingw/bin/gcc.exe" --with-ld="C:/fp/ghc-8.0.2/lib/../mingw/bin/ld.exe" --with-ar="C:/fp/ghc-8.0.2/lib/../mingw/bin/ar.exe" --with-alex="/c/fp/HP-8.0.1/lib/extralibs/bin/alex" --with-happy="/c/fp/HP-8.0.1/lib/extralibs/bin/happy"

…etc etc

 

I’m stumped.

 

Simon

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

RE: More windows

Ben Gamari-3
Simon Peyton Jones via ghc-devs <[hidden email]> writes:

> Any ideas anyone? When I restart the build, it gets past the blockage
> (which seems highly specific). But it’s jolly annoying.
>
Hi Simon,

Perhaps let's try this,

 1. download and run the procmon tool from [1]
 2. from the "Filter" menu select the "Filter..." option
 3. select "Path" in the first drop-down
 4. select "contains" in the second drop-down
 5. enter "ghc-cabal.exe" in the third text box
 6. select "Include in the fourth drop-down
 8. click the "Add" button
 7. click the "Ok" button

Now you should be logging events pertaining to the file in question. Now
simply run `./validate` to try to reproduce the issue.

With luck this will produce a handful of events, some of which ought to
point to the process that it responsible for meddling with the GHC
build.

Now export this log,

 1. select "Save" from the "File" menu
 2. select the "Events displayed using current filter" option
 3. select the "CSV" format, select a path that will be easy to file
 4. return this file to me (perhaps via GitHub Gist [2]?)

Hopefully this will give us some insight into what is happening.

Cheers,

- Ben


[1] https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
[2] https://gist.github.com/

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: More windows

GHC - devs mailing list
Oddly it's started working.   I have no idea why.  I'll yell if it breaks again.

Simon

| -----Original Message-----
| From: Ben Gamari [mailto:[hidden email]]
| Sent: 11 October 2017 14:11
| To: Simon Peyton Jones via ghc-devs <[hidden email]>; Simon Peyton
| Jones <[hidden email]>; GHC developers <[hidden email]>
| Subject: RE: More windows
|
| Simon Peyton Jones via ghc-devs <[hidden email]> writes:
|
| > Any ideas anyone? When I restart the build, it gets past the blockage
| > (which seems highly specific). But it’s jolly annoying.
| >
| Hi Simon,
|
| Perhaps let's try this,
|
|  1. download and run the procmon tool from [1]
|  2. from the "Filter" menu select the "Filter..." option
|  3. select "Path" in the first drop-down
|  4. select "contains" in the second drop-down
|  5. enter "ghc-cabal.exe" in the third text box
|  6. select "Include in the fourth drop-down
|  8. click the "Add" button
|  7. click the "Ok" button
|
| Now you should be logging events pertaining to the file in question. Now
| simply run `./validate` to try to reproduce the issue.
|
| With luck this will produce a handful of events, some of which ought to
| point to the process that it responsible for meddling with the GHC
| build.
|
| Now export this log,
|
|  1. select "Save" from the "File" menu
|  2. select the "Events displayed using current filter" option
|  3. select the "CSV" format, select a path that will be easy to file
|  4. return this file to me (perhaps via GitHub Gist [2]?)
|
| Hopefully this will give us some insight into what is happening.
|
| Cheers,
|
| - Ben
|
|
| [1] https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
| [2] https://gist.github.com/
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs