Opened 9 years ago

Closed 9 years ago

#48893 closed defect (duplicate)

wireshark cant be upgraded

Reported by: peter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: mopihopi
Port: wireshark

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Try to upgrade wireshark port

petrus:~ plundqvi$ sudo port upgrade outdated
--->  Computing dependencies for wireshark
--->  Building wireshark
Error: org.macports.build for port wireshark returned: command execution failed
Please see the log file for port wireshark for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_wireshark/wireshark/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (1)

main.log (15.6 KB) - added by peter@… 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by peter@…

Attachment: main.log added

comment:1 Changed 9 years ago by mopihopi

Cc: mopihopi@… added

Cc Me!

comment:2 Changed 9 years ago by mdeaudelin (Mathieu Deaudelin-Lemay)

Duplicate of #48835. Current version of Wireshark is incompatible with the current version of lua.

If you do not need support for lua scripting, you may install Wireshark without it as a workaround in the meantime:

sudo port uninstall wireshark; sudo port install wireshark -lua

comment:3 Changed 9 years ago by mopihopi

Since Apple's XCode 7.0 update, I cannot build wireshark at all, with or without -lua. I am on OS X 10.10.5, and after the update /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ contains MacOSX10.11.sdk but not MacOSX10.10.sdk. I'm not sure if that is some kind of intentional change on Apple's part, but wireshark's configure doesn't like it.

--->  Fetching distfiles for wireshark
--->  Verifying checksums for wireshark
--->  Extracting wireshark
--->  Applying patches to wireshark
--->  Configuring wireshark
Error: Failed to configure wireshark, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.12.7/config.log
Error: org.macports.configure for port wireshark returned: configure failure: command execution failed
Please see the log file for port wireshark for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wireshark failed
...
configure:16909: checking whether we can build for OS X 10.10
configure:16951: result: no
configure:16953: error: We couldn't find the SDK for OS X 10.10
...
~$ ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
total 0
drwxr-xr-x  5 root  wheel  170 Aug 31  2017 MacOSX10.11.sdk/
~$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.10.5
BuildVersion:	14F27
~$ xcodebuild -version
Xcode 7.0
Build version 7A220
~$ 

comment:4 in reply to:  3 Changed 9 years ago by mdeaudelin (Mathieu Deaudelin-Lemay)

Replying to mopihopi@…:

configure:16909: checking whether we can build for OS X 10.10
configure:16951: result: no
configure:16953: error: We couldn't find the SDK for OS X 10.10

This is a different issue from the one reported here. The log provided by peter@... shows a build failure due to changes in the lua port, while yours is a configure failure due to a missing SDK.

I would normally recommend you to open a new ticket over this, but your issue is not linked to the Wireshark port, or to MacPorts either: a lot of ports will fail to compile if you do not have the SDK matching your system version. It seems to be an intentional move by Apple: the download page for Xcode shows that only the OS X 10.11 SDK is included. It may be appropriate to file a bug report with Apple over this. Meanwhile, I would suggest that you set Xcode 6 to be your default compiler as a workaround:

sudo xcode-select -s /path/to/Xcode6/Xcode.app

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

Description: modified (diff)
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.