From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer <michael.tremer@ipfire.org> To: development@lists.ipfire.org Subject: Re: Problems trying to update lua-5.4.3 Date: Wed, 14 Apr 2021 10:08:46 +0100 Message-ID: <0FECBAC8-45C0-4403-AD86-B89822D51B42@ipfire.org> In-Reply-To: <55e76ea1-8a41-8a5e-b2c3-4f76015692ef@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8302801300548433625==" List-Id: <development.lists.ipfire.org> --===============8302801300548433625== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I think you can use this as inspiration: http://www.linuxfromscratch.org/blfs/view/svn/general/lua.html The patch should already be updated and should be working. -Michael > On 13 Apr 2021, at 22:06, Adolf Belka <adolf.belka(a)ipfire.org> wrote: >=20 > Hi All, >=20 >=20 > I have been working on updating lua from 5.3.5 to 5.4.3 >=20 > I updated the autotoolize.patch and the shared_library-1.patch and found th= at 5.4.3 no longer has lbitlib.c in the tarball src directory >=20 >=20 > I removed lbitlib.c from the liblua_la_SOURCES section in the diff for lua-= 5.3.5/src/Makefile.am >=20 > ----------------------------------------------------------- > +AM_CFLAGS =3D -Wall > + > +include_HEADERS =3D lua.h lualib.h lauxlib.h lua.hpp > + > +nodist_include_HEADERS =3D luaconf.h > + > +lib_LTLIBRARIES =3D liblua.la > +liblua_la_LDFLAGS =3D -release @MAJOR_VERSION@ > +liblua_la_SOURCES =3D \ > + lapi.c lauxlib.c lbaselib.c lbitlib.c lcode.c lcorolib.c lctype.c ldbl= ib.c \ > + ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.= c lmem.c \ > + loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c lstring.c l= strlib.c \ > + ltable.c ltablib.c ltm.c lundump.c lutf8lib.c lvm.c lzio.c \ > + lapi.h lcode.h lctype.h ldebug.h ldo.h lfunc.h lgc.h llex.h llimits.h \ > + lmem.h lobject.h lopcodes.h lparser.h lstate.h lstring.h ltable.h ltm.= h \ > + lundump.h lvm.h lzio.h > + >=20 > ----------------------------------------------------------- >=20 > and then lua built without any problems. >=20 >=20 > So lua built successfully but looking at the files in the tarball src direc= tory for 5.3.5 & 5.4.3 there are some differences >=20 > The following files > lua.c > luac.c > lua.h > luaconf.h > lualib.h > lauxlib.h > lprefix.h >=20 > are in both 5.3.5 & 5.4.3 but not in the liblua_la_SOURCES section. This ma= y be deliberate, I can't tell. >=20 > However lbitlib.c is in 5.3.5 & liblua_la_SOURCES but not in 5.4.3 Is that= a problem for IPFire's use of lua? >=20 >=20 > ljumptab.h and lopnames.h are not in 5.3.5 or liblua_la_SOURCES but are in = 5.4.3 Should these now be included somewhere in the Makefile.am or elsewhere= or is it OK to ignore them for IPFire? >=20 >=20 > Regards, >=20 > Adolf. >=20 --===============8302801300548433625==--