-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
I'm writing simple script to install exact versions of dependencies into a folder (3scale/APIcast@e6d5e27).
There is surprising behaviour of luarocks (luarocks/luarocks#732) that is different than running it with openresty interpreted compiled with openresty.
When running with resty I'm getting errors like:
ERROR: /usr/local/share/lua/5.1/luarocks/fs/unix/tools.lua:114: Interrupted system call
stack traceback:
/usr/local/share/lua/5.1/luarocks/fs/unix/tools.lua:114: in function 'find'
/usr/local/share/lua/5.1/luarocks/manif.lua:59: in function 'make_rock_manifest'
/usr/local/share/lua/5.1/luarocks/build.lua:317: in function 'build_rockspec'
/usr/local/share/lua/5.1/luarocks/build.lua:359: in function 'build_rock'
or
Failed producing checksum: Failed to compute MD5 hash for file ...
The second one actually fails because reading from a pipe returns nil: https://github.com/mikz/luarocks/blob/22a7b81946edfe3e25f914c9c672b6705153714d/src/luarocks/fs/tools.lua#L146-L147
All this works when I run the script with the luajit interpreter compiled by openresty.
OS: macOS High Sierra 10.13 (17A365)
Metadata
Metadata
Assignees
Labels
No labels