Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading pothosaudio 0.3.0 to 0.3.1 fails #23

Closed
daveio opened this issue Apr 14, 2018 · 3 comments · May be fixed by #51
Closed

Upgrading pothosaudio 0.3.0 to 0.3.1 fails #23

daveio opened this issue Apr 14, 2018 · 3 comments · May be fixed by #51

Comments

@daveio
Copy link

daveio commented Apr 14, 2018

==> Upgrading 1 outdated package, with result:
pothosware/pothos/pothosaudio 0.3.0 -> 0.3.1
==> Upgrading pothosware/pothos/pothosaudio
==> Downloading https://github.com/pothosware/PothosAudio/archive/pothos-audio-0.3.1.tar.gz
Already downloaded: /Users/dave/Library/Caches/Homebrew/pothosaudio-0.3.1.tar.gz
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/pothosaudio/0.3.1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
Last 15 lines from /Users/dave/Library/Logs/Homebrew/pothosaudio/01.cmake:
-- Poco_VERSION: 1.9.0
-- Poco_INCLUDE_DIRS:
-- Poco_LIBRARIES: Poco::Foundation;Poco::Util;Poco::XML;Poco::Net
dyld: Library not loaded: /usr/local/opt/poco/lib/libPocoUtil.51.dylib
  Referenced from: /usr/local/bin/PothosUtil
  Reason: image not found
/tmp/pothosaudio-20180414-22386-uty1ex/PothosAudio-pothos-audio-0.3.1/build/PothosUtil.sh: line 4: 22485 Abort trap: 6           "/usr/local/bin/PothosUtil" $@
CMake Error at /usr/local/share/cmake/Pothos/PothosConfig.cmake:188 (message):
  PothosUtil execution test failed
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)
@guruofquality
Copy link
Contributor

I dont think its the recipe. Brew seems to deal poorly with rebuilding when a dependency changes (I think poco had a breaking ABI update and things need a rebuild).

I would just purge the pothos* stuff brew uninstall --ignore-dependencies --force soapysdr pothos; brew missing | cut -f1 -d: | xargs brew remove --force and reinstall poco, and whatever pothos libs again.

@daveio
Copy link
Author

daveio commented Apr 15, 2018

Your diagnosis (or at a minimum, your proposed workaround) worked perfectly. I'm unfamiliar with poco so didn't really know where to go with it. Thanks!

@metayan
Copy link

metayan commented Jul 28, 2021

This issue has been appearing again for a while now. This time with pothoswidgets.
Solved it with

brew reinstall pothos

this time.

The correct solution would probably be for the maintainers to do something like

brew bump-revision -m "due to poco upgrade" $(brew uses poco)

every time they notice that poco has been upgraded.
Done in #51 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants