Re: [MacPorts] #40782: wireshark: update to 2.0.1
#40782: wireshark: update to 2.0.1 ------------------------------+--------------------- Reporter: ryandesign@… | Owner: ricci@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: wireshark-devel | ------------------------------+--------------------- Comment (by mschamschula@…): Quite honestly, I'm not a fan of QT5, given how unstable it's build process seems to be. However, this is not my issue here. I tried building with sudo port install wireshark2 +gtk2 +lua -qt5 which most closely resembles my existing install of wireshark 2.0.1, see #48835. With wireshark2 I get the following error: {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/wslua/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 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DWS_BUILD_DLL -Depan_EXPORTS -isystem /opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/tools/lemon -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/wiretap -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/freetype2 -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/cairo -isystem /opt/local/include/pango-1.0 -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/lua-5.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/dfilter -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/dissectors -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/ftypes -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/wslua -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/nghttp2 -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat- security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv- by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite- strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Qunused- arguments -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno- pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -pipe -Os -fvisibility=hidden -DNDEBUG -arch x86_64 -mmacosx-version- min=10.10 -fPIC -o CMakeFiles/epan.dir/wslua/wslua_byte_array.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/wslua/wslua_byte_array.c :info:build make[2]: *** [epan/CMakeFiles/epan.dir/wslua/lua_bitop.c.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build [ 24%] Building C object epan/CMakeFiles/epan.dir/wslua/wslua_capture_info.c.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DWS_BUILD_DLL -Depan_EXPORTS -isystem /opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/tools/lemon -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/wiretap -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/freetype2 -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/cairo -isystem /opt/local/include/pango-1.0 -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/lua-5.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/dfilter -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/dissectors -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/ftypes -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/wslua -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/nghttp2 -Wall -W -Wextra -Wendif-labels -Wpointer-arith -Warray-bounds -Wformat- security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv- by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite- strings -Wno-long-long -Wheader-guard -Wunused-const-variable -Qunused- arguments -Wc++-compat -Wdeclaration-after-statement -Wshadow -Wno- pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -pipe -Os -fvisibility=hidden -DNDEBUG -arch x86_64 -mmacosx-version- min=10.10 -fPIC -o CMakeFiles/epan.dir/wslua/wslua_capture_info.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1/epan/wslua/wslua_capture_info.c :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1' :info:build make[1]: *** [epan/CMakeFiles/epan.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1' :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_wireshark2/wireshark2/work/wireshark-2.0.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.0.1" && /usr/bin/make -j8 -w all VERBOSE=ON :info:build Exit code: 2 }}} All this means is that we're using the wrong lua headers. Using classic configure this is a non-issue. However, as you are now using cmake, I can't help you here… -- Ticket URL: <https://trac.macports.org/ticket/40782#comment:62> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts