Skip to content

ekg cannot be turned on for Windows builds #17

@S11001001

Description

@S11001001

This is with Haskell Platform 2014.2.0.0, ghc 7.8.3, cabal 1.20.0.3, Windows Server 2008 R2.

The working setup

As of 0f5367c

network-2.4.2.3 is preinstalled.

But without trifecta >=1.5.1.2 or blaze-markup <0.6.3, we have the trifecta/blaze mismatch bug.

Fresh sandbox with trifecta >=1.5.1.2, blaze constraint removed

Installs network-2.6.0.2, but:

> cabal build
Building ermine-0.6...
Preprocessing library ermine-0.6...
[ 1 of 85] Compiling Ermine.Syntax.Digest ( src\Ermine\Syntax\Digest.hs, dist\build\Ermine\Syntax\Digest.o )
[ 2 of 85] Compiling Ermine.Syntax.Hint ( src\Ermine\Syntax\Hint.hs, dist\build\Ermine\Syntax\Hint.o )
[ 3 of 85] Compiling Ermine.Monitor.Exception ( src\Ermine\Monitor\Exception.hs, dist\build\Ermine\Monitor\Exception.o )
[ 4 of 85] Compiling Ermine.Monitor.Options ( src\Ermine\Monitor\Options.hs, dist\build\Ermine\Monitor\Options.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.5.0.0 ... linking ... done.
Loading package deepseq-1.3.0.2 ... linking ... done.
Loading package bytestring-0.10.4.0 ... linking ... done.
Loading package Win32-2.3.0.2 ... linking ... done.
Loading package ansi-terminal-0.6.2.1 ... linking ... done.
Loading package ansi-wl-pprint-0.6.7.1 ... linking ... done.
Loading package text-1.2.0.4 ... linking ... done.
Loading package blaze-builder-0.3.3.4 ... linking ... done.
Loading package blaze-markup-0.6.3.0 ... linking ... done.
Loading package blaze-html-0.7.1.0 ... linking ... done.
Loading package containers-0.5.5.1 ... linking ... done.
Loading package hashable-1.2.3.1 ... linking ... done.
Loading package nats-1 ... linking ... done.
Loading package unordered-containers-0.2.5.1 ... linking ... done.
Loading package semigroups-0.16.1 ... linking ... done.
Loading package charset-0.3.7 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package transformers-compat-0.3.3.4 ... linking ... done.
Loading package void-0.7 ... linking ... done.
Loading package contravariant-1.2.0.1 ... linking ... done.
Loading package tagged-0.7.3 ... linking ... done.
Loading package distributive-0.4.4 ... linking ... done.
Loading package comonad-4.2.2 ... linking ... done.
Loading package fingertree-0.1.0.0 ... linking ... done.
Loading package semigroupoids-4.2 ... linking ... done.
Loading package bifunctors-4.2 ... linking ... done.
Loading package mtl-2.1.3.1 ... linking ... done.
Loading package exceptions-0.6.1 ... linking ... done.
Loading package filepath-1.3.0.2 ... linking ... done.
Loading package prelude-extras-0.4 ... linking ... done.
Loading package profunctors-4.3.2 ... linking ... done.
Loading package pretty-1.1.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package free-4.10.0.1 ... linking ... done.
Loading package parallel-3.2.0.4 ... linking ... done.
Loading package primitive-0.5.2.1 ... linking ... done.
Loading package reflection-1.5.1.1 ... linking ... done.
Loading package split-0.2.2 ... linking ... done.
Loading package vector-0.10.9.1 ... linking ... done.
Loading package lens-4.7 ... linking ... done.
Loading package scientific-0.3.3.7 ... linking ... done.
Loading package attoparsec-0.12.1.2 ... linking ... done.
Loading package parsec-3.1.8 ... linking ... done.
Loading package parsers-0.12.1.1 ... linking ... done.
Loading package keys-3.10.1 ... linking ... done.
Loading package data-default-class-0.0.1 ... linking ... done.
Loading package adjunctions-4.2 ... linking ... done.
Loading package kan-extensions-4.2.1 ... linking ... done.
Loading package stm-2.4.2 ... linking ... done.
Loading package pointed-4.2 ... linking ... done.
Loading package reducers-3.10.3 ... linking ... done.
Loading package utf8-string-0.3.8 ... linking ... done.
Loading package trifecta-1.5.1.2 ... linking ... done.
Loading package old-locale-1.0.0.6 ... linking ... done.
Loading package time-1.4.2 ... linking ... done.
Loading package directory-1.2.1.0 ... linking ... done.
Loading package process-1.2.0.0 ... linking ... done.
Loading package optparse-applicative-0.11.0.1 ... linking ... done.
Loading package monad-st-0.2.4 ... linking ... done.
Loading package hyphenation-0.4.2 ... linking ... done.
Loading package haskeline-0.7.1.2 ... linking ... done.
Loading package old-time-1.1.0.2 ... linking ... done.
Loading package polyparse-1.11 ... linking ... done.
Loading package cpphs-1.18.8 ... linking ... done.
Loading package haskell-src-exts-1.16.0.1 ... linking ... done.
Loading package groom-0.1.2 ... linking ... done.
Loading package file-embed-0.0.8 ... linking ... done.
Loading package dlist-0.7.1 ... linking ... done.
Loading package syb-0.4.1 ... linking ... done.
Loading package aeson-0.8.0.2 ... linking ... done.
Loading package ekg-core-0.1.0.2 ... linking ... done.
Loading package network-2.6.0.2 ... linking ... 
<no location info>:
    ghc.exe: unable to load package `network-2.6.0.2'
[ 5 of 85] Compiling Ermine.Monitor.Combinators ( src\Ermine\Monitor\Combinators.hs, dist\build\Ermine\Monitor\Combinators.o )
[ 6 of 85] Compiling Ermine.Syntax.Sort ( src\Ermine\Syntax\Sort.hs, dist\build\Ermine\Syntax\Sort.o )
[ 7 of 85] Compiling Ermine.Unification.Sharing ( src\Ermine\Unification\Sharing.hs, dist\build\Ermine\Unification\Sharing.o )
[ 8 of 85] Compiling Ermine.Console.Unicode ( dist\build\Ermine\Console\Unicode.hs, dist\build\Ermine\Console\Unicode.o )
[ 9 of 85] Compiling Paths_ermine     ( dist\build\autogen\Paths_ermine.hs, dist\build\Paths_ermine.o )
[12 of 85] Compiling Ermine.Instances ( src\Ermine\Instances.hs, dist\build\Ermine\Instances.o )
[13 of 85] Compiling Ermine.Loader.Core ( src\Ermine\Loader\Core.hs, dist\build\Ermine\Loader\Core.o )

<no location info>:
    ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-mingw32):
    Dynamic linker not initialised

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

[16 of 85] Compiling Ermine.Parser.Keywords ( src\Ermine\Parser\Keywords.hs, dist\build\Ermine\Parser\Keywords.o )
[17 of 85] Compiling Ermine.Parser.Style ( src\Ermine\Parser\Style.hs, dist\build\Ermine\Parser\Style.o )
[18 of 85] Compiling Ermine.Version   ( src\Ermine\Version.hs, dist\build\Ermine\Version.o )

<no location info>:
    ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-mingw32):
    Dynamic linker not initialised

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

[19 of 85] Compiling Ermine.Syntax.Scope ( src\Ermine\Syntax\Scope.hs, dist\build\Ermine\Syntax\Scope.o )
[20 of 85] Compiling Ermine.Syntax.Name ( src\Ermine\Syntax\Name.hs, dist\build\Ermine\Syntax\Name.o )
[21 of 85] Compiling Ermine.Pretty    ( src\Ermine\Pretty.hs, dist\build\Ermine\Pretty.o )
[22 of 85] Compiling Ermine.Console.State ( src\Ermine\Console\State.hs, dist\build\Ermine\Console\State.o )

<no location info>:
    ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-mingw32):
    Dynamic linker not initialised

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

[23 of 85] Compiling Ermine.Diagnostic ( src\Ermine\Diagnostic.hs, dist\build\Ermine\Diagnostic.o )

<no location info>:
    ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-mingw32):
    Dynamic linker not initialised

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

[24 of 85] Compiling Ermine.Syntax.ModuleName ( src\Ermine\Syntax\ModuleName.hs, dist\build\Ermine\Syntax\ModuleName.o )
[25 of 85] Compiling Ermine.Syntax.Literal ( src\Ermine\Syntax\Literal.hs, dist\build\Ermine\Syntax\Literal.o )
[26 of 85] Compiling Ermine.Parser.Literal ( src\Ermine\Parser\Literal.hs, dist\build\Ermine\Parser\Literal.o )
[27 of 85] Compiling Ermine.Pretty.Literal ( src\Ermine\Pretty\Literal.hs, dist\build\Ermine\Pretty\Literal.o )
[28 of 85] Compiling Ermine.Syntax.Global ( src\Ermine\Syntax\Global.hs, dist\build\Ermine\Syntax\Global.o )
[29 of 85] Compiling Ermine.Parser.Global ( src\Ermine\Parser\Global.hs, dist\build\Ermine\Parser\Global.o )
[30 of 85] Compiling Ermine.Pretty.Global ( src\Ermine\Pretty\Global.hs, dist\build\Ermine\Pretty\Global.o )
[31 of 85] Compiling Ermine.Syntax.Convention ( src\Ermine\Syntax\Convention.hs, dist\build\Ermine\Syntax\Convention.o )
[32 of 85] Compiling Ermine.Syntax    ( src\Ermine\Syntax.hs, dist\build\Ermine\Syntax.o )
[33 of 85] Compiling Ermine.Syntax.Pattern ( src\Ermine\Syntax\Pattern.hs, dist\build\Ermine\Syntax\Pattern.o )

<no location info>:
    ghc.exe: panic! (the 'impossible' happened)
  (GHC version 7.8.3 for x86_64-unknown-mingw32):
    Dynamic linker not initialised

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

[36 of 85] Compiling Ermine.Syntax.Kind ( src\Ermine\Syntax\Kind.hs, dist\build\Ermine\Syntax\Kind.o )
[52 of 85] Compiling Ermine.Parser.Kind ( src\Ermine\Parser\Kind.hs, dist\build\Ermine\Parser\Kind.o )
[53 of 85] Compiling Ermine.Pretty.Kind ( src\Ermine\Pretty\Kind.hs, dist\build\Ermine\Pretty\Kind.o )
[73 of 85] Compiling Ermine.Builtin.Global ( src\Ermine\Builtin\Global.hs, dist\build\Ermine\Builtin\Global.o )
ghc.exe: warning: SetConsoleCursorPosition from kernel32 is linked instead of __imp_SetConsoleCursorPosition
ghc.exe: warning: FillConsoleOutputCharacterA from kernel32 is linked instead of __imp_FillConsoleOutputCharacterA
ghc.exe: warning: FillConsoleOutputAttribute from kernel32 is linked instead of __imp_FillConsoleOutputAttribute
ghc.exe: J:\scompall\src\ermine\.cabal-sandbox\x86_64-windows-ghc-7.8.3\network-2.6.0.2\HSnetwork-2.6.0.2.o: unknown symbol `shutdownWinSock'

Same as last, but install with --constraint="network<2.5"

The idea is to force use of the already-installed network 2.4.2.3, but
this causes:

network-2.4.2.3 (latest: 2.6.0.2) (reinstall) changes: parsec-3.1.5 -> 3.1.8

Which results in the same error when building ermine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions