Bug#1126208: haskell-lens: FTBFS: dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
Santiago Vila
sanvila at debian.org
Fri Jan 23 11:37:28 GMT 2026
Package: src:haskell-lens
Version: 5.3.5-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202601/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:haskell-lens, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=haskell
Running rm -rf dist dist-ghc dist-ghcjs dist-hugs debian/tmp-setup-hs
Running rm -f debian/hlibrary.setup
Running rm -f Setup.hi Setup.ho Setup.o
Running rm -f
Running rm -rf debian/tmp-db
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=haskell
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
Running find . ! -newer /tmp/zfrxwy9ucE -exec touch -d 1998-01-01 UTC {} ;
Running dh_listpackages
libghc-lens-dev
libghc-lens-prof
libghc-lens-doc
Running dh_listpackages
libghc-lens-dev
libghc-lens-prof
libghc-lens-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/lens-5.3.5/ --datasubdir=lens --htmldir=/usr/share/doc/libghc-lens-doc/html/ --enable-library-profiling -f-test-hlint -f-test-doctests --enable-tests
Non-zero exit code 1.
Using Parsec parser
Configuring lens-5.3.5...
Error: [Cabal-8010]
Encountered missing or private dependencies:
tasty >=1.4 && <1.6, tasty-hunit >=0.10 && <0.11
CallStack (from HasCallStack):
dieWithException, called at libraries/Cabal/Cabal/src/Distribution/Simple/Configure.hs:1457:11 in Cabal-3.12.1.0-7f1d:Distribution.Simple.Configure
make: *** [debian/rules:25: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-haskell-maintainers
mailing list