Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50769 - [graphviz] Lua Bindings

Attached to Project: Arch Linux
Opened by Jordan Christiansen (xordspar0) - Tuesday, 13 September 2016, 21:26 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 18 September 2016, 03:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm trying to use the Lua bindings of graphviz, but it isn't working because of what I believe is a packaging error. When I `require` the `gv` module, as outlined in the graphviz documentation (see http://graphviz.org/pdf/gv.3lua.pdf), Lua reports that the module is not found. The Lua module in this package is installed to /usr/lib/lua/gv.so . However, all other Lua modules on my system are installed to a subdirectory of /usr/lib/lua: either 5.1/, 5.2/, or 5.3/.

Additional info:
* package version: graphviz 2.38.0-13


Steps to reproduce:

* Run the following command: lua -l gv
* Or try any other version of Lua: lua5.1, lua5.2, lua5.3

Output when using lua5.1:
lua5.1: module 'gv' not found:
no field package.preload['gv']
no file './gv.lua'
no file '/usr/share/lua/5.1/gv.lua'
no file '/usr/share/lua/5.1/gv/init.lua'
no file '/usr/lib/lua/5.1/gv.lua'
no file '/usr/lib/lua/5.1/gv/init.lua'
no file './gv.so'
no file '/usr/lib/lua/5.1/gv.so'
no file '/usr/lib/lua/5.1/loadall.so'
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 18 September 2016, 03:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  graphviz-2.38.0-14 in [extra]
Comment by Gaetan Bisson (vesath) - Sunday, 18 September 2016, 03:19 GMT
I don't consider this a packaging error since upstream installs the file there on its own. Our PKGBUILD does nothing concerning the lua bindings. But sure, I'm happy to fix this.

Loading...