Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770967 - app-crypt/ekeyd: update for luasocket API change -- control.lua:526: attempt to index global 'socket' (a nil value)
Summary: app-crypt/ekeyd: update for luasocket API change -- control.lua:526: attempt ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-16 15:42 UTC by Alan Swanson
Modified: 2021-02-17 19:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ekeyd-luasocket.patch (ekeyd-luasocket.patch,2.92 KB, patch)
2021-02-16 15:42 UTC, Alan Swanson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Swanson 2021-02-16 15:42:31 UTC
Created attachment 686973 [details, diff]
ekeyd-luasocket.patch

Due to changes in the luasocket API from luasocket-3.0_rc1-r5 to luasocket-3.0_rc1_p20200328 the ekeyd daemon and ekeydctl utility now fail to start;

control.lua:755: control.lua:526: attempt to index global 'socket' (a nil value) 

From a Gentoo forum query which referenced a Debian bug;

https://forums.gentoo.org/viewtopic-t-1126184.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852380

The attached patch ekeyd-luasocket.patch needs added to the ebuild. Tested.
Comment 1 Marco Genasci 2021-02-16 16:09:27 UTC
I split the topic because had nothing to do with slotted lua, new link:
https://forums.gentoo.org/viewtopic-t-1130307.html
Comment 2 Larry the Git Cow gentoo-dev 2021-02-17 19:45:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551aca45762a103d027dec5ea9e63b50062b1f9d

commit 551aca45762a103d027dec5ea9e63b50062b1f9d
Author:     Alan Swanson <reiver@improbability.net>
AuthorDate: 2021-02-17 18:07:51 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-02-17 19:42:53 +0000

    app-crypt/ekeyd: Update for luasocket API change
    
    Due to changes in the luasocket API from luasocket-3.0_rc1-r5
    to luasocket-3.0_rc1_p20200328 the ekeyd daemon and ekeydctl
    utility now fail to start.
    
    control.lua:755: control.lua:526: attempt to index global 'socket' (a nil value)
    
    Patch from a Debian bug:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852380
    
    Closes: https://github.com/gentoo/gentoo/pull/19508
    Closes: https://bugs.gentoo.org/770967
    Signed-off-by: Alan Swanson <reiver@improbability.net>
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-crypt/ekeyd/ekeyd-1.1.5-r101.ebuild           | 171 ++++++++++++++++++++++
 app-crypt/ekeyd/files/ekeyd-1.1.5-luasocket.patch |  90 ++++++++++++
 2 files changed, 261 insertions(+)