Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49006 closed defect (duplicate)

wireshark @1.12.7 #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"

Reported by: rpokala@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: opendarwin.org@…
Port: wireshark

Description

Building `wireshark' fails under OS X 10.11 Beta (15A243d), Xcode Version 7.0 beta 5 (7A176x) — current latest public beta of each

The full build log is attached; the error is:

:info:build ./lua_bitop.c:85:2: error: "Unknown number type, check LUA_NUMBER_* in luaconf.h"
:info:build #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
:info:build  ^
:info:build 1 error generated.
:info:build make[4]: *** [lua_bitop.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build In file included from ./lrexlib_glib.c:199:
:info:build ./lrexlib_algo.h:121:21: warning: implicit declaration of function 'luaL_optint' is invalid in C99 [-Wimplicit-function-declaration]
:info:build   int startoffset = luaL_optint(L, stackpos, 1);
:info:build                     ^
:info:build 1 warning generated.
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7/epan/wslua'
:info:build make[3]: *** [all] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7/epan/wslua'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7/epan'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port wireshark returned: command execution failed

Attachments (1)

main.log (257.7 KB) - added by rpokala@… 9 years ago.
Log of failed build

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by rpokala@…

Attachment: main.log added

Log of failed build

comment:1 Changed 9 years ago by rpokala@…

Urk; wrong build numbers in the initial filing; the correct versions are:

OS X 10.11 Beta (15B17c)
Xcode Version 7.0.1 (7A1001)

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: elcapitan removed
Milestone: MacPorts Future
Resolution: duplicate
Status: newclosed

The is not El Capitan-specific.

The Milestone field is only used when the component field is "base".

Duplicate of #48835.

comment:3 Changed 9 years ago by rpokala@…

Thanks! The workaround described in #48835 (building without lua: `port install wireshark -lua') did the trick.

Note: See TracTickets for help on using tickets.