Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 04:57:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220281] Mk/bsd.default-versions.mk: Set Lua 5.3 as default
Message-ID:  <bug-220281-13-gu3QInWGWf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220281-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220281-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220281

Russell Haley <russ.haley@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |russ.haley@gmail.com

--- Comment #3 from Russell Haley <russ.haley@gmail.com> ---
Hi, I have some cliff notes on the failures.=20
My thoughts are to set all items in #1 to be 5.2 dependent (assuming such
things are possible) and try patching #2 as they should all be easy fixes (=
to
find the next possible failures). Items in #3 are more nuanced. I think 3.1
should be set to 5.2 dependent as well. That to me would would be a first s=
tep
and then perhaps request another exp-run?


1) 5.2 Dependent systems: 7
Failures seem to be genuine dependencies on 5.2. Some have stated dependenc=
ies.
Others... I'm not terribly familiar with the Lua C API but the failures are
missing/wrong functions during compilation (which suggests an API change).

mmex,lua-ada, openkdm, cclive, quvi, cardpeek, httest

2) Missing lua.h files (misconfigured builds?): 3

Celestia (only checked first Celestia package), freeswitch, volta

3) Others

3.1) lzlib=20
        No longer maintainted.=20
        Replacement may be:
        https://luarocks.org/modules/brimworks/lua-zlib

        Where is the source for lzlib coming from? I'm not sure what this
means:
        MASTER_SITES=3D   SAVANNAH/lzip/lzlib

3.2) lua-alien
        Configure step fails. Latest from Github has different configure
script. Update to use latest from github?

        notes:I checked the configure script in the work directory and upon
patching it the compilation starts and fails later.
        I downloaded the latest from github and ran boostrap and checked the
configure scipt. configure has been *changed* and no longer performs the ch=
eck
the same way, but notably checks for lua < 5.4

3.3) neovim
        Requires lpeg but the dependency doesn't seem to be explicitly stat=
ed

3.4) wordgrinder
        Dependency on 5.2 in the configuration step. It might build if patc=
hed?
        =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<phase: run-depends=20=20=20
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
        =3D=3D=3D>   wordgrinder-0.6 depends on file: /usr/local/lib/lua/5.=
2/lfs.so -
not found
        =3D=3D=3D>   Installing existing package
/packages/All/lua53-luafilesystem-1.6.3.txz
        [110amd64-default-PR220281-job-15] Installing
lua53-luafilesystem-1.6.3...
        [110amd64-default-PR220281-job-15] `-- Installing lua53-5.3.4...
        [110amd64-default-PR220281-job-15] `-- Extracting lua53-5.3.4:
......... done
        [110amd64-default-PR220281-job-15] Extracting
lua53-luafilesystem-1.6.3: .......... done
        =3D=3D=3D>   wordgrinder-0.6 depends on file: /usr/local/lib/lua/5.=
2/lfs.so -
not found


3.5) lua-ldap
        Not sure about this one...

        gmake[1]: Entering directory
'/wrkdirs/usr/ports/net/lualdap/work/lualdap-1.1.0'
        cc -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align
-Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -ansi
-I/usr/local/include/lua53 -I/usr/local/include -I../compat/src
-I/usr/local/include/  -c -o src/lualdap.o src/lualdap.c
        In file included from src/lualdap.c:23:
        In file included from /usr/local/include/lua53/lua.h:16:
        /usr/local/include/lua53/luaconf.h:581:2: error: "Compiler does not
support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see
file 'luaconf.h' for details)"
        #error "Compiler does not support 'long long'. Use option
'-DLUA_32BITS' \
         ^
        In file included from src/lualdap.c:23:
        /usr/local/include/lua53/lua.h:93:9: error: unknown type name
'LUA_INTEGER'
        typedef LUA_INTEGER lua_Integer;
                        ^
        /usr/local/include/lua53/lua.h:96:21: error: expected ';' after top
level declarator
        typedef LUA_UNSIGNED lua_Unsigned;
                                                ^
                                                ;
        3 errors generated.
        gmake[1]: *** [<builtin>: src/lualdap.o] Error 1
        gmake[1]: Leaving directory
'/wrkdirs/usr/ports/net/lualdap/work/lualdap-1.1.0'
        *** Error code 1

3.6) syslogng
        syslog-ng checks for lua in it's configuration, fails to find it but
proceeds to try and package the liblua.so file. This port doesn't seem=20
        to be correctly configured to use lua on FreeBSD.

        syslog-ng Incubator 0.4.1 configured
        ------------------------------------
         Debugging:            no
         Modules:
          basicfuncs-plus      yes
          kafka                no
          logmongource:        no
          lua:                 no=20
          monitor-source:      no=20
          perl:                yes
          python:              yes (python-2.7)
          rss                  yes
          trigger-source       yes
          tfgetent             yes
          zmq                  no
          grok-parser          no
          java                 no

=20=20=20=20=20=20=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
        =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<phase: build=20=20=20=20=20=20=20=20=20
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
        ...


        =3D=3D=3D=3D> Compressing man pages (compress-man)
=20=20=20=20=20=20=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
        =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<phase: package=20=20=20=20=20=20=20
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
        =3D=3D=3D>  Building package for syslog-ng-incubator-0.4.1_3
        pkg-static: Unable to access file
/wrkdirs/usr/ports/sysutils/syslog-ng-incubator/work/stage/usr/local/lib/sy=
slog-ng/liblua.a:No
such file or directory
        pkg-static: Unable to access file
/wrkdirs/usr/ports/sysutils/syslog-ng-incubator/work/stage/usr/local/lib/sy=
slog-ng/liblua.so:No
such file or directory
        pkg-static: Unable to access file
/wrkdirs/usr/ports/sysutils/syslog-ng-incubator/work/stage/usr/local/lib/sy=
slog-ng/libmonitor-source.a:No
such file or directory
        pkg-static: Unable to access file
/wrkdirs/usr/ports/sysutils/syslog-ng-incubator/work/stage/usr/local/lib/sy=
slog-ng/libmonitor-source.so:No
such file or directory
        *** Error code 1

        Stop.
        make: stopped in /usr/ports/sysutils/syslog-ng-incubator
        =3D=3D=3D=3D>> Cleaning up wrkdir
        =3D=3D=3D>  Cleaning for syslog-ng-incubator-0.4.1_3
        build of sysutils/syslog-ng-incubator ended at Tue Jun 27 09:41:55 =
UTC
2017
        build time: 00:00:31
        !!! build failure encountered !!!


3.7) luaexpat
        Another long long fail?

        =3D=3D=3D>  Building for lua53-luaexpat-1.3.0_2
        gmake[1]: Entering directory
'/wrkdirs/usr/ports/textproc/luaexpat/work/luaexpat-1.3.0'
        export MACOSX_DEPLOYMENT_TARGET=3D"10.3";
        cc -I/usr/local/include/lua53 -I/usr/local/include -g -pedantic -Wa=
ll
-O2 -fPIC -DPIC -ansi -O2 -pipe  -DLUA_INT_LONG -fPIC -fstack-protector
-fno-strict-aliasing -o src/lxp.so src/lxplib.c -shared -lexpat=20
-L/usr/local/lib -fstack-protector
        In file included from src/lxplib.c:14:
        In file included from /usr/local/include/lua53/lua.h:16:
        /usr/local/include/lua53/luaconf.h:110:9: warning: 'LUA_INT_LONG' m=
acro
redefined [-Wmacro-redefined]
        #define LUA_INT_LONG            2
                        ^
        <command line>:2:9: note: previous definition is here
        #define LUA_INT_LONG 1

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220281-13-gu3QInWGWf>