Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] main/lua-socket: cleanup and upgrade to latest git

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Fri, 29 Apr 2016 09:47:22 +0200

On Fri, 29 Apr 2016 08:00:38 +0300
Timo Teras <timo.teras_at_iki.fi> wrote:

> On Wed, 13 Apr 2016 09:32:33 +0200
> Natanael Copa <ncopa_at_alpinelinux.org> wrote:
>
> > On Sun, 6 Mar 2016 18:00:37 -0500
> > Muh Muhten <muh.muhten_at_gmail.com> wrote:
> >
> > > Fast-forward to pick up fixes since last release, remove patches
> > > that no longer apply, and clean up APKBUILD to closer to the
> > > current style.
> > >
> > > ---
> > > Not too sure I got the patchset right here. Fast-forward because
> > > it's been a year since last update and there have been substantial
> > > bugfixes since.
> > >
> > > Removed patches that no longer apply cleanly; unix.patch was no
> > > longer used. I'm not sure what include-luasocket.patch was for; it
> > > compiles cleanly without it but the change is not reflected
> > > upstream--is it necessary?
> > >
> > > Can we look into getting lua-cflags upstreamed? It doesn't seem
> > > like it should be too distro-specific, I'm not sure.
> > >
> > > A bit of cleanup in the APKBUILD.
> > >
> > > main/lua-socket/APKBUILD | 40 +-
> > > main/lua-socket/git.patch | 5346
> > > ++++++++++++++++++++++++++++++-
> > > main/lua-socket/include-luasocket.patch | 10 -
> > > main/lua-socket/lua-cflags.patch | 10 +-
> > > main/lua-socket/unix.patch | 25 - 5 files changed,
> > > 5217 insertions(+), 214 deletions(-) delete mode 100644
> > > main/lua-socket/include-luasocket.patch delete mode 100644
> > > main/lua-socket/unix.patch
> >
> >
> > I applied this, but it seems like lua-socket is now broken for lua5.2
> > and lua5.3. I have no idea why.
>
> I too get errors like this:
>
> Lua error: error loading module 'socket.core' from file '/usr/lib/lua/5.2/socket/core.so':
> Error relocating /usr/lib/lua/5.2/socket/core.so: lua_pcall: symbol not found
>
> Any ideas?

I have the feeling that lua5.2 and 5.3 is builds pick up lua5.1 headers
instead of the correct 5.2/5.3 headers.

But i don't know.

>
> Thanks,
> Timo



---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Apr 29 2016 - 09:47:22 GMT