Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655898 - dev-perl/PDL-Graphics-Gnuplot-2.11.0-r1 : [TEST] # Failed test Setting empty plot title sets an empty title
Summary: dev-perl/PDL-Graphics-Gnuplot-2.11.0-r1 : [TEST] # Failed test Setting empty ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: perl-testfailure
  Show dependency tree
 
Reported: 2018-05-16 16:49 UTC by Toralf Förster
Modified: 2021-05-12 21:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2018-05-16 16:49 UTC, Toralf Förster
Details
dev-perl:PDL-Graphics-Gnuplot-2.11.0-r1:20180516-125153.log (dev-perl:PDL-Graphics-Gnuplot-2.11.0-r1:20180516-125153.log,3.91 KB, text/plain)
2018-05-16 16:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.80 KB, text/plain)
2018-05-16 16:49 UTC, Toralf Förster
Details
environment (environment,35.01 KB, text/plain)
2018-05-16 16:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.84 KB, application/x-bzip)
2018-05-16 16:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.40 KB, application/x-bzip)
2018-05-16 16:49 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,10.07 KB, application/x-bzip)
2018-05-16 16:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-16 16:49:32 UTC

#   Failed test 'Setting empty plot title sets an empty title'
#   at t/plot.t line 862.
Gnuplot warning: empty y range [0:0], adjusting to [-1:1]
 at t/plot.t line 969.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_test_20180508-174739

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpv dev-perl/PDL-Graphics-Gnuplot
[ebuild  N    ] dev-perl/PDL-Graphics-Gnuplot-2.11.0-r1  USE="{test}" 

!!! The following installed packages are masked:
- dev-util/scons-3.0.1-r2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (16 May 2018)
# Broken *FLAGS handling.  Use -r3 instead.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-16 16:49:35 UTC
Created attachment 531818 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-16 16:49:38 UTC
Created attachment 531820 [details]
dev-perl:PDL-Graphics-Gnuplot-2.11.0-r1:20180516-125153.log
Comment 3 Toralf Förster gentoo-dev 2018-05-16 16:49:41 UTC
Created attachment 531822 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-16 16:49:44 UTC
Created attachment 531824 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-16 16:49:47 UTC
Created attachment 531826 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-16 16:49:50 UTC
Created attachment 531828 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-16 16:49:52 UTC
Created attachment 531830 [details]
tests.tbz2
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-07-28 03:39:28 UTC
Replicating:

>>> Test phase: dev-perl/PDL-Graphics-Gnuplot-2.11.0-r1
 * Test::Harness Jobs=3
make -j3 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
t/manifest.t .. skipped: Author tests not required for installation
t/plot.t ...... 1/185 #
# P::G::G v2.011, gnuplot v5.2, Perl v5.028000, /usr/bin/perl on linux #
t/plot.t ...... 25/185 INFO: Plotting to 'Plot-1.txt'
 at t/plot.t line 537.
INFO: Plotting to 'Plot-1.txt'
 at t/plot.t line 548.
INFO: Plotting to 'Plot-1.txt'
 at t/plot.t line 556.


******************************
Skipping 27 interactive tests.
    Set the environment variable GNUPLOT_INTERACTIVE to enable them.
******************************


#   Failed test 'Setting empty plot title sets an empty title'
#   at t/plot.t line 862.
Gnuplot warning: empty y range [0:0], adjusting to [-1:1]
 at t/plot.t line 969.
INFO: Plotting to 'Plot-1.txt'
 at t/plot.t line 1059.
INFO: Plotting to 'Plot-2.txt'
 at t/plot.t line 1062.
# Looks like you failed 1 test of 185.
t/plot.t ...... Failed 1/185 subtests
        (less 32 skipped subtests: 152 okay)

Test Summary Report
-------------------
t/plot.t    (Wstat: 0 Tests: 185 Failed: 1)
  Failed test:  144
