Bug#1020175: haskell-x509-util: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

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


Source: haskell-x509-util
Version: 1.6.6-1
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/s_91iwq6i_ -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> x509-util
> Running dh_listpackages
> x509-util
> 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/x509-util-1.6.6/ --datasubdir=x509-util --htmldir=/usr/share/doc/libghc-x509-util-doc/html/
> Using Parsec parser
> Configuring x509-util-1.6.6...
> Dependency asn1-encoding: using asn1-encoding-0.9.6
> Dependency asn1-types >=0.3: using asn1-types-0.3.4
> Dependency base >=3 && <5: using base-4.15.1.0
> Dependency bytestring: using bytestring-0.10.12.1
> Dependency cryptonite: using cryptonite-0.29
> Dependency directory: using directory-1.3.6.2
> Dependency hourglass: using hourglass-0.2.12
> Dependency memory: using memory-0.16.0
> Dependency pem: using pem-0.2.4
> Dependency x509 >=1.7.1: using x509-1.7.7
> Dependency x509-store: using x509-store-1.6.9
> Dependency x509-system: using x509-system-1.6.7
> Dependency x509-validation >=1.6.3: using x509-validation-1.6.12
> Source component graph: component exe:x509-util
> Configured component graph:
>     component x509-util-1.6.6-3cqwrMpKg1X9JHalN54zOI-x509-util
>         include asn1-encoding-0.9.6-3rEArnx6cDE5PHmDOtT36T
>         include asn1-types-0.3.4-35BhdWMvvLYBzQFoLYK8MI
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include cryptonite-0.29-9dz70ZfwSaEDWCT7KPKlae
>         include directory-1.3.6.2
>         include hourglass-0.2.12-DwyifQeisb8FQKFMzbnLSL
>         include memory-0.16.0-7LCNglcAthMAhBVKSRiDKq
>         include pem-0.2.4-9arnBVyM0N3Hp14ODWtMID
>         include x509-1.7.7-2oBFWf8D9ofDizZPM6kpQm
>         include x509-store-1.6.9-IJc7uLeZRmnETGZHjIz48w
>         include x509-system-1.6.7-B86sN44pgA423ZAwGJtpAy
>         include x509-validation-1.6.12-KVaB27b1fN7IjXYYqazRK
> Linked component graph:
>     unit x509-util-1.6.6-3cqwrMpKg1X9JHalN54zOI-x509-util
>         include asn1-encoding-0.9.6-3rEArnx6cDE5PHmDOtT36T
>         include asn1-types-0.3.4-35BhdWMvvLYBzQFoLYK8MI
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include cryptonite-0.29-9dz70ZfwSaEDWCT7KPKlae
>         include directory-1.3.6.2
>         include hourglass-0.2.12-DwyifQeisb8FQKFMzbnLSL
>         include memory-0.16.0-7LCNglcAthMAhBVKSRiDKq
>         include pem-0.2.4-9arnBVyM0N3Hp14ODWtMID
>         include x509-1.7.7-2oBFWf8D9ofDizZPM6kpQm
>         include x509-store-1.6.9-IJc7uLeZRmnETGZHjIz48w
>         include x509-system-1.6.7-B86sN44pgA423ZAwGJtpAy
>         include x509-validation-1.6.12-KVaB27b1fN7IjXYYqazRK
> Ready component graph:
>     definite x509-util-1.6.6-3cqwrMpKg1X9JHalN54zOI-x509-util
>         depends asn1-encoding-0.9.6-3rEArnx6cDE5PHmDOtT36T
>         depends asn1-types-0.3.4-35BhdWMvvLYBzQFoLYK8MI
>         depends base-4.15.1.0
>         depends bytestring-0.10.12.1
>         depends cryptonite-0.29-9dz70ZfwSaEDWCT7KPKlae
>         depends directory-1.3.6.2
>         depends hourglass-0.2.12-DwyifQeisb8FQKFMzbnLSL
>         depends memory-0.16.0-7LCNglcAthMAhBVKSRiDKq
>         depends pem-0.2.4-9arnBVyM0N3Hp14ODWtMID
>         depends x509-1.7.7-2oBFWf8D9ofDizZPM6kpQm
>         depends x509-store-1.6.9-IJc7uLeZRmnETGZHjIz48w
>         depends x509-system-1.6.7-B86sN44pgA423ZAwGJtpAy
>         depends x509-validation-1.6.12-KVaB27b1fN7IjXYYqazRK
> 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/x509-util-1.6.6
> 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/x509-util-1.6.6
> Data files installed in: /usr/share/x509-util
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/x509-util-1.6.6
> 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
> x509-util
> Preprocessing executable 'x509-util' for x509-util-1.6.6..
> Building executable 'x509-util' for x509-util-1.6.6..
> [1 of 1] Compiling Main             ( src/Certificate.hs, dist-ghc/build/x509-util/x509-util-tmp/Main.o )
> Linking dist-ghc/build/x509-util/x509-util ...
> 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/x509-util.substvars
> dh_installdirs -px509-util \
> 	
> dh_haskell_description --package=x509-util
> 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
> dh_haskell_compiler --package=x509-util
> Running dpkg-query --showformat=${Version} --show ghc
> 9.0.2-3
> make: *** No rule to make target 'debian/tmp-inst-ghc', needed by 'install/x509-util'.  Stop.
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2022-09-17T20:03:48Z


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/haskell-x509-util_1.6.6-1_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