More windows
Phyx
lonetiger at gmail.com
Wed Oct 4 16:42:51 UTC 2017
Oh sorry, I missed the ls line, I'll try building master.
On Wed, Oct 4, 2017 at 5:24 PM, Simon Peyton Jones <simonpj at microsoft.com>
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:lonetiger at gmail.com]
> *Sent:* 04 October 2017 14:17
> *To:* Simon Peyton Jones <simonpj at microsoft.com>; ghc-devs at haskell.org
> *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 <
> ghc-devs at haskell.org> 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
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A19&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=RBB0ZLl%2FEYwO7EfcTXr%2FKugBfnr1ecN%2Febs0rAKu1VE%3D&reserved=0>:
> utils/genprimopcode/dist/package-data.mk
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpackage-data.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=QeEhyXBxi5n%2FhisTO6hX309ZFk47ek5NtGVDBNKbWLY%3D&reserved=0>:
> No such file or directory
>
> make[1]: *** [utils/ghc-cabal/ghc.mk:57
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A57&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=8qZlM0TvQvcySuregiRG5Ip%2FOR%2BVDAM6Dad1hUNEB%2FQ%3D&reserved=0>:
> 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
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=npxwtvhNnwLposvw%2B3k6rdhcQHEW7erd10hWCi5bvjg%3D&reserved=0>
> 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
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk%3A57&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=8qZlM0TvQvcySuregiRG5Ip%2FOR%2BVDAM6Dad1hUNEB%2FQ%3D&reserved=0>:
> 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
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fghc.mk&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=npxwtvhNnwLposvw%2B3k6rdhcQHEW7erd10hWCi5bvjg%3D&reserved=0>
> 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
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C8b77247501d641a1542908d50b2a3dc8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636427198412189281&sdata=HPj0gcQlqItY7XC0CON1Fv5clpmEINCnYSqLHgsr06U%3D&reserved=0>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171004/4a6bc952/attachment-0001.html>
More information about the ghc-devs
mailing list