Tests fail on Gentoo with gnuplot 6.0.2 (ERROR: the gnuplot backend issued an error: line 0: warning: Invalid terminal font size)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- perl
- Domaine
- data-visualization, testing-qa
Piste de recherche
Reproduce the failure with gnuplot 6.0.2 by running the test suite, then start with t/aa.t and the Gnuplot.pm locations reported in the traceback. Compare the terminal-gif test with the version-related checks in t/plot.t; done means the tests complete successfully without the reported backend error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Tests fail on Gentoo with gnuplot 6.0.2:
huettel@kona ~/Gentoo/gentoo/dev-perl/PDL-Graphics-Gnuplot $ ebuild PDL-Graphics-Gnuplot-2.32.0.ebuild clean test
Appending /home/huettel/Gentoo/gentoo to PORTDIR_OVERLAY...
Forcing test.
* PDL-Graphics-Gnuplot-2.032.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking PDL-Graphics-Gnuplot-2.032.tar.gz to /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc CPP=x86_64-pc-linux-gnu-gcc -E LD=x86_64-pc-linux-gnu-gcc NM=x86_64-pc-linux-gnu-nm RANLIB=x86_64-pc-linux-gnu-ranlib OPTIMIZE=-O2 -pipe -march=native LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
Checking if your kit is complete...
Looks good
'CPP' is not a known MakeMaker parameter name.
'NM' is not a known MakeMaker parameter name.
Generating a Unix-style Makefile
Writing Makefile for PDL::Graphics::Gnuplot
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032 ...
make -j13 -l24 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' 'OPTIMIZE=-O2 -pipe -march=native'
cp lib/PDL/Demos/Gnuplot.pm blib/lib/PDL/Demos/Gnuplot.pm
cp lib/PDL/Graphics/Gnuplot.pm blib/lib/PDL/Graphics/Gnuplot.pm
>>> Source compiled.
>>> Test phase: dev-perl/PDL-Graphics-Gnuplot-2.32.0
* Test::Harness Jobs=13
make -j13 -l24 test TEST_VERBOSE=0
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
===( 1;0 1/4 0/? 0/? )=========================================PDL::Graphics::Gnuplot: ERROR: the gnuplot backend issued an error:
line 0: warning: Invalid terminal font size
at /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032/blib/lib/PDL/Graphics/Gnuplot.pm line 7681.
PDL::Graphics::Gnuplot::_checkpoint(PDL::Graphics::Gnuplot=HASH(0x55ab4054d4a0), "main", HASH(0x55ab4054ca50)) called at /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032/blib/lib/PDL/Graphics/Gnuplot.pm line 3314
PDL::Graphics::Gnuplot::plot(undef, "with", "lines", PDL=SCALAR(0x55ab4054cbb8), PDL=SCALAR(0x55ab4054d398)) called at t/aa.t line 34
main::__ANON__() called at /usr/lib64/perl5/vendor_perl/5.40/Test/Builder.pm line 368
eval {...} called at /usr/lib64/perl5/vendor_perl/5.40/Test/Builder.pm line 368
Test::Builder::subtest(Test::Builder=HASH(0x55ab3ecee110), "Terminal gif", CODE(0x55ab3eca0608)) called at /usr/lib64/perl5/vendor_perl/5.40/Test/More.pm line 831
Test::More::subtest("Terminal gif", CODE(0x55ab3eca0608)) called at t/aa.t line 39
# Looks like your test exited with 255 just after 1.
t/aa.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/4 subtests
===( 2;0 0/? 1/? )==============================================#
# P::G::G v2.032, gnuplot v6.0.2, Perl v5.040002, /usr/bin/perl on linux #
t/pdfcairo-output.t .. ok
t/plot.t ............. 12/? Argument "6.0.2" isn't numeric in numeric lt (<) at /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032/blib/lib/PDL/Graphics/Gnuplot.pm line 4161.
t/plot.t ............. 35/? Argument "6.0.2" isn't numeric in numeric ge (>=) at t/plot.t line 183.
Argument "6.0.2" isn't numeric in numeric lt (<) at /var/tmp/portage/dev-perl/PDL-Graphics-Gnuplot-2.32.0/work/PDL-Graphics-Gnuplot-2.032/blib/lib/PDL/Graphics/Gnuplot.pm line 4177.
t/plot.t ............. 52/? Argument "6.0.2" isn't numeric in numeric eq (==) at t/plot.t line 255.
Argument "6.0.2" isn't numeric in numeric lt (<) at t/plot.t line 352.
INFO: Plotting to 'Plot-1.txt'
at t/plot.t line 509.
INFO: Plotting to 'Plot-1.txt'
at t/plot.t line 520.
INFO: Plotting to 'Plot-1.txt'
at t/plot.t line 528.
# ******************************
# Skipping 27 interactive tests.
# Set the environment variable GNUPLOT_INTERACTIVE to enable them.
# ******************************
Argument "6.0.2" isn't numeric in numeric lt (<) at t/plot.t line 756.
t/plot.t ............. 178/? Gnuplot warning: empty y range [0:0], adjusting to [-1:1]
at t/plot.t line 881.
INFO: Plotting to 'Plot-1.txt'
at t/plot.t line 986.
INFO: Plotting to 'Plot-2.txt'
at t/plot.t line 989.
t/plot.t ............. ok
Test Summary Report
-------------------
t/aa.t (Wstat: 65280 (exited 255) Tests: 1 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 4 tests but ran 1.
Files=3, Tests=221, 6 wallclock secs ( 0.06 usr 0.01 sys + 3.05 cusr 0.96 csys = 4.08 CPU)
Result: FAIL
Failed 1/3 test programs. 0/221 subtests failed.
make: *** [Makefile:885: test_dynamic] Error 255
* ERROR: dev-perl/PDL-Graphics-Gnuplot-2.32.0::gentoo failed (test phase):
* emake failed
*
Gnuplot version is:
huettel@kona ~/Gentoo/gentoo/dev-perl/PDL-Graphics-Gnuplot $ gnuplot --version
gnuplot 6.0.2 patchlevel 2 (Gentoo revision r0)
- Langage dominant
- Perl
- Étoiles
- 9
- Forks
- 8
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de PDLPorters/PDL-Graphics-Gnuplot
-
Add 'image' curve option: 'pixels'Peut-être à nouveau libre @zmughal l’a pris il y a 586 jours, et aucune pull request n’est ouverte. Ouverte
PDLPorters/PDL-Graphics-Gnuplot#107 · 1 personne assignée ·
-
Arrows are not drawnPeut-être à nouveau libre @zmughal l’a pris il y a 586 jours, et aucune pull request n’est ouverte. Ouverte
PDLPorters/PDL-Graphics-Gnuplot#106 · 4 commentaires · 1 personne assignée ·
-
Investigate size option versus terminal canvas size optionPeut-être à nouveau libre @zmughal l’a pris il y a 1753 jours, et aucune pull request n’est ouverte. Ouverte
PDLPorters/PDL-Graphics-Gnuplot#81 · 1 commentaire · 1 réaction · 1 personne assignée ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 30/100
PDLPorters/PDL-Graphics-Gnuplot#75 · 1 commentaire · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
Toutes les issues de PDLPorters/PDL-Graphics-Gnuplot
Issues similaires
-
Add .gitattributes so share/skel keeps LF on a Windows git checkoutPeut-être pris @sadhana-s-codez l’a pris il y a 1 jour. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
PerlDancer/Dancer2#1854 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
major/MySQLTuner-perl#1007 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 69/100
bioconda/bioconda-recipes#70187 ·
Les mainteneurs répondent en général sous 2 jours