benchmark compilation failure

Create issue
Issue #3 new
Adam Bergmark created an issue

The benchmarks for this package has been disabled in stackage because of this issue, but maybe this is hard to fix since it needs another package in a subdir, so feel free to close this if you want to leave it as is.

Thanks!

> /tmp/stackage-build8/picoparsec-0.1.2.3$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup configure --enable-benchmarks --package-db=clear --package-db=global --package-db=/var/stackage/work/builds/nightly/pkgdb --libdir=/var/stackage/work/builds/nightly/lib --bindir=/var/stackage/work/builds/nightly/bin --datadir=/var/stackage/work/builds/nightly/share --libexecdir=/var/stackage/work/builds/nightly/libexec --sysconfdir=/var/stackage/work/builds/nightly/etc --docdir=/var/stackage/work/builds/nightly/doc/picoparsec-0.1.2.3 --htmldir=/var/stackage/work/builds/nightly/doc/picoparsec-0.1.2.3 --haddockdir=/var/stackage/work/builds/nightly/doc/picoparsec-0.1.2.3 --flags=
Configuring picoparsec-0.1.2.3...
Warning: 'hs-source-dirs: benchmarks/warp-3.0.1.1' directory does not exist.
> /tmp/stackage-build8/picoparsec-0.1.2.3$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup build
Building picoparsec-0.1.2.3...
Preprocessing library picoparsec-0.1.2.3...
[1 of 9] Compiling Data.Picoparsec.Internal.Types ( Data/Picoparsec/Internal/Types.hs, dist/build/Data/Picoparsec/Internal/Types.o )
[2 of 9] Compiling Data.Picoparsec.Internal ( Data/Picoparsec/Internal.hs, dist/build/Data/Picoparsec/Internal.o )
[3 of 9] Compiling Data.Picoparsec.Zepto ( Data/Picoparsec/Zepto.hs, dist/build/Data/Picoparsec/Zepto.o )
[4 of 9] Compiling Data.Picoparsec.Types ( Data/Picoparsec/Types.hs, dist/build/Data/Picoparsec/Types.o )
[5 of 9] Compiling Data.Picoparsec.Combinator ( Data/Picoparsec/Combinator.hs, dist/build/Data/Picoparsec/Combinator.o )
[6 of 9] Compiling Data.Picoparsec.Monoid.Internal ( Data/Picoparsec/Monoid/Internal.hs, dist/build/Data/Picoparsec/Monoid/Internal.o )

Data/Picoparsec/Monoid/Internal.hs:566:1: warning: [-Wredundant-constraints]
     Redundant constraint: Eq t
     In the type signature for:
           endOfLine :: (Eq t, TextualMonoid t) => Parser t ()
[7 of 9] Compiling Data.Picoparsec  ( Data/Picoparsec.hs, dist/build/Data/Picoparsec.o )
[8 of 9] Compiling Data.Picoparsec.Number ( Data/Picoparsec/Number.hs, dist/build/Data/Picoparsec/Number.o )
[9 of 9] Compiling Data.Picoparsec.State ( Data/Picoparsec/State.hs, dist/build/Data/Picoparsec/State.o )
Preprocessing benchmark 'benchmarks' for picoparsec-0.1.2.3...
[ 1 of 18] Compiling HeadersByteString.Atto ( benchmarks/HeadersByteString/Atto.hs, dist/build/benchmarks/benchmarks-tmp/HeadersByteString/Atto.o )
[ 2 of 18] Compiling Data.Monoid.Instances.ByteString.Char8 ( benchmarks/Data/Monoid/Instances/ByteString/Char8.hs, dist/build/benchmarks/benchmarks-tmp/Data/Monoid/Instances/ByteString/Char8.o )

benchmarks/Data/Monoid/Instances/ByteString/Char8.hs:23:1: warning: [-Worphans]
    Orphan instance: instance TextualMonoid ByteString
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.
[ 3 of 18] Compiling Links            ( benchmarks/Links.hs, dist/build/benchmarks/benchmarks-tmp/Links.o )

benchmarks/Links.hs:9:1: warning: [-Wdeprecations]
    Module Data.Attoparsec.Char8 is deprecated:
      This module will be removed in the next major release.
[ 4 of 18] Compiling Warp             ( benchmarks/Warp.hs, dist/build/benchmarks/benchmarks-tmp/Warp.o )

benchmarks/Warp.hs:8:1: error:
    Failed to load interface for Network.Wai.Handler.Warp.ReadInt
    it is a hidden module in the package warp-3.2.8
    Use -v to see a list of the files searched for.

Comments (0)

  1. Log in to comment