Bug#1020182: haskell-snap-templates: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:52:02 BST 2022


Source: haskell-snap-templates
Version: 1.0.0.2-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

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
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/ySHYl8BN9I -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> snap-templates
> Running dh_listpackages
> snap-templates
> 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/snap-templates-1.0.0.2/ --datasubdir=snap-templates --htmldir=/usr/share/doc/libghc-snap-templates-doc/html/
> Using Parsec parser
> Configuring snap-templates-1.0.0.2...
> Dependency base >=4 && <5: using base-4.15.1.0
> Dependency bytestring >=0.9.1 && <0.11: using bytestring-0.10.12.1
> Dependency containers >=0.3 && <0.7: using containers-0.6.4.1
> Dependency directory >=1.0 && <1.4: using directory-1.3.6.2
> Dependency directory-tree >=0.11 && <0.13: using directory-tree-0.12.1
> Dependency filepath >=1.1 && <1.5: using filepath-1.4.2.1
> Dependency hashable >=1.1 && <1.2 || >=1.2.0.6: using hashable-1.3.5.0
> Dependency old-time >=1.0 && <1.2: using old-time-1.1.0.3
> Dependency template-haskell >=2.2: using template-haskell-2.17.0.0
> Dependency text >=0.11 && <1.3: using text-1.2.5.0
> Source component graph: component exe:snap-framework
> Configured component graph:
>     component snap-templates-1.0.0.2-F1OLRgoCayIGsrw9CgJoSY-snap-framework
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include directory-1.3.6.2
>         include directory-tree-0.12.1-DpT9UL80Xv2Zg1aSQf15J
>         include filepath-1.4.2.1
>         include hashable-1.3.5.0-Hd8HSYZ7DN8KsO4HNlPmYP
>         include old-time-1.1.0.3-D3KB6uNmflqA06cSG4cOW8
>         include template-haskell-2.17.0.0
>         include text-1.2.5.0
> Linked component graph:
>     unit snap-templates-1.0.0.2-F1OLRgoCayIGsrw9CgJoSY-snap-framework
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include directory-1.3.6.2
>         include directory-tree-0.12.1-DpT9UL80Xv2Zg1aSQf15J
>         include filepath-1.4.2.1
>         include hashable-1.3.5.0-Hd8HSYZ7DN8KsO4HNlPmYP
>         include old-time-1.1.0.3-D3KB6uNmflqA06cSG4cOW8
>         include template-haskell-2.17.0.0
>         include text-1.2.5.0
> Ready component graph:
>     definite snap-templates-1.0.0.2-F1OLRgoCayIGsrw9CgJoSY-snap-framework
>         depends base-4.15.1.0
>         depends bytestring-0.10.12.1
>         depends containers-0.6.4.1
>         depends directory-1.3.6.2
>         depends directory-tree-0.12.1-DpT9UL80Xv2Zg1aSQf15J
>         depends filepath-1.4.2.1
>         depends hashable-1.3.5.0-Hd8HSYZ7DN8KsO4HNlPmYP
>         depends old-time-1.1.0.3-D3KB6uNmflqA06cSG4cOW8
>         depends template-haskell-2.17.0.0
>         depends text-1.2.5.0
> Using Cabal-3.4.1.0 compiled by ghc-9.0
> Using compiler: ghc-9.0.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/snap-templates-1.0.0.2
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.0.2/snap-templates-1.0.0.2
> Data files installed in: /usr/share/snap-templates
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/snap-templates-1.0.0.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 12 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.0.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.0.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.25.1 found on system at: /usr/bin/haddock
> 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
> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
> 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.0.2 found on system at: /usr/bin/runghc
> Using strip version 2.38 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
> snap-templates
> Preprocessing executable 'snap-framework' for snap-templates-1.0.0.2..
> Building executable 'snap-framework' for snap-templates-1.0.0.2..
> [1 of 2] Compiling Snap.StarterTH   ( src/Snap/StarterTH.hs, dist-ghc/build/snap-framework/snap-framework-tmp/Snap/StarterTH.o, dist-ghc/build/snap-framework/snap-framework-tmp/Snap/StarterTH.dyn_o )
> [2 of 2] Compiling Main             ( src/Snap/Starter.hs, dist-ghc/build/snap-framework/snap-framework-tmp/Main.o, dist-ghc/build/snap-framework/snap-framework-tmp/Main.dyn_o )
> Linking dist-ghc/build/snap-framework/snap-framework ...
> touch build-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'check_recipe'
> DEB_ENABLE_TESTS not set to yes, not running any build-time tests.
> touch check-ghc-stamp
> Adding cdbs dependencies to debian/snap-templates.substvars
> dh_installdirs -psnap-templates \
> 	
> dh_haskell_description --package=snap-templates
> Running grep-dctrl --no-field-names --show-field=Description --field=Source --regex .* debian/control
> Running grep-dctrl --no-field-names --show-field=X-Description --field=Source --regex .* debian/control
> scaffolding CLI for the Snap Framework
>  This is the Scaffolding CLI for the official Snap Framework libraries.
>  It includes:
>  .
>   * The "snap-framework" executable program for generating starter projects
>  .
>  To get started, issue the following sequence of commands:
>  .
>   $ apt-get install snap-templates
>   $ mkdir myproject
>   $ cd myproject
>   $ snap-framework init
> dh_haskell_compiler --package=snap-templates
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/snap-templates'.  Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T20:02:30Z


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/haskell-snap-templates_1.0.0.2-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&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 marking 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