| Summary: | plplot rebuild for gcc-8.4.0 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Chris Denice <eatdirt> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, sysadmin-bugs, tarazed25, tmb |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | plplot-5.14.0-5.mga7.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 26294 | ||
| Bug Blocks: | |||
|
Description
Chris Denice
2020-03-05 22:23:49 CET
Thomas Backlund
2020-03-06 21:18:07 CET
Keywords:
(none) =>
advisory 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 Validating. CC:
(none) =>
andrewsfarm, sysadmin-bugs An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2020-0074.html Status:
NEW =>
RESOLVED |