[MacPorts] #69550: lua @5.3.6 fails to build on Tiger: error: 'gmtime_r' was not declared in this scope

MacPorts noreply at macports.org
Wed Mar 20 17:36:29 UTC 2024


#69550: lua @5.3.6 fails to build on Tiger: error: 'gmtime_r' was not declared in
this scope
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:  tiger
      Port:  lua           |
---------------------------+--------------------

Comment (by barracuda156):

 `lua52` installs fine. `lua54` fails on:

 {{{
 /opt/local/bin/g++-apple-4.2 -O2 -Wall -Wextra -DLUA_COMPAT_5_3
 -DLUA_USE_MACOSX -DLUA_USE_READLINE -I/opt/local/include -Os -arch ppc
 -I/opt/local/include  -c -o lmathlib.o lmathlib.c
 lmathlib.c:305: error: integer constant is too large for 'unsigned long'
 type
 lmathlib.c:338: error: integer constant is too large for 'unsigned long'
 type
 lmathlib.c:551: error: integer constant is too large for 'unsigned long'
 type
 lmathlib.c:571: error: integer constant is too large for 'unsigned long'
 type
 lmathlib.c:586: error: integer constant is too large for 'unsigned long'
 type
 make[2]: *** [lmathlib.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_lua/lua54/work/lua-5.4.6/src'
 make[1]: *** [macosx] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69550#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list