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

Installation of pothosflow fails on macos 12.2 #54

Open
threshold68 opened this issue Jan 31, 2022 · 2 comments
Open

Installation of pothosflow fails on macos 12.2 #54

threshold68 opened this issue Jan 31, 2022 · 2 comments

Comments

@threshold68
Copy link

Installation of of pothosflow fails on macos 12.2 (both architectures x86_64 and arm64) with the following output:

brew install --head pothosflow
==> Cloning https://github.com/pothosware/PothosFlow.git
Cloning into '/Users/myuser/Library/Caches/Homebrew/pothosflow--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing pothosflow from pothosware/pothos
==> cmake .. -DBUNDLE_DESTINATION=.
==> make install
Last 15 lines from /Users/myuser/Library/Logs/Homebrew/pothosflow/02.make:
      Poco::AutoPtr<Poco::Channel>::operator->() in BlockCache.cpp.o
      Poco::AutoPtr<Poco::Channel>::operator->() in AffinityZonesDock.cpp.o
      ...
  "typeinfo for Poco::Channel", referenced from:
      typeinfo for LoggerChannel in mocs_compilation.cpp.o
      LoggerChannel::LoggerChannel(QObject*) in LoggerChannel.cpp.o
  "typeinfo for Poco::Exception", referenced from:
      GCC_except_table0 in PothosFlow.cpp.o
      GCC_except_table4 in SystemInfoTree.cpp.o
      GCC_except_table0 in GraphEditorDeserialization.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [PothosFlow.app/Contents/MacOS/PothosFlow] Error 1
make[1]: *** [CMakeFiles/PothosFlow.dir/all] Error 2
make: *** [all] Error 2
@guruofquality
Copy link
Contributor

Try removing and reinstalling poco. I have seen some issue with packages not getting rebuild nicely when a dependency like poco changes. And I cant really explain the linker error.

@threshold68
Copy link
Author

Tried removing and adding poco already before, but retried again. Doesn't help. Using -v creates a ton of output, starting and ending with

Undefined symbols for architecture x86_64:
  "Poco::Environment::set(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
      MyScopedSyslogListener::MyScopedSyslogListener() in PothosFlow.cpp.o
  "Poco::SplitterChannel::addChannel(Poco::AutoPtr<Poco::Channel>)", referenced from:
      LoggerChannel::LoggerChannel(QObject*) in LoggerChannel.cpp.o
  "Poco::SplitterChannel::removeChannel(Poco::AutoPtr<Poco::Channel>)", referenced from:
      LoggerChannel::disconnect() in LoggerChannel.cpp.o
  "Poco::DateTimeFormatter::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, Poco::DateTime const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
      LoggerDisplay::handleLogMessage(Poco::Message const&) in LoggerDisplay.cpp.o
  "Poco::NullValueException::NullValueException(int)", referenced from:
      Poco::Optional<QJsonArray>::value() const in BlockEval.cpp.o
  "Poco::NullValueException::~NullValueException()", referenced from:
      Poco::Optional<QJsonArray>::value() const in BlockEval.cpp.o
  "Poco::NullPointerException::NullPointerException(int)", referenced from:
      Poco::AutoPtr<Poco::Channel>::operator->() in MainWindow.cpp.o
      Poco::AutoPtr<Poco::Channel>::operator->() in PropertyEditWidget.cpp.o
      Poco::AutoPtr<LoggerChannel>::operator->() in LoggerDisplay.cpp.o
      Poco::AutoPtr<Poco::SplitterChannel>::operator->() in LoggerChannel.cpp.o
      Poco::AutoPtr<Poco::Channel>::operator->() in LoggerChannel.cpp.o
      Poco::AutoPtr<Poco::Channel>::operator->() in BlockCache.cpp.o
      Poco::AutoPtr<Poco::Channel>::operator->() in AffinityZonesDock.cpp.o
...
==> Formula
Tap: pothosware/pothos
Path: /usr/local/Homebrew/Library/Taps/pothosware/homebrew-pothos/pothosflow.rb
==> Configuration
HOMEBREW_VERSION: 3.3.13
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2ae21a582a90571abb66b7fbceb04cd1e53785bf
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 57c46c836fb8df3e1e882a7a547e1003b820dbb1
Core tap last commit: 18 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.Oawmc8xM4c/org.xquartz:0
HOMEBREW_MAKE_JOBS: 12
HOMEBREW_NO_ANALYTICS: set
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 13.0.0 build 1300
Git: 2.35.1 => /usr/local/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2-x86_64
CLT: 13.2.0.0.1.1638488800
Xcode: 13.2.1
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j12
CMAKE_PREFIX_PATH: /usr/local/opt/[email protected]:/usr/local/opt/qt@5:/usr/local/opt/libffi:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/icu4c:/usr/local/opt/m4:/usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/qt@5/Frameworks:/usr/local/opt/[email protected]/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/muparserx/lib/pkgconfig:/usr/local/opt/pothos/lib/pkgconfig:/usr/local/opt/qt@5/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/jpeg/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/webp/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/jasper/lib/pkgconfig:/usr/local/opt/netpbm/lib/pkgconfig:/usr/local/opt/gts/lib/pkgconfig:/usr/local/opt/libpthread-stubs/lib/pkgconfig:/usr/local/opt/libxau/lib/pkgconfig:/usr/local/opt/libxdmcp/lib/pkgconfig:/usr/local/opt/libxcb/lib/pkgconfig:/usr/local/opt/libx11/lib/pkgconfig:/usr/local/opt/libxext/lib/pkgconfig:/usr/local/opt/libxrender/lib/pkgconfig:/usr/local/opt/lzo/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/gdk-pixbuf/lib/pkgconfig:/usr/local/opt/fribidi/lib/pkgconfig:/usr/local/opt/gobject-introspection/lib/pkgconfig:/usr/local/opt/graphite2/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/pango/lib/pkgconfig:/usr/local/opt/librsvg/lib/pkgconfig:/usr/local/opt/graphviz/lib/pkgconfig:/usr/local/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/12
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/cmake/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/poco/bin:/usr/local/opt/pothos/bin:/usr/local/opt/qt@5/bin:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/giflib/bin:/usr/local/opt/webp/bin:/usr/local/opt/gd/bin:/usr/local/opt/gettext/bin:/usr/local/opt/pcre/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/glib/bin:/usr/local/opt/jasper/bin:/usr/local/opt/netpbm/bin:/usr/local/opt/gts/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/cairo/bin:/usr/local/opt/gdk-pixbuf/bin:/usr/local/opt/fribidi/bin:/usr/local/opt/gobject-introspection/bin:/usr/local/opt/graphite2/bin:/usr/local/opt/icu4c/bin:/usr/local/opt/harfbuzz/bin:/usr/local/opt/pango/bin:/usr/local/opt/librsvg/bin:/usr/local/opt/m4/bin:/usr/local/opt/libtool/bin:/usr/local/opt/graphviz/bin:/usr/bin:/bin:/usr/sbin:/sbin

Again, it's the same on both architectures. No issues with other homebrew formulas. Using zsh as standard shell.

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

No branches or pull requests

2 participants