Files=2, Tests=185,  3 wallclock secs ( 0.07 usr  0.00 sys +  1.45 cusr  0.29 csys =  1.81 CPU)
Result: FAIL

ok 139 # skip Skipping date ranging tests since Gnuplot itself doesn't work
ok 140 # skip Skipping date ranging tests since Gnuplot itself doesn't work
ok 141 - Title plotting works, no error
ok 142 - Plot title gets placed on plot
ok 143 - Non-title plotting works, no error
not ok 144 - Setting empty plot title sets an empty title
#   Failed test 'Setting empty plot title sets an empty title'
#   at t/plot.t line 862.
ok 145 - 3-d grid plot with single column succeeded
ok 146 - 3-d threaded plot with single column succeeded
ok 147 - the two 3-D plots differ

Install time dep graph:

[ebuild  N     ] dev-perl/PDL-Graphics-Gnuplot-2.11.0-r1  USE="{-test}" 0 KiB
[ebuild  N    #]  virtual/perl-Time-HiRes-1.975.900  0 KiB
[ebuild  N     ]  dev-perl/IPC-Run-0.960.0  USE="{-test}" 0 KiB
[ebuild  N     ]   dev-perl/IO-Tty-1.120.0  0 KiB
[ebuild  N     ]  dev-perl/Alien-Gnuplot-1.33.0  0 KiB
[ebuild  N    ~]   virtual/perl-HTTP-Tiny-0.70.0-r1  0 KiB
[ebuild  N     ]   sci-visualization/gnuplot-5.2.2  USE="X gd readline (-aqua) -bitmap -cairo -compat -doc -examples -ggi -latex -libcaca -libcerf -lua -qt5 -regis (-svga) -wxwidgets" 0 KiB
[ebuild  N     ]    media-libs/gd-2.2.5:2/3  USE="png zlib -fontconfig -jpeg -static-libs -tiff -truetype -webp -xpm" 0 KiB
[ebuild  N     ]     media-libs/libpng-1.6.34:0/16  USE="-apng (-neon) -static-libs" CPU_FLAGS_X86="sse" 0 KiB
[ebuild  N     ]    x11-libs/libXaw-1.0.13-r1  USE="-deprecated -doc -static-libs" 0 KiB
[ebuild  N     ]     x11-libs/libXext-1.3.3-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]      x11-libs/libX11-1.6.5-r1  USE="ipv6 -doc -static-libs {-test}" 0 KiB
[ebuild  N     ]       x11-misc/util-macros-1.19.2  0 KiB
[ebuild  N     ]       media-fonts/font-util-1.3.1  0 KiB
[ebuild  N     ]       x11-libs/xtrans-1.3.5  USE="-doc" 0 KiB
[ebuild  N     ]       x11-libs/libxcb-1.13:0/1.12  USE="-doc (-selinux) -static-libs {-test} -xkb" 0 KiB
[ebuild  N     ]        x11-base/xcb-proto-1.13  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB
[ebuild  N     ]        x11-libs/libXau-1.0.8-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]         x11-base/xorg-proto-2018.4  0 KiB
[ebuild  N     ]          dev-util/ninja-1.8.2  USE="-doc -emacs {-test} -vim-syntax -zsh-completion" 0 KiB
[ebuild  N     ]           dev-util/re2c-0.16  0 KiB
[ebuild  N     ]          dev-util/meson-0.46.1  PYTHON_TARGETS="python3_6 -python3_5" 0 KiB
[ebuild  N     ]        dev-libs/libpthread-stubs-0.4  0 KiB
[ebuild  N     ]        x11-libs/libXdmcp-1.1.2-r2  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]         dev-libs/libbsd-0.8.6  USE="-static-libs" 0 KiB
[ebuild  N     ]     x11-libs/libXt-1.1.5-r1  USE="-static-libs {-test}" 0 KiB
[ebuild  N     ]      x11-libs/libSM-1.2.2-r2  USE="ipv6 uuid -doc -static-libs" 0 KiB
[ebuild  N     ]       x11-libs/libICE-1.0.9-r2  USE="ipv6 -doc -static-libs" 0 KiB
[ebuild  N     ]     x11-libs/libXpm-3.5.12-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]     x11-libs/libXmu-1.1.2-r1  USE="ipv6 -doc -static-libs" 0 KiB
[ebuild  N     ]  dev-perl/Safe-Isa-1.0.5  USE="{-test}" 0 KiB
[ebuild  N     ]  dev-perl/PDL-Transform-Color-1.3.0  0 KiB
[ebuild  N     ]   dev-perl/PDL-2.17.0  USE="badval fortran -doc -gd -gsl -hdf -netpbm (-pdl2) (-pgplot) {-test} -threads" 0 KiB
[ebuild  N     ]    dev-perl/Inline-C-0.780.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]     dev-perl/Pegex-0.640.0  USE="-examples {-test}" 0 KiB
[ebuild  N     ]      dev-perl/File-ShareDir-Install-0.110.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Parse-RecDescent-1.967.15  USE="-examples {-test}" 0 KiB
[ebuild  N     ]      virtual/perl-Text-Balanced-2.30.0-r4  0 KiB
[ebuild  N     ]     dev-perl/Inline-0.800.0  USE="{-test}" 0 KiB
[ebuild  N    #]    virtual/perl-Filter-Simple-0.950.0  0 KiB
[ebuild  N     ]    app-arch/sharutils-4.14-r1  USE="nls" 0 KiB
[ebuild  N     ]    dev-perl/Devel-CheckLib-1.110.0  USE="{-test}" 0 KiB
[ebuild  N     ]    dev-perl/File-Map-0.640.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/Sub-Exporter-Progressive-0.1.11  0 KiB
[ebuild  N     ]      dev-perl/Sub-Exporter-0.987.0  0 KiB
[ebuild  N     ]       dev-perl/Params-Util-1.70.0  USE="{-test}" 0 KiB
[ebuild  N     ]       dev-perl/Data-OptList-0.110.0  USE="{-test}" 0 KiB
[ebuild  N     ]        dev-perl/Sub-Install-0.928.0  USE="{-test}" 0 KiB
[ebuild  N     ]     dev-perl/PerlIO-Layers-0.11.0  USE="{-test}" 0 KiB
[ebuild  N    #]      virtual/perl-XSLoader-0.300.0  0 KiB
[ebuild  N     ]    dev-perl/Term-ReadLine-Perl-1.30.300-r1  0 KiB
[ebuild  N     ]    dev-perl/ExtUtils-F77-1.180.0  0 KiB
[ebuild  N     ]    dev-perl/Module-Compile-0.350.0  0 KiB
[ebuild  N     ]     dev-perl/Digest-SHA1-2.130.0-r1  0 KiB
[ebuild  N     ]      virtual/perl-Digest-1.170.100_rc-r7  0 KiB
[ebuild  N     ]    virtual/fortran-0  USE="openmp" 0 KiB
[ebuild  N     ]    virtual/perl-Pod-Parser-1.630.0-r4  0 KiB
[ebuild  N     ]    dev-perl/Astro-FITS-Header-3.70.0  0 KiB
[ebuild  N     ]    dev-perl/OpenGL-0.670.400  USE="-examples" 0 KiB
[ebuild  N     ]     x11-libs/libXi-1.7.9-r1  USE="-doc -static-libs" 0 KiB
[ebuild  N     ]      x11-libs/libXfixes-5.0.3-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]     media-libs/freeglut-3.0.0  USE="-debug -static-libs" 0 KiB
[ebuild  N     ]      virtual/glu-9.0-r1  0 KiB
[ebuild  N     ]       media-libs/glu-9.0.0-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]        virtual/opengl-7.0-r1  0 KiB
[ebuild  N     ]         media-libs/mesa-17.3.9  USE="classic dri3 egl gallium gbm llvm nptl -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" VIDEO_CARDS="(-freedreno) -i915 -i9
65 (-imx) -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB
[ebuild  N     ]          x11-libs/libxshmfence-1.3-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]          sys-devel/llvm-5.0.2:5  USE="libffi ncurses -debug -doc -gold -libedit {-test}" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -Sparc -SystemZ -XCore" 0 KiB
[ebuild  N     ]           sys-devel/llvm-common-6.0.1  0 KiB
[ebuild  N     ]           dev-util/cmake-3.9.6  USE="ncurses -doc -emacs -qt5 -server -system-jsoncpp {-test}" 0 KiB
[ebuild  N     ]            app-crypt/rhash-1.3.5  USE="nls ssl -debug -libressl -static-libs" 0 KiB
[ebuild  N     ]            app-arch/libarchive-3.3.1:0/13  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -expat -libressl -lz4 -lzo -nettle -static-libs" 0 KiB
[ebuild  N     ]          app-eselect/eselect-mesa-0.0.10-r1  0 KiB
[ebuild  N     ]          x11-libs/libXxf86vm-1.1.4-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]          app-eselect/eselect-opengl-1.3.1-r4  0 KiB
[ebuild  N     ]          x11-libs/libXdamage-1.1.4-r2  USE="-static-libs" 0 KiB
[ebuild  N     ]          x11-libs/libdrm-2.4.91  USE="-libkms -valgrind" VIDEO_CARDS="-amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 0 KiB
[ebuild  N     ]      x11-libs/libXrandr-1.5.1-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]       x11-libs/libXrender-0.9.10-r1  USE="-static-libs" 0 KiB
[ebuild  N     ]    dev-perl/Filter-1.570.0  USE="-examples" 0 KiB
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2019-10-15 12:45:48 UTC
This looks familiar. I think I debugged it sometime in the past.

