Bug#954190: dh-runit: FTBFS on armhf due to shake testsuite failure

2020-07-02 Thread Lorenzo Puliti
Package: src:dh-runit
Followup-For: Bug #954190

This is probably a bug in libghc-shake-dev, for example the changelog of
haskell-shake that says
' * Disable testsuite on armhf, fails on Ubuntu builders, probably
due to a misalignment bug due to 64bit kernel. '



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)



Bug#954190: dh-runit: FTBFS on armhf due to shake testsuite failure

2020-03-17 Thread Lorenzo Puliti
Package: dh-runit
Version: 2.8.15
Severity: serious
Tags: ftbfs
Justification: fails to build from source

According to build logs dh-runit FTBFS, but only on armhf. This is because
the testsuite exits nonzero. I can reproduce the error in the log [1]
inside an armhf chroot (created with debootstrap), but not on other 
architectures (amd64). 

To reproduce there is no need to build the package, just download dh-runit 
source inside
the chroot, make sure build-dep are installed, then do

root@lorenz:/home/extra/dh-runit-2.8.15# ghc testrunner.hs 
[1 of 1] Compiling Main ( testrunner.hs, testrunner.o )
Linking testrunner ...

root@lorenz:/home/extra/dh-runit-2.8.15# ./testrunner 
Error when reading Shake database .shake/.shake.database
  Witness type has disappeared, StepKey {4f23698ed1fc9a1a}
  CallStack (from HasCallStack):
error, called at src/Development/Shake/Internal/Core/Storage.hs:191:40 in 
shake-0.16.4-1RhwnB79ZHh8eiw92e7jMZ:Development.Shake.Internal.Core.Storage
All files will be rebuilt

# tar (for t/out/935997.tar)
# mv (for t/out/935997.tar)
# rm (for t/out/935997.log)
# mkdir (for t/out/935997.log)
[ and the test continue till the end]

Dear libghc-shake-dev maintainer, 
I'm not knowledgeble of shake: is this likely a bug in shake or a bug that 
need a fix on dh-runit side?

Thanks,
Lorenzo

[1] 
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/armhf/dh-runit.html


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.9-van (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages dh-runit depends on:
ii  debhelper12.9
ii  libfile-copy-recursive-perl  0.45-1
ii  libfile-slurp-perl   .29-1
ii  libtext-hogan-perl   2.01-1

dh-runit recommends no packages.

dh-runit suggests no packages.

-- no debconf information