Skip to content

Commit c513f29

Browse files
Fix broken wireshark build workflow on macOS (#414)
### Motivation See https://github.com/apache/pulsar-client-cpp/actions/runs/8276076995/job/22644077705 ``` Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/2to3 ``` `brew install` failed because the wireshark dependency depends on [email protected] and it failed at `brew link`. ### Modifications Remove the existing binaries that might conflict.
1 parent 8218717 commit c513f29

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci-pr-validation.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ jobs:
6464
run: |
6565
# See https://github.com/Homebrew/homebrew-core/issues/157142
6666
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
67+
cd /usr/local/bin
68+
rm -f 2to3* idle3* pydoc* python3*
69+
rm -f /usr/local/share/man/man1/python3.1 /usr/local/lib/pkgconfig/python3*
70+
cd /usr/local/Frameworks/Python.framework
71+
rm -rf Headers Python Resources Versions/Current
6772
brew update
6873
brew install pkg-config wireshark protobuf
6974
- name: Build wireshark plugin

0 commit comments

Comments
 (0)