[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: shared-lib-without-dependency-information / no autopackage test



On Thu, 27 Feb 2020 21:27:59 +0900, Hideki Yamane wrote:

>  1. lintian warning
> 
> > W: libarray-base-perl: shared-lib-without-dependency-information usr/lib/x86_64-linux-gnu/perl5/5.30/auto/Array/Base/Base.so
>  How to specify to be it as shared object? (-shared)

I have no answer to that question but I have also seen this
phenomenon recently in other package; and I would also like to that
1) what change in the toolchain is the cause and 2) if this is a
problem
 
>  2. no autopkgtest
> 
> > autopkgtest [11:55:34]: testing package libarray-base-perl version 0.006-1
> > *                    SKIP no tests in this package
> > autopkgtest [11:55:34]: @@@@@@@@@@@@@@@@@@@@ summary
> > *                    SKIP no tests in this package
> 
>  Of cource there's t/ directory and runs tests well.

The smoke test in autopkgtest works fine here; if it's not run then
my first guess is that you don't have autodep8 installed.
(Or an outdated autopkgtest or an outdated autodep8.)
But as you have no "autodep8-perl*" output I guess autodep8 is just
missing in your setup.

syntax.t also passes but use.t fails:

autopkgtest [19:40:46]: test autodep8-perl: /usr/share/pkg-perl-autopkgtest/runner runtime-deps
autopkgtest [19:40:46]: test autodep8-perl: [-----------------------

#   Failed test ' /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 106.

#   Failed test ' /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 108.

#   Failed test 'env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 106.

#   Failed test 'env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 108.
# Looks like you failed 4 tests of 4.
/usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 
1..4
# Usage: Array::Base::import(classname, base).
# BEGIN failed--compilation aborted.
not ok 1 -  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully
not ok 2 -  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output
# Usage: Array::Base::import(classname, base).
# BEGIN failed--compilation aborted.
not ok 3 - env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully
not ok 4 - env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests 

Test Summary Report
-------------------
/usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t (Wstat: 1024 Tests: 4 Failed: 4)
  Failed tests:  1-4
  Non-zero exit status: 4
Files=1, Tests=4,  1 wallclock secs ( 0.03 usr  0.01 sys +  0.18 cusr  0.04 csys =  0.26 CPU)
Result: FAIL
autopkgtest [19:40:47]: test autodep8-perl: -----------------------]
autopkgtest [19:40:47]: test autodep8-perl:  - - - - - - - - - - results - - - - - - - - - -
autodep8-perl        FAIL non-zero exit status 1
autopkgtest [19:40:47]: test autodep8-perl:  - - - - - - - - - - stderr - - - - - - - - - -

#   Failed test ' /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 106.

#   Failed test ' /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 108.

#   Failed test 'env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 exited successfully'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 106.

#   Failed test 'env PERL_DL_NONLAZY=1  /usr/bin/perl -w -M"Array::Base" -e 1 2>&1 produced no (non-whitelisted) output'
#   at /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t line 108.
# Looks like you failed 4 tests of 4.
autopkgtest [19:40:47]:  - - - - - - - - - - running shell - - - - - - - - - -
…
autodep8-perl-build-deps PASS
autodep8-perl        FAIL non-zero exit status 1
autodep8-perl-recommends PASS (superficial)

So this needs more work; cf. https://perl-team.pages.debian.net/autopkgtest.html

Another issue which I noted is

dpkg-source: warning: ignoring deletion of file META.yml, use --include-removal to override
dpkg-source: warning: ignoring deletion of file SIGNATURE, use --include-removal to override
dpkg-source: warning: ignoring deletion of file META.json, use --include-removal to override

This comes from the upstream .gitignore and can be fixed (for the
next import) with

# debian/gbp.conf
[import-orig]
filter = .gitignore

Also
P: libarray-base-perl source: co-maintained-package-with-no-vcs-fields
:)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Kurt Ostbahn & Die Kombo: 6 x fia nix

Attachment: signature.asc
Description: Digital Signature


Reply to: