Discussion:
Bug#915060: link-grammar: autopkgtest relies on built binaries without matching dependencies
Rene Engelhard
2018-11-29 22:22:35 UTC
Permalink
Source: link-grammar
Version: 5.5.0-1
Severity: serious

Hi,

$ cat debian/tests/control
Tests: unit-tests
Depends: @, python3-distutils, build-essential, hunspell-en-us, locales-all,
default-jdk [!hppa !hurd-i386 !m68k !sh4],
Restrictions: build-needed

So far so good.

But that means that in the testing migration autopkgtests this breaks when
there is a hunspell transition.

See e.g. https://ci.debian.net/data/autopkgtest/testing/amd64/l/link-grammar/1399248/log.gz

What seems to happen (correct me if I am wrong) is:

1. link-grammar gets built. Because the autopkgtest injects libhunspell 1.7 somehow into the
build this one is built against libhunspell-1.7.

2. Now the test packages get installed in a clean environment. Because you just say "@" you get
the dependencies from your own package (libhunspell-1.6) , not the built one (as should be, indeed)

3. The test now fails because it cannot open the libhunspell-1.7.so.0 because what was installed for
2. was just libhunspell-1.6.

Maybe you want to add at least @builddeps@? But that would only hide the problem...

Regards,

Rene
Debian Bug Tracking System
2018-11-30 06:06:06 UTC
Permalink
Your message dated Fri, 30 Nov 2018 06:04:04 +0000
with message-id <E1gSbuG-000Bf4-***@fasolo.debian.org>
and subject line Bug#915060: fixed in link-grammar 5.5.1-4
has caused the Debian Bug report #915060,
regarding link-grammar: autopkgtest relies on built binaries without matching dependencies
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
915060: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915060
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...