Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324569 - dev-libs/lua-cyrussasl (New Package)
Summary: dev-libs/lua-cyrussasl (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://github.com/JorjBauer/lua-cyrus...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2010-06-18 09:14 UTC by Jochen Schalanda
Modified: 2022-10-17 18:48 UTC (History)
1 user (show)

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


Attachments
dev-libs/lua-cyrussasl-9999.ebuild (lua-cyrussasl-9999.ebuild,1.05 KB, text/plain)
2010-06-18 09:14 UTC, Jochen Schalanda
Details
files/lua-cyrussasl-9999-makefile.patch (lua-cyrussasl-9999-makefile.patch,889 bytes, text/plain)
2010-06-18 09:15 UTC, Jochen Schalanda
Details
Current ebuild (lua-cyrussasl-1.0.0.ebuild,1.13 KB, text/plain)
2010-07-12 08:08 UTC, Dirkjan Ochtman (RETIRED)
Details
dev-libs/lua-cyrussasl-1.0.0.ebuild (lua-cyrussasl-1.0.0.ebuild,1.01 KB, text/plain)
2010-07-12 16:26 UTC, Jochen Schalanda
Details
files/lua-cyrussasl-1.0.0-makefile.patch (lua-cyrussasl-1.0.0-makefile.patch,864 bytes, text/plain)
2010-07-12 16:26 UTC, Jochen Schalanda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schalanda 2010-06-18 09:14:20 UTC
Cyrus SASL bindings for Lua 5.1. Used for Cyrus SASL support in net-im/prosody-0.7.

Uses the git repository from GitHub due to the lack of release tar balls.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jochen Schalanda 2010-06-18 09:14:57 UTC
Created attachment 235821 [details]
dev-libs/lua-cyrussasl-9999.ebuild

Proposed ebuild for dev-libs/lua-cyrussasl
Comment 2 Jochen Schalanda 2010-06-18 09:15:29 UTC
Created attachment 235823 [details]
files/lua-cyrussasl-9999-makefile.patch

Makefile patch for dev-libs/lua-cyrussasl.
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-07-12 08:08:31 UTC
Created attachment 238401 [details]
Current ebuild

Hmm, this isn't working. Missing dependency?

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
cyrussasl.o: In function `luaopen_cyrussasl':
cyrussasl.c:(.text+0x15): undefined reference to `luaL_openlib'
cyrussasl.c:(.text+0x24): undefined reference to `luaL_newmetatable'
cyrussasl.c:(.text+0x37): undefined reference to `luaL_openlib'
cyrussasl.c:(.text+0x4b): undefined reference to `lua_pushlstring'
cyrussasl.c:(.text+0x58): undefined reference to `lua_pushvalue'
cyrussasl.c:(.text+0x65): undefined reference to `lua_rawset'
cyrussasl.c:(.text+0x79): undefined reference to `lua_pushlstring'
cyrussasl.c:(.text+0x86): undefined reference to `lua_pushvalue'
cyrussasl.c:(.text+0x93): undefined reference to `lua_rawset'
cyrussasl.c:(.text+0xa0): undefined reference to `lua_settop'
cyrussasl.o: In function `cyrussasl_get_version':
cyrussasl.c:(.text+0xb5): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xc8): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xe3): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xeb): undefined reference to `lua_error'
cyrussasl.o: In function `cyrussasl_set_log_cb':
cyrussasl.c:(.text+0x10d): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x11c): undefined reference to `lua_type'
cyrussasl.c:(.text+0x12f): undefined reference to `lua_typename'
cyrussasl.c:(.text+0x15d): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x165): undefined reference to `lua_error'
cyrussasl.c:(.text+0x18f): undefined reference to `luaL_checkoption'
cyrussasl.c:(.text+0x1a6): undefined reference to `lua_settop'
cyrussasl.c:(.text+0x1b9): undefined reference to `luaL_ref'
cyrussasl.c:(.text+0x1ce): undefined reference to `lua_rawgeti'
cyrussasl.c:(.text+0x1dd): undefined reference to `luaL_unref'
cyrussasl.o: In function `cyrussasl_set_canon_cb':
cyrussasl.c:(.text+0x20a): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x21e): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x226): undefined reference to `lua_error'
cyrussasl.c:(.text+0x269): undefined reference to `lua_type'
cyrussasl.c:(.text+0x27c): undefined reference to `lua_typename'
cyrussasl.c:(.text+0x2c1): undefined reference to `luaL_ref'
cyrussasl.c:(.text+0x2d8): undefined reference to `lua_rawgeti'
cyrussasl.c:(.text+0x2e7): undefined reference to `luaL_unref'
cyrussasl.o: In function `cyrussasl_get_message':
cyrussasl.c:(.text+0x305): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x318): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x320): undefined reference to `lua_error'
cyrussasl.c:(.text+0x349): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x363): undefined reference to `lua_pushstring'
cyrussasl.o: In function `cyrussasl_get_authname':
cyrussasl.c:(.text+0x375): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x388): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x390): undefined reference to `lua_error'
cyrussasl.c:(.text+0x3b9): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x3d3): undefined reference to `lua_pushstring'
cyrussasl.o: In function `cyrussasl_get_username':
cyrussasl.c:(.text+0x3e9): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x3fc): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x404): undefined reference to `lua_error'
cyrussasl.c:(.text+0x442): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x45f): undefined reference to `lua_pushstring'
cyrussasl.o: In function `cyrussasl_sasl_server_step':
cyrussasl.c:(.text+0x47a): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x497): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x49f): undefined reference to `lua_error'
cyrussasl.c:(.text+0x4ed): undefined reference to `sasl_server_step'
cyrussasl.c:(.text+0x4f8): undefined reference to `lua_pushinteger'
cyrussasl.c:(.text+0x509): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `cyrussasl_sasl_server_start':
cyrussasl.c:(.text+0x537): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x554): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x55c): undefined reference to `lua_error'
cyrussasl.c:(.text+0x5a1): undefined reference to `lua_type'
cyrussasl.c:(.text+0x5d6): undefined reference to `sasl_server_start'
cyrussasl.c:(.text+0x5e1): undefined reference to `lua_pushinteger'
cyrussasl.c:(.text+0x5f2): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `cyrussasl_sasl_server_new':
cyrussasl.c:(.text+0x646): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0x663): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x66b): undefined reference to `lua_error'
cyrussasl.c:(.text+0x775): undefined reference to `sasl_server_new'
cyrussasl.o: In function `_sasl_canon_user':
cyrussasl.c:(.text+0x856): undefined reference to `lua_rawgeti'
cyrussasl.c:(.text+0x865): undefined reference to `lua_pushlstring'
cyrussasl.c:(.text+0x871): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0x899): undefined reference to `lua_pushlstring'
cyrussasl.c:(.text+0x8ac): undefined reference to `lua_call'
cyrussasl.c:(.text+0x8bf): undefined reference to `lua_tolstring'
cyrussasl.c:(.text+0x8ec): undefined reference to `lua_settop'
cyrussasl.c:(.text+0x96f): undefined reference to `lua_settop'
cyrussasl.c:(.text+0x9a7): undefined reference to `lua_pushlstring'
cyrussasl.c:(.text+0x9c1): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `_sasl_log':
cyrussasl.c:(.text+0xa48): undefined reference to `lua_rawgeti'
cyrussasl.c:(.text+0xa54): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xa6b): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xa7b): undefined reference to `lua_call'
cyrussasl.o: In function `cyrussasl_sasl_server_init':
cyrussasl.c:(.text+0xa95): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xaa8): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xab0): undefined reference to `lua_error'
cyrussasl.c:(.text+0xacb): undefined reference to `sasl_server_init'
cyrussasl.c:(.text+0xade): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xae6): undefined reference to `lua_error'
cyrussasl.o: In function `cyrussasl_sasl_decode64':
cyrussasl.c:(.text+0xb0c): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xb1f): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xb27): undefined reference to `lua_error'
cyrussasl.c:(.text+0xb83): undefined reference to `sasl_decode64'
cyrussasl.c:(.text+0xb96): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `cyrussasl_sasl_encode64':
cyrussasl.c:(.text+0xbfc): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xc10): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xc18): undefined reference to `lua_error'
cyrussasl.c:(.text+0xc93): undefined reference to `sasl_encode64'
cyrussasl.c:(.text+0xca6): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `cyrussasl_sasl_listmech':
cyrussasl.c:(.text+0xd1a): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xd2e): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xd36): undefined reference to `lua_error'
cyrussasl.c:(.text+0xdd7): undefined reference to `sasl_listmech'
cyrussasl.c:(.text+0xdec): undefined reference to `lua_pushlstring'
cyrussasl.o: In function `cyrussasl_sasl_setprop':
cyrussasl.c:(.text+0xe27): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xe3b): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xe43): undefined reference to `lua_error'
cyrussasl.c:(.text+0xecb): undefined reference to `sasl_setprop'
cyrussasl.c:(.text+0xee2): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xeea): undefined reference to `lua_error'
cyrussasl.o: In function `cyrussasl_setssf':
cyrussasl.c:(.text+0xf17): undefined reference to `lua_gettop'
cyrussasl.c:(.text+0xf2b): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xf33): undefined reference to `lua_error'
cyrussasl.c:(.text+0xfac): undefined reference to `sasl_setprop'
cyrussasl.c:(.text+0xfbf): undefined reference to `lua_pushstring'
cyrussasl.c:(.text+0xfc7): undefined reference to `lua_error'
luaabstract.o: In function `tointeger':
luaabstract.c:(.text+0xf): undefined reference to `lua_type'
luaabstract.c:(.text+0x1e): undefined reference to `lua_typename'
luaabstract.c:(.text+0x4c): undefined reference to `lua_pushstring'
luaabstract.c:(.text+0x54): undefined reference to `lua_error'
luaabstract.c:(.text+0x6e): undefined reference to `lua_tointeger'
luaabstract.o: In function `tolstring':
luaabstract.c:(.text+0x9f): undefined reference to `lua_type'
luaabstract.c:(.text+0xb1): undefined reference to `lua_tolstring'
luaabstract.c:(.text+0xde): undefined reference to `lua_typename'
luaabstract.c:(.text+0x10c): undefined reference to `lua_pushstring'
luaabstract.c:(.text+0x114): undefined reference to `lua_error'
luaabstract.o: In function `tostring':
luaabstract.c:(.text+0x134): undefined reference to `lua_type'
context.o: In function `get_context':
context.c:(.text+0x149): undefined reference to `lua_touserdata'
context.c:(.text+0x17d): undefined reference to `luaL_typerror'
context.o: In function `free_context':
context.c:(.text+0x1b9): undefined reference to `sasl_dispose'
context.o: In function `gc_context':
context.c:(.text+0x207): undefined reference to `lua_touserdata'
context.c:(.text+0x22a): undefined reference to `luaL_unref'
context.c:(.text+0x258): undefined reference to `luaL_typerror'
context.o: In function `new_context':
context.c:(.text+0x2c8): undefined reference to `lua_newuserdata'
context.c:(.text+0x2e7): undefined reference to `lua_getfield'
context.c:(.text+0x2f4): undefined reference to `lua_setmetatable'
context.c:(.text+0x319): undefined reference to `lua_pushstring'
context.c:(.text+0x321): undefined reference to `lua_error'
collect2: ld returned 1 exit status
make: *** [cyrussasl.so] Error 1
Comment 4 Jochen Schalanda 2010-07-12 16:26:06 UTC
Created attachment 238463 [details]
dev-libs/lua-cyrussasl-1.0.0.ebuild

Proposed ebuild for dev-libs/lua-cyrussasl-1.0.0.
Comment 5 Jochen Schalanda 2010-07-12 16:26:39 UTC
Created attachment 238465 [details]
files/lua-cyrussasl-1.0.0-makefile.patch

Makefile patch for lua-cyrussasl-1.0.0.
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-07-14 16:20:54 UTC
Close, but no cigar:

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/lua/5.1/cyrussasl.so
Files matching a file type that is not allowed:
   usr/lib/lua/5.1/cyrussasl.so
 * ERROR: dev-libs/lua-cyrussasl-1.0.0 failed:
 *   multilib-strict check failed!

(Thanks for helping out, btw!)
Comment 7 Vieri 2014-04-07 18:40:17 UTC
I don't know if this can help:

https://github.com/matthid/gentoo-overlay/blob/master/dev-lua/lua-cyrussasl/lua-cyrussasl-1.0.0.ebuild

That's for the archive 1.0.0 version but git version has an update 4 months ago for Lua 5.2.
Comment 8 Vieri 2014-04-15 07:02:05 UTC
Other source with the same ebuild (reported to emerge correctly):

https://github.com/matthid/gentoo-overlay/blob/master/dev-lua/lua-cyrussasl/lua-cyrussasl-1.0.0.ebuild