Bug 26301 - plplot rebuild for gcc-8.4.0
Summary: plplot rebuild for gcc-8.4.0
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on: 26294
Blocks:
  Show dependency treegraph
 
Reported: 2020-03-05 22:23 CET by Chris Denice
Modified: 2020-03-08 23:38 CET (History)
4 users (show)

See Also:
Source RPM: plplot-5.14.0-5.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2020-03-05 22:23:49 CET
Suggested advisory:
========================

Updated plplot package to version 5.14.0-5.1 to match gcc upgrade to version 8.4.0


References:
========================
https://bugs.mageia.org/show_bug.cgi?id=26294

Updated packages in core/updates_testing:
========================
java-plplot-5.14.0-5.1.mga7
lib(64)csiro0-5.14.0-5.1.mga7
lib(64)plplot16-5.14.0-5.1.mga7
lib(64)plplotada4-5.14.0-5.1.mga7
lib(64)plplotcxx14-5.14.0-5.1.mga7
lib(64)plplot-devel-5.14.0-5.1.mga7
lib(64)plplotfortran0-5.14.0-5.1.mga7
lib(64)plplotqt2-5.14.0-5.1.mga7
lib(64)plplottcltk14-5.14.0-5.1.mga7
lib(64)plplottcltk_main1-5.14.0-5.1.mga7
lib(64)plplotwxwidgets1-5.14.0-5.1.mga7
lib(64)qsastime0-5.14.0-5.1.mga7
lib(64)tclmatrix10-5.14.0-5.1.mga7
lua-plplot-5.14.0-5.1.mga7
ocaml-plplot-5.14.0-5.1.mga7
octave-plplot-5.14.0-5.1.mga7
plplot-5.14.0-5.1.mga7
python3-plplot-5.14.0-5.1.mga7
python3-plplot-debuginfo-5.14.0-5.1.mga7



Source RPMs: 
plplot-5.14.0-5.1.mga7.src.rpm
Thomas Backlund 2020-03-06 21:18:07 CET

Keywords: (none) => advisory
CC: (none) => tmb

Comment 1 Len Lawrence 2020-03-08 03:25:47 CET
mga7, x86_64
Updated all packages except ...debuginfo.

There is a comprehensive set of examples for plplot in /usr/share/plplot5.14.0/examples/ under c, tcl, java, lua, octave, ada, fortran and python....
However, I have had no success at all in running any of them.  There are complaints about non-ASCII characters in the site packages for python for instance..
However.  Copying the C directory to user land allows the C versions of the tests to be compiled simply by running `make`.
$ make
./x04c
Plotting Options:
 < 1> xwin       X-Window (Xlib)
 < 2> tk         Tcl/TK Window
 < 3> ps         PostScript File (monochrome)
...
 <28> pngcairo   Cairo PNG Driver
 <29> memcairo   Cairo Memory Driver
 <30> extcairo   Cairo External Context Driver

Enter device number or keyword: 1   

That generated an X window with a coloured plot of a "Single Pole Low-Pass Filter".

Command-line options are a little trickier:
$ ./x04c -dev tk -display :0
X server insecure (must use xauth-style authorization); command ignored
    while executing....

$ ./x04c -dev xwin
That works.
$ ./x04c -dev ps
Enter graphics output file name: x04c.ps

That produces x04c.ps but gs cannot display it.
Error: /undefinedfilename in (x04.ps)

$ ./x04c -dev ps -o x04c.ps
$ gs x04c.ps

That works, showing a monochrome version of the plot.  Pressing Return brings up a second page with a different plot.
Tried a few others using xwin output and they worked fine.

Switched to tcl interactive shell.  Use wish or tclsh.
$ tclsh
% lappend auto_path /usr/share/plplot5.14.0 /data/qa/plplot/tcl | ../../bindings/tcl
% package require Pltcl
5.14.0
% plinit

Plotting Options:
 < 1> xwin       X-Window (Xlib)
 < 2> tk         Tcl/TK Window
....

Enter device number or keyword: 1
< displayed an empty X window >
% x09
< this showed a graph with Streamlines of flow in the window >
Click on the X in the window decoration border and the shell prompt reappears.

% x21
% plinit
.....
Enter device number or keyword: psc
Enter graphics output file name: x21.ps
% x21
% exit

$ gs x21.ps
shows a postscript plot in colour.

These few tests should be enough to establish confidence in the basic functionality.  python3 is likely to fall over on the demos because it enforces parentheses around method arguments.  So when we move to python3 a lot of print statements shall have to be edited - grunt work for somebody upstream.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => tarazed25

Comment 2 Thomas Andrews 2020-03-08 21:00:41 CET
Validating.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Comment 3 Mageia Robot 2020-03-08 23:38:50 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2020-0074.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.