Bug#1013457: haskell-network-uri: FTBFS with ghc 9.0.2

Sebastian Ramacher sramacher at debian.org
Fri Jun 24 00:04:38 BST 2022


Source: haskell-network-uri
Version: 2.6.3.0-1
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

https://buildd.debian.org/status/fetch.php?pkg=haskell-network-uri&arch=amd64&ver=2.6.3.0-1%2Bb2&stamp=1655842747&raw=0

Warning: --source-* options are ignored when --hyperlinked-source is enabled.

Network/URI.hs:10:14: warning: [-Wtrustworthy-safe]
    ‘Network.URI’ is marked as Trustworthy but has been inferred as safe!
   |
10 | {-# LANGUAGE Trustworthy #-}
   |              ^^^^^^^^^^^

Network/URI/Lens.hs:20:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
20 | import           Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Network/URI/Static.hs:59:34: error:
    • Couldn't match type: Language.Haskell.TH.Syntax.Code m1 URI
                     with: Language.Haskell.TH.Syntax.Q
                             (Language.Haskell.TH.Syntax.TExp URI)
      Expected: TExpQ URI
        Actual: Language.Haskell.TH.Syntax.Code m1 URI
    • In the Template Haskell quotation [|| u ||]
      In the expression: [|| u ||]
      In an equation for ‘staticURI’:
          staticURI (parseURI -> Just u) = [|| u ||]
   |
59 | staticURI (parseURI -> Just u) = [|| u ||]
   |                                  ^^^^^^^^^

Network/URI/Static.hs:112:64: error:
    • Couldn't match type: Language.Haskell.TH.Syntax.Code m0 URI
                     with: Language.Haskell.TH.Syntax.Q
                             (Language.Haskell.TH.Syntax.TExp URI)
      Expected: TExpQ URI
        Actual: Language.Haskell.TH.Syntax.Code m0 URI
    • In the Template Haskell quotation [|| ref ||]
      In the expression: [|| ref ||]
      In an equation for ‘staticRelativeReference’:
          staticRelativeReference (parseRelativeReference -> Just ref)
            = [|| ref ||]
    |
112 | staticRelativeReference (parseRelativeReference -> Just ref) = [|| ref ||]
    |                                                                ^^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", "--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 707
	Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25


Cheers
-- 
Sebastian Ramacher



More information about the Pkg-haskell-maintainers mailing list