Vague memory, it has to do with which "terminals" are compiled into gnuplot (here terminal means output format, from pdf to png and from ps to LaTeX).

Will investigate later.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2020-04-24 20:49:47 UTC
(In reply to Andreas K. Hüttel from comment #9)
> This looks familiar. I think I debugged it sometime in the past.
> 
> Vague memory, it has to do with which "terminals" are compiled into gnuplot
> (here terminal means output format, from pdf to png and from ps to LaTeX).
> 
> Will investigate later.

Nope, different problem. 

Essentially setting an empty title seems to unset the title in 5.2. Which makes sense in Gnuplot logic.
Comment 11 Larry the Git Cow gentoo-dev 2021-04-08 13:33:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502821978577a191c100cd4e76ff0b5f99cbd21f

commit 502821978577a191c100cd4e76ff0b5f99cbd21f
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-04-08 13:32:02 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-04-08 13:32:57 +0000

    dev-perl/PDL-Graphics-Gnuplot: Fix misbehaviour with gnuplot 5.4.1, fix tests
    
    See also https://github.com/PDLPorters/PDL-Graphics-Gnuplot/pull/71
    
    Bug: https://rt.cpan.org/Ticket/Display.html?id=134970
    Bug: https://bugs.gentoo.org/655898
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 .../PDL-Graphics-Gnuplot-2.13.0-r2.ebuild          | 37 ++++++++++
 .../PDL-Graphics-Gnuplot-2.13.0-components.patch   | 78 ++++++++++++++++++++++
 .../PDL-Graphics-Gnuplot-2.13.0-titletest.patch    | 33 +++++++++
 3 files changed, 148 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2021-05-12 21:33:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb5c78c214374bd13d7c039fbf0dfccca892b5c

commit bcb5c78c214374bd13d7c039fbf0dfccca892b5c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-05-12 21:01:37 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-05-12 21:32:45 +0000

    dev-perl/PDL-Graphics-Gnuplot: Version bump 2.016
    
    Closes: https://bugs.gentoo.org/655898
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-perl/PDL-Graphics-Gnuplot/Manifest             |  1 +
 .../PDL-Graphics-Gnuplot-2.16.0.ebuild             | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)