Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646288

Summary: sci-visualization/gnuplot doesn't work with lua 5.1 (?)
Product: Gentoo Linux Reporter: malcolm.mielle
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description malcolm.mielle 2018-02-01 12:00:31 UTC
This is the version of gnuplot I'm using :

emerge -pa gnuplot

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sci-visualization/gnuplot-5.2.2 

I use the flag `lua` : 

sci-visualization/gnuplot lua -qt5

When trying to run gnuplot I have the error :

 gnuplot graph_first_run.gpl 
"graph_first_run.gpl", line 5: /usr/share/gnuplot/5.2/lua/gnuplot-tikz.lua:1759: bad argument #1 to 'load' (function expected, got string)
stack traceb

Which come from Lua 5.1 not supported I guess. See https://github.com/bungle/lua-resty-template/issues/1

And I have:
emerge -pa lua

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/lua-5.1.5-r4

Thanks :)
Comment 1 Jonas Stein gentoo-dev 2018-02-02 12:22:52 UTC
Thank you for the report. Please recompile and *attach* the logfiles,
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
and reopen this ticket (Status:unconfirmed).