Bug#1125644: haskell-with-location: FTBFS: Test suite spec: FAIL
Santiago Vila
sanvila at debian.org
Thu Jan 15 16:54:10 GMT 2026
Package: src:haskell-with-location
Version: 0.1.0-10
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-with-location, 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/XuntNDA2Us -exec touch -d 1998-01-01 UTC {} ;
Running dh_listpackages
libghc-with-location-dev
libghc-with-location-prof
libghc-with-location-doc
Running dh_listpackages
libghc-with-location-dev
libghc-with-location-prof
libghc-with-location-doc
Running dpkg-buildflags --get LDFLAGS
-Wl,-z,relro -fcf-protection
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 --ghc-option=-optl-fcf-protection --haddockdir=/usr/lib/ghc-doc/haddock/with-location-0.1.0/ --datasubdir=with-location --htmldir=/usr/share/doc/libghc-with-location-doc/html/ --enable-library-profiling --enable-tests
Using Parsec parser
Configuring with-location-0.1.0...
Dependency base >=4 && <5: using base-4.20.2.0
Dependency base >=4 && <5: using base-4.20.2.0
Dependency hspec: using hspec-2.11.16
Dependency with-location: using with-location-0.1.0
Source component graph:
component lib
component test:spec dependency lib
Configured component graph:
component with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
include base-4.20.2.0-d92c
component with-location-0.1.0-Age9XpXrdbQ6U7L8r4Z0gT-spec
include base-4.20.2.0-d92c
include hspec-2.11.16-1MnpGjwOmALHd1KzsSMfy
include with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
Linked component graph:
unit with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
include base-4.20.2.0-d92c
Data.WithLocation=with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9:Data.WithLocation
unit with-location-0.1.0-Age9XpXrdbQ6U7L8r4Z0gT-spec
include base-4.20.2.0-d92c
include hspec-2.11.16-1MnpGjwOmALHd1KzsSMfy
include with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
Ready component graph:
definite with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
depends base-4.20.2.0-d92c
definite with-location-0.1.0-Age9XpXrdbQ6U7L8r4Z0gT-spec
depends base-4.20.2.0-d92c
depends hspec-2.11.16-1MnpGjwOmALHd1KzsSMfy
depends with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
Using Cabal-3.12.1.0 compiled by ghc-9.10
Using compiler: ghc-9.10.3
Using install prefix: /usr
Executables installed in: /usr/bin
Libraries installed in:
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-2b2a/with-location-0.1.0-1gmhNAMC8e7mBEoorSTu9
Dynamic Libraries installed in:
/usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.10.3-2b2a
Private executables installed in:
/usr/lib/x86_64-linux-ghc-9.10.3-2b2a/with-location-0.1.0
Data files installed in: /usr/share/with-location
Documentation installed in:
/usr/share/doc/x86_64-linux-ghc-9.10.3-2b2a/with-location-0.1.0
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 15 found on system at: /usr/bin/x86_64-linux-gnu-gcc
Using ghc version 9.10.3 found on system at: /usr/bin/ghc
Using ghc-pkg version 9.10.3 found on system at: /usr/bin/ghc-pkg-9.10.3
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.31.1 found on system at: /usr/bin/haddock-ghc-9.10.3
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.69 found on system at: /usr/bin/hpc-ghc-9.10.3
Using hsc2hs version 0.68.10 found on system at: /usr/bin/hsc2hs-ghc-9.10.3
Using hscolour version 1.25 found on system at: /usr/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No pkg-config found
Using runghc version 9.10.3 found on system at: /usr/bin/runghc-9.10.3
Using strip version 2.45 found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
dh_auto_build --buildsystem=haskell
Running dh_listpackages
libghc-with-location-dev
libghc-with-location-prof
libghc-with-location-doc
Preprocessing library for with-location-0.1.0...
Building library for with-location-0.1.0...
[1 of 1] Compiling Data.WithLocation ( src/Data/WithLocation.hs, dist-ghc/build/Data/WithLocation.o, dist-ghc/build/Data/WithLocation.dyn_o )
[1 of 1] Compiling Data.WithLocation ( src/Data/WithLocation.hs, dist-ghc/build/Data/WithLocation.p_o )
Preprocessing test suite 'spec' for with-location-0.1.0...
Building test suite 'spec' for with-location-0.1.0...
[1 of 2] Compiling Data.WithLocationSpec ( test/Data/WithLocationSpec.hs, dist-ghc/build/spec/spec-tmp/Data/WithLocationSpec.o )
[2 of 2] Compiling Main ( test/Spec.hs, dist-ghc/build/spec/spec-tmp/Main.o )
[3 of 3] Linking dist-ghc/build/spec/spec
Running dh_listpackages
libghc-with-location-dev
libghc-with-location-prof
libghc-with-location-doc
Running debian/hlibrary.setup haddock --builddir=dist-ghc --with-haddock=/usr/bin/haddock --with-ghc=ghc --verbose=2 --html --hoogle --haddock-options="--mathjax=file:///usr/share/javascript/mathjax/MathJax.js" --hyperlink-source
Running: /usr/bin/haddock --version
Running: /usr/bin/ghc --numeric-version
Running: /usr/bin/ghc --print-libdir
Running: /usr/bin/haddock --ghc-version '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
Running: /usr/bin/ghc-pkg-9.10.3 init dist-ghc/package.conf.inplace
creating dist-ghc/build
creating dist-ghc/build/autogen
creating dist-ghc/build/autogen
creating dist-ghc/build/autogen
creating dist-ghc/build/autogen
Preprocessing library for with-location-0.1.0...
Running Haddock on library for with-location-0.1.0...
creating dist-ghc/doc/html/with-location
creating dist-ghc/doc/html
creating dist-ghc/doc
creating dist-ghc/doc/html
creating dist-ghc/doc/html/with-location
Running: /usr/bin/haddock '@dist-ghc/doc/html/with-location/haddock-response265-1.txt' '--mathjax=file:///usr/share/javascript/mathjax/MathJax.js'
[1 of 1] Compiling Data.WithLocation ( src/Data/WithLocation.hs, nothing )
Haddock coverage:
0% ( 0 / 4) in 'Data.WithLocation'
Missing documentation for:
Module header
WithLocation (src/Data/WithLocation.hs:19)
Location (src/Data/WithLocation.hs:24)
location (src/Data/WithLocation.hs:34)
Documentation created: dist-ghc/doc/html/with-location/,
dist-ghc/doc/html/with-location/with-location.txt
Running: /usr/bin/ghc-pkg-9.10.3 recache '--package-db=dist-ghc/package.conf.inplace'
creating dist-ghc/build/spec
creating dist-ghc/build/spec/autogen
creating dist-ghc/build/spec/autogen
creating dist-ghc/build/spec/autogen
creating dist-ghc/build/spec/autogen
Preprocessing test suite 'spec' for with-location-0.1.0...
dh_auto_test --buildsystem=haskell
Running dh_listpackages
libghc-with-location-dev
libghc-with-location-prof
libghc-with-location-doc
Running 1 test suites...
Test suite spec: RUNNING...
Data.WithLocation
location
returns a source location [â]
Failures:
test/Data/WithLocationSpec.hs:13:16:
1) Data.WithLocation.location returns a source location
expected: Just Location {
locationPackage = "main",
locationModule = "Data.WithLocationSpec",
locationFile = "test/Data/WithLocationSpec.hs",
locationLine = 13,
locationColumn = 7
}
but got: Just Location {
locationPackage = "with-location-0.1.0-Age9XpXrdbQ6U7L8r4Z0gT-spec",
locationModule = "Data.WithLocationSpec",
locationFile = "test/Data/WithLocationSpec.hs",
locationLine = 13,
locationColumn = 7
}
To rerun use: --match "/Data.WithLocation/location/returns a source location/" --seed 1914424431
Randomized with seed 1914424431
Finished in 0.0007 seconds
1 example, 1 failure
Test suite spec: FAIL
Test suite logged to: dist-ghc/test/with-location-0.1.0-spec.log
0 of 1 test suites (0 of 1 test cases) passed.
dh_auto_test: error: debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-haskell-maintainers
mailing list