Bug#1054826: haskell-numtype: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
Lucas Nussbaum
lucas at debian.org
Fri Oct 27 20:50:55 BST 2023
Source: haskell-numtype
Version: 1.2-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep
> dh_installdirs -A
> mkdir -p "."
> CDBS WARNING: DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING: DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> Adding cdbs dependencies to debian/libghc-numtype-doc.substvars
> dh_installdirs -plibghc-numtype-doc \
>
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'make_setup_recipe'
> Running ghc --make Setup.lhs -o debian/hlibrary.setup
> [1 of 2] Compiling Main ( Setup.lhs, Setup.o )
> [2 of 2] Linking debian/hlibrary.setup
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'configure_recipe'
> Running find . ! -newer /tmp/IaqP7H8z0z -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-numtype-dev
> libghc-numtype-prof
> libghc-numtype-doc
> Running dh_listpackages
> libghc-numtype-dev
> libghc-numtype-prof
> libghc-numtype-doc
> Running dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/numtype-1.2/ --datasubdir=numtype --htmldir=/usr/share/doc/libghc-numtype-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring numtype-1.2...
> Dependency base <5: using base-4.17.2.0
> Source component graph: component lib
> Configured component graph:
> component numtype-1.2-1TzeWrAXQ9qDnL7XMQvuDI include base-4.17.2.0
> Linked component graph:
> unit numtype-1.2-1TzeWrAXQ9qDnL7XMQvuDI
> include base-4.17.2.0
> Numeric.NumType=numtype-1.2-1TzeWrAXQ9qDnL7XMQvuDI:Numeric.NumType
> Ready component graph:
> definite numtype-1.2-1TzeWrAXQ9qDnL7XMQvuDI depends base-4.17.2.0
> Using Cabal-3.8.1.0 compiled by ghc-9.4
> Using compiler: ghc-9.4.7
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7/numtype-1.2-1TzeWrAXQ9qDnL7XMQvuDI
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.4.7
> Private executables installed in: /usr/lib/x86_64-linux-ghc-9.4.7/numtype-1.2
> Data files installed in: /usr/share/numtype
> Documentation installed in: /usr/share/doc/x86_64-linux-ghc-9.4.7/numtype-1.2
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 13 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.4.7 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.4.7 found on system at: /usr/bin/ghc-pkg-9.4.7
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.27.0 found on system at: /usr/bin/haddock-ghc-9.4.7
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.68 found on system at: /usr/bin/hpc-ghc-9.4.7
> Using hsc2hs version 0.68.8 found on system at: /usr/bin/hsc2hs-ghc-9.4.7
> Using hscolour version 1.24 found on system at: /usr/bin/HsColour
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> No pkg-config found
> Using runghc version 9.4.7 found on system at: /usr/bin/runghc-9.4.7
> Using strip version 2.41 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> -E 'build_recipe'
> Running dh_listpackages
> libghc-numtype-dev
> libghc-numtype-prof
> libghc-numtype-doc
> Preprocessing library for numtype-1.2..
> Building library for numtype-1.2..
> [1 of 1] Compiling Numeric.NumType ( Numeric/NumType.lhs, dist-ghc/build/Numeric/NumType.o, dist-ghc/build/Numeric/NumType.dyn_o )
>
> Numeric/NumType.lhs:293:12: error:
> • Non type-variable argument
> in the constraint: Sum n' (Pos n'') (Pos n)
> • In the instance declaration for ‘Div (Pos n) (Pos n') (Pos n''')’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 293 | > instance ( Sum n' (Pos n'') (Pos n)
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^...
>
> Numeric/NumType.lhs:301:12: error:
> • Non type-variable argument
> in the constraint: Div (Pos p) (Pos p') (Pos p'')
> • In the instance declaration for ‘Div (Neg n) (Neg n') (Pos p'')’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 301 | > instance ( NegTypeI n, NegTypeI n'
> | ^^^^^^^^^^^^^^^^^^^^^^^^^...
>
> Numeric/NumType.lhs:306:12: error:
> • Non type-variable argument
> in the constraint: Div (Pos p) (Pos p') (Pos p'')
> • In the instance declaration for ‘Div (Pos p) (Neg n) (Neg n'')’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 306 | > instance ( NegTypeI n, Negate n p'
> | ^^^^^^^^^^^^^^^^^^^^^^^^^...
>
> Numeric/NumType.lhs:311:12: error:
> • Non type-variable argument
> in the constraint: Div (Pos p') (Pos p) (Pos p'')
> • In the instance declaration for ‘Div (Neg n) (Pos p) (Neg n'')’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 311 | > instance ( NegTypeI n, Negate n p'
> | ^^^^^^^^^^^^^^^^^^^^^^^^^...
>
> Numeric/NumType.lhs:332:12: error:
> • Non type-variable argument in the constraint: Div c (Pos p) a
> • In the instance declaration for ‘Mul a (Pos p) c’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 332 | > instance (NumTypeI a, NumTypeI c, PosTypeI p, Div c (Pos p) a) => Mul a (Pos p) c
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Numeric/NumType.lhs:333:12: error:
> • Non type-variable argument in the constraint: Div c (Neg n) a
> • In the instance declaration for ‘Mul a (Neg n) c’
> Suggested fix: Perhaps you intended to use FlexibleContexts
> |
> 333 | > instance (NumTypeI a, NumTypeI c, NegTypeI n, Div c (Neg n) a) => Mul a (Neg n) c
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
> at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
> Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 610
> Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
> Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 656
> Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/10/27/haskell-numtype_1.2-7_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-haskell-maintainers
mailing list