[MacPorts] #56697: wireshark2 @ 2.6.1 does not build
MacPorts
noreply at macports.org
Tue Jun 19 22:23:40 UTC 2018
#56697: wireshark2 @ 2.6.1 does not build
---------------------------+------------------------
Reporter: ylluminarious | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.2
Keywords: | Port: wireshark2
---------------------------+------------------------
Hi,
I apologize if this bug has already been filed; I searched and searched
for it but found nothing. Anyway, my problem is exactly what it says on
the tin. No variants, just simply attempting to {{{sudo port install
wireshark2}}} results in:
{{{
---> Computing dependencies for wireshark2
[dependency fetching truncated; nothing goes wrong here]
---> Fetching archive for wireshark2
---> Attempting to fetch
wireshark2-2.6.1_0+cares+geoip+gnutls+kerberos5+libgcrypt+libsmi+portaudio+qt5+zlib.darwin_17.x86_64.tbz2
from https://packages.macports.org/wireshark2
---> Attempting to fetch
wireshark2-2.6.1_0+cares+geoip+gnutls+kerberos5+libgcrypt+libsmi+portaudio+qt5+zlib.darwin_17.x86_64.tbz2
from
http://ywg.ca.packages.macports.org/mirror/macports/packages/wireshark2
---> Attempting to fetch
wireshark2-2.6.1_0+cares+geoip+gnutls+kerberos5+libgcrypt+libsmi+portaudio+qt5+zlib.darwin_17.x86_64.tbz2
from http://sea.us.packages.macports.org/macports/packages/wireshark2
---> Fetching distfiles for wireshark2
---> Verifying checksums for wireshark2
---> Extracting wireshark2
---> Applying patches to wireshark2
---> Configuring wireshark2
---> Building wireshark2
Error: Failed to build wireshark2: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark2/wireshark2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port wireshark2 failed
}}}
I also re-attempted this installation after running:
{{{
$ sudo port clean wireshark2
$ sudo -s
$ port selfupdate && port upgrade outdated && port_cutleaves && port
reclaim
}}}
Just to make sure that my ports weren't out-of-date and causing some
strange issue thereby. But no dice; even after updating my ports tree as
above, I still had the same error when installing {{{wireshark2}}}. I have
attached the full {{{main.log}}} file. The only error I can see is around
line 4598:
{{{
...
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark2/wireshark2/work/wireshark-2.6.1/ui/qt/packet_format_group_box.cpp:21:18:
error: variable has incomplete type 'QStyleOption'
:info:build QStyleOption style_opt;
:info:build ^
:info:build
/usr/local/opt/qt5/lib/QtWidgets.framework/Headers/qstyle.h:60:7: note:
forward declaration of 'QStyleOption'
:info:build class QStyleOption;
:info:build ^
...
}}}
Is this a problem in the upstream or is it a problem with Macports? I
honestly can't tell just from this information alone. FYI, I'm running on
10.13.5; I'm not sure whether that's part of the problem or not.
Thanks.
--
Ticket URL: <https://trac.macports.org/ticket/56697>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list