Bug#948167: plplot: autopkgtest regression on arm64: /usr/lib/x86_64-linux-gnu/libm.so: No such file or directory

Rafael Laboissière rafael at debian.org
Sun Jan 5 09:32:05 GMT 2020


* Paul Gevers <elbrus at debian.org> [2020-01-04 21:47]:

> Source: plplot
> Version: 5.15.0+dfsg-10
> X-Debbugs-CC: debian-ci at lists.debian.org
> Severity: serious
> User: debian-ci at lists.debian.org
> Usertags: regression
>
> Dear maintainers,
>
> With a recent upload of plplot the autopkgtest of plplot fails in 
> testing on arm64 when that autopkgtest is run with the binary packages 
> of plplot from unstable. It passes when run with only packages from 
> testing. In tabular form: 
>                       pass            fail 
> plplot                 from testing    5.15.0+dfsg-10 
> all others             from testing    from testing
>
> I copied some of the output at the bottom of this report. The same error 
> message is present in older versions, but this time the test actually 
> fails on it.
>
> Currently this regression is blocking the migration to testing [1]. Can 
> you please investigate the situation and fix it?
>
> More information about this bug and the reason for filing it can be found on 
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
>
> Paul
>
> [1] https://qa.debian.org/excuses.php?package=plplot
>
> https://ci.debian.net/data/autopkgtest/testing/arm64/p/plplot/3862955/log.gz 
> autopkgtest [01:14:56]: test plplot-test: [----------------------- 
> cd c; make 
> make[1]: Entering directory 
> '/tmp/autopkgtest-lxc.jq53ogp7/downtmp/autopkgtest_tmp/c' 
> /usr/bin/cc  -g -O2 
> -fdebug-prefix-map=/build/plplot-KD6Nbq/plplot-5.15.0+dfsg=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 
> -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave 
> -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/octave-5.1.0/octave/.. 
> -I/usr/include/octave-5.1.0/octave x00c.c -o x00c  -I/usr/include/plplot 
> -lplplot /usr/lib/x86_64-linux-gnu/libm.so 
> cc: error: /usr/lib/x86_64-linux-gnu/libm.so: No such file or directory 
> make[1]: *** [Makefile:97: x00c] Error 1 
> make[1]: Leaving directory 
> '/tmp/autopkgtest-lxc.jq53ogp7/downtmp/autopkgtest_tmp/c' 
> make: *** [Makefile:31: c/x01c] Error 2 
> autopkgtest [01:14:56]: test plplot-test: -----------------------]

Thanks for this bug report, Paul.

This bug is caused by commit d8ce3ed [1], pushed more than a year ago to 
the Git repository.  In this commit, all examples sources were moved into 
the plplot-doc package, which is Arch:all.  However, the files under the 
examples directory (mainly the Makefiles) are hardcoded for use in a 
specific architecture (namely x86_64-linux-gnu).

I am putting Ole Streicher, the author of the commit, in Cc to this 
reply.

Reverting the commit would fix the present bug, but will introduce the 
bad side effect of making debian/tests/plplot-test fail.  This unit test 
script has the line:

    cp -r /usr/share/doc/plplot-doc/examples/* .

Reverting the commit would scatter back the example file across several 
packages and it will be difficult to adjust plplot-test for that.

A "simple" solution would be to create a new package plplot-examples, with 
Arch:any, containing the examples/ directory that is currently in 
/usr/share/doc/plplot-doc/.

@Ole: would you agree with this change?

Best,

Rafael Laboissière

[1] https://salsa.debian.org/science-team/plplot/commit/d8ce3ed802eccecef8583d03a25712069f0643d2



More information about the debian-science-maintainers mailing list