Opened 11 years ago
Closed 11 years ago
#39425 closed defect (fixed)
awesome @3.4.15 incompatible with lua 5.2
Reported by: | avaland@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | mathsmac@… | |
Port: | awesome |
Description
Awesome - 3.4.15
Mac OS X - 10.7.5
XCode - 4.6.2
glib2 - 2.36.3
Ports - 2.1.3
When I do a clean install I run into this problem with the awesome wm:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/strut.c:23: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/luaa.h:53:9: warning: implicit declaration of function 'luaL_typerror' is invalid in C99 [-Wimplicit-function-declaration] luaL_typerror(L, n, "boolean"); ^ 4 warnings and 4 errors generated. make[3]: *** [CMakeFiles/awesome.dir/strut.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/client.c:32: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/luaa.h:53:9: warning: implicit declaration of function 'luaL_typerror' is invalid in C99 [-Wimplicit-function-declaration] luaL_typerror(L, n, "boolean"); ^ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/dbus.c:34: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/luaa.h:53:9: warning: implicit declaration of function 'luaL_typerror' is invalid in C99 [-Wimplicit-function-declaration] luaL_typerror(L, n, "boolean"); ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/dbus.c:788:39: error: array has incomplete element type 'const struct luaL_reg' const struct luaL_reg awesome_dbus_lib[] = ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/dbus.c:788:14: note: forward declaration of 'struct luaL_reg' const struct luaL_reg awesome_dbus_lib[] = ^ 6 warnings and 5 errors generated. make[3]: *** [CMakeFiles/awesome.dir/dbus.c.o] Error 1 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/client.c:2266:48: error: array has incomplete element type 'const struct luaL_reg' static const struct luaL_reg client_methods[] = ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/client.c:2266:25: note: forward declaration of 'struct luaL_reg' In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/awesome.c:50 static const struct luaL_reg client_methods[] =: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/luaa.h ^: 53:9: warning: implicit declaration of function 'luaL_typerror' is invalid in C99 [-Wimplicit-function-decl/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/client.c:2275:45: error: aarrartaiyo nh]a s incomplete element type 'cons luaL_typerror(L, n, "boolean");t s ^t ruct luaL_reg' static const struct luaL_reg client_meta[] = ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/client.c:2266:25: note: forward declaration of 'struct luaL_reg' static const struct luaL_reg client_methods[] = ^ 6 warnings and 6 errors generated. make[3]: *** [CMakeFiles/awesome.dir/client.c.o] Error 1 6 warnings and 4 errors generated. make[3]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/build' make[2]: *** [CMakeFiles/awesome.dir/all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15/build' make: *** [cmake-build] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/work/awesome-3.4.15" && /usr/bin/make -j4 -w all CC=/usr/bin/clang CXX=/usr/bin/clang++ CMAKE_ARGS=" -DCMAKE_INSTALL_PREFIX=/opt/local -DPREFIX=/opt/local -DAWESOME_DOC_PATH=/opt/local/share/doc/awesome -DAWESOME_MAN_PATH=/opt/local/share/man -DAWESOME_XSESSION_PATH=/opt/local/share/xsessions -DSYSCONFDIR=/opt/local/etc -DXDG_CONFIG_HOME=/opt/local/etc/xdg" Exit code: 2 Error: org.macports.build for port awesome returned: command execution failed Warning: targets not executed for awesome: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port awesome for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_awesome/awesome/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port awesome failed
Change History (8)
comment:1 Changed 11 years ago by neverpanic (Clemens Lang)
comment:2 Changed 11 years ago by avaland@…
I did do a selfupdate and upgrade outdated as well. I don't see a different versions of Lua on the site. Downgrade of awesome then?
comment:3 Changed 11 years ago by avaland@…
Actually lua is at the most current version 5.2.2 according to the lua website, so I don't think that is the problem.
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | awesome install removed |
---|---|
Port: | awesome added |
Summary: | Fresh Install of ports and awesome → awesome @3.4.15 incompatible with lua 5.2 |
comment:5 Changed 11 years ago by jwatzman@…
Ticket (with attached portfile diff) for new version of awesome: #39497
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mathsmac@… added |
---|
Has duplicate #39855.
comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed by updating to 3.5.1 in r111730.
Note: See
TracTickets for help on using
tickets.
Seems like (this version of) awesome isn't compatible with Lua 5.2. Maybe it can be updated? Did you check whether there is a new release available upstream?