Bug#911536: haskell-hoogle: autopkgtest install-remove needs to be smarter

Paul Gevers elbrus at debian.org
Sun Oct 21 17:34:52 BST 2018


Source: haskell-hoogle
Version: 5.0.17.3+dfsg1-5
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: needs-update

Dear maintainers,

With a recent upload of the haskell stack the autopkgtest of
haskell-hoogle fails in testing when that autopkgtest is run with binary
packages from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
haskell-hoogle         from testing    5.0.17.3+dfsg1-5
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. A part of the
problem is that your test depends on libghc-setlocale-doc, but doesn't
set that in the test dependencies. As such, britney2 and autopkgtest
can't ensure that your test has a version of libghc-setlocale-doc
available that it can install. In this case, only libghc-setlocale-doc
from unstable seems compatible with the other packages from unstable.
But because it isn't in the test dependencies, autopkgtest doesn't make
it available. Normally we advice strongly against using apt-get in
tests, unless it is the purpose of the package to actually do stuff like
that. From a quick glance is seems that that is the case for
haskell-hoogle. Please add libghc-setlocale-doc to the test dependencies
and update the script to do the right thing for libghc-setlocale-doc
being installed.

Currently this regression is contributing to the delay of the migration
of loads of haskell packages to testing [1].

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
haskell-js-jquery/3.3.1-2. I.e. due to versioned dependencies or
breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=haskell-js-jquery

https://ci.debian.net/data/autopkgtest/testing/amd64/h/haskell-hoogle/1186891/log.gz

autopkgtest [04:47:00]: test install-remove: [-----------------------
Reading package lists...
Building dependency tree...
Reading state information...
Package 'libghc-setlocale-doc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libghc-setlocale-doc : Depends: haddock-interface-31
E: Unable to correct problems, you have held broken packages.
autopkgtest [04:47:02]: test install-remove: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20181021/6eca44b0/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list