Bug#1054836: haskell-cipher-des: 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:39 BST 2023


Source: haskell-cipher-des
Version: 0.0.6-11
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-cipher-des-doc.substvars
> dh_installdirs -plibghc-cipher-des-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 2] Compiling Main             ( Setup.hs, Setup.o )
> [2 of 2] Linking debian/hlibrary.setup
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/bFTy0iCrr_ -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-cipher-des-dev
> libghc-cipher-des-prof
> libghc-cipher-des-doc
> Running dh_listpackages
> libghc-cipher-des-dev
> libghc-cipher-des-prof
> libghc-cipher-des-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/cipher-des-0.0.6/ --datasubdir=cipher-des --htmldir=/usr/share/doc/libghc-cipher-des-doc/html/ --enable-library-profiling --enable-tests
> Using Parsec parser
> Configuring cipher-des-0.0.6...
> Dependency base >=4 && <5: using base-4.17.2.0
> Dependency byteable: using byteable-0.1.1
> Dependency bytestring: using bytestring-0.11.5.2
> Dependency crypto-cipher-types >=0.0.3 && <0.1: using
> crypto-cipher-types-0.0.9
> Dependency securemem >=0.1.2: using securemem-0.1.10
> Dependency QuickCheck >=2: using QuickCheck-2.14.3
> Dependency base >=4 && <5: using base-4.17.2.0
> Dependency byteable: using byteable-0.1.1
> Dependency bytestring: using bytestring-0.11.5.2
> Dependency cipher-des: using cipher-des-0.0.6
> Dependency crypto-cipher-tests: using crypto-cipher-tests-0.0.11
> Dependency crypto-cipher-types: using crypto-cipher-types-0.0.9
> Dependency test-framework >=0.3.3: using test-framework-0.8.2.0
> Dependency test-framework-quickcheck2 >=0.2.9: using
> test-framework-quickcheck2-0.3.0.5
> Source component graph:
>     component lib
>     component test:test-cipher-des dependency lib
> Configured component graph:
>     component cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         include base-4.17.2.0
>         include byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         include bytestring-0.11.5.2
>         include crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         include securemem-0.1.10-5ic4bqTTxHpA1HhPdeWrry
>     component cipher-des-0.0.6-LRlg3iCQt0pAHr1Tw5qsmu-test-cipher-des
>         include QuickCheck-2.14.3-BmeqZc5o1KN1SLTJnQ4VO3
>         include base-4.17.2.0
>         include byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         include bytestring-0.11.5.2
>         include cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         include crypto-cipher-tests-0.0.11-ysUaALYTD36Xq3Jys2hGc
>         include crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         include test-framework-0.8.2.0-3iFahy3v2iClaMAyMHfWA
>         include test-framework-quickcheck2-0.3.0.5-4BHchnnNAoZ8GoDQFSXhMG
> Linked component graph:
>     unit cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         include base-4.17.2.0
>         include byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         include bytestring-0.11.5.2
>         include crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         include securemem-0.1.10-5ic4bqTTxHpA1HhPdeWrry
>         Crypto.Cipher.DES=cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH:Crypto.Cipher.DES,Crypto.Cipher.TripleDES=cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH:Crypto.Cipher.TripleDES
>     unit cipher-des-0.0.6-LRlg3iCQt0pAHr1Tw5qsmu-test-cipher-des
>         include QuickCheck-2.14.3-BmeqZc5o1KN1SLTJnQ4VO3
>         include base-4.17.2.0
>         include byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         include bytestring-0.11.5.2
>         include cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         include crypto-cipher-tests-0.0.11-ysUaALYTD36Xq3Jys2hGc
>         include crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         include test-framework-0.8.2.0-3iFahy3v2iClaMAyMHfWA
>         include test-framework-quickcheck2-0.3.0.5-4BHchnnNAoZ8GoDQFSXhMG
> Ready component graph:
>     definite cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         depends base-4.17.2.0
>         depends byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         depends bytestring-0.11.5.2
>         depends crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         depends securemem-0.1.10-5ic4bqTTxHpA1HhPdeWrry
>     definite cipher-des-0.0.6-LRlg3iCQt0pAHr1Tw5qsmu-test-cipher-des
>         depends QuickCheck-2.14.3-BmeqZc5o1KN1SLTJnQ4VO3
>         depends base-4.17.2.0
>         depends byteable-0.1.1-IqNqKPqTApI9aYZC1xb5GB
>         depends bytestring-0.11.5.2
>         depends cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
>         depends crypto-cipher-tests-0.0.11-ysUaALYTD36Xq3Jys2hGc
>         depends crypto-cipher-types-0.0.9-7QznYxW7ATC1a01iQPlbfE
>         depends test-framework-0.8.2.0-3iFahy3v2iClaMAyMHfWA
>         depends test-framework-quickcheck2-0.3.0.5-4BHchnnNAoZ8GoDQFSXhMG
> 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/cipher-des-0.0.6-J4iJofhZDV4El4dC7oG1HH
> 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/cipher-des-0.0.6
> Data files installed in: /usr/share/cipher-des
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.4.7/cipher-des-0.0.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 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-cipher-des-dev
> libghc-cipher-des-prof
> libghc-cipher-des-doc
> Preprocessing library for cipher-des-0.0.6..
> Building library for cipher-des-0.0.6..
> [1 of 4] Compiling Crypto.Cipher.DES.Primitive ( Crypto/Cipher/DES/Primitive.hs, dist-ghc/build/Crypto/Cipher/DES/Primitive.o, dist-ghc/build/Crypto/Cipher/DES/Primitive.dyn_o )
> [2 of 4] Compiling Crypto.Cipher.DES.Serialization ( Crypto/Cipher/DES/Serialization.hs, dist-ghc/build/Crypto/Cipher/DES/Serialization.o, dist-ghc/build/Crypto/Cipher/DES/Serialization.dyn_o )
> 
> Crypto/Cipher/DES/Serialization.hs:24:49: error:
>     Module ‘Data.ByteString.Internal’ does not export ‘inlinePerformIO’
>    |
> 24 | import qualified Data.ByteString.Internal as B (inlinePerformIO, unsafeCreate)
>    |                                                 ^^^^^^^^^^^^^^^
> -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-cipher-des_0.0.6-11_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