Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update and can still reproduce the problem?brew doctor, fixed all issues and can still reproduce the problem?brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?To help us debug your issue please explain:
==> Upgrading 1 outdated package, with result:
wireshark 2.4.6 -> 2.6.0
==> Upgrading wireshark --with-qt
==> Downloading https://www.wireshark.org/download/src/all-versions/wireshark-2.6.0.tar.xz
Already downloaded: /Users/hakan/Library/Caches/Homebrew/wireshark-2.6.0.tar.xz
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/wireshark/2.6.0 -DCMAKE_BUILD_T
Last 15 lines from /Users/hakan/Library/Logs/Homebrew/wireshark/01.cmake:
-- Configuring done
CMake Error at CMakeLists.txt:2232 (add_executable):
Cannot find source file:
ui/macosx/cocoa_bridge.mm
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:2232 (add_executable):
No SOURCES given to target: wireshark
-- Build files have been written to: /tmp/wireshark-20180425-33492-na8g50/wireshark-2.6.0
READ THIS: https://docs.brew.sh/Troubleshooting
Here is my gist-log:
https://gist.github.com/hsiktas/e357e992f7e3bb49ab9dcebc9a993971
brew install commands)brew install wireshark --with-qtTo get formulae added or changed in Homebrew please file a Pull Request
We will close issues requesting formulae changes.
I can provide my gist-log, if necessary, but this is identical to the error that I'm receiving today whenever upgrading the wireshark package. Even removing and attempting an install still produces the same error on my MBP running macOS 10.13.4 with the Security Update 2018-001 which was released on April 24, 2018.
Same with gtk3:
==> Installing wireshark --with-gtk+3
==> Downloading https://www.wireshark.org/download/src/all-versions/wireshark-2.6.0.tar.xz
######################################################################## 100.0%
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/opt/brew/Cellar/wireshark/2.6.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DENABLE_CARES=ON -DENABLE_GNUTLS=ON -DENABLE_
Last 15 lines from /Users/ilarionov/Library/Logs/Homebrew/wireshark/01.cmake:
-- Configuring done
CMake Error at CMakeLists.txt:2397 (add_executable):
Cannot find source file:
ui/macosx/cocoa_bridge.mm
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at CMakeLists.txt:2397 (add_executable):
No SOURCES given to target: wireshark-gtk
Oh, I've had a fix for this pretty much since it was merged, sorry. It's a simple packaging screw up upstream. I'll push a PR soon; got distracted trying to fix the formula's unrelated lua issues.
@DomT4 do you have any updated on this?
Still waiting on upstream, I'm afraid. I can & will look at the lua situation mentioned in https://github.com/Homebrew/homebrew-core/pull/27110 but that's not the primary blocker at this point.
This is now fixed if you brew upgrade
Most helpful comment
@DomT4 do you have any updated on this?