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

Upgrade pothosblocks 0.5.2 and pothospython 0.4.1 fails #43

Open
lorond opened this issue Aug 17, 2020 · 2 comments
Open

Upgrade pothosblocks 0.5.2 and pothospython 0.4.1 fails #43

lorond opened this issue Aug 17, 2020 · 2 comments

Comments

@lorond
Copy link

lorond commented Aug 17, 2020

lorond@mbp ~ % brew upgrade
==> Upgrading 2 outdated packages:
pothosware/pothos/pothosblocks 0.5.1 -> 0.5.2
pothosware/pothos/pothospython 0.4.0 -> 0.4.1
==> Upgrading pothosware/pothos/pothosblocks 0.5.1 -> 0.5.2 
==> Downloading https://github.com/pothosware/PothosBlocks/archive/pothos-blocks-0.5.2.tar.gz
Already downloaded: /Users/lorond/Library/Caches/Homebrew/downloads/5b98f5b48cb2f075ae2eb9fdec3ea340d4103bd967260fe1671cc95298328ed5--PothosBlocks-pothos-blocks-0.5.2.tar.gz
==> cmake ..
==> make install
Last 15 lines from /Users/lorond/Library/Logs/Homebrew/pothosblocks/02.make:
                                                                     ^
/tmp/pothosblocks-20200817-11722-3k0yvj/PothosBlocks-pothos-blocks-0.5.2/stream/TestRepeat.cpp:109:5: note: built-in candidate operator==(unsigned __int128, unsigned __int128)
/usr/local/include/Pothos/Testing.hpp:112:70: note: expanded from macro 'POTHOS_TEST_EQUAL'
        " == " + Pothos::TestingBase::current().toString(rhs), (lhs) == (rhs)); \
                                                                     ^
/usr/local/include/Pothos/Framework/BufferChunk.hpp:268:21: note: candidate function
inline bool Pothos::operator==(const Pothos::BufferChunk &lhs, const Pothos::BufferChunk &rhs)
                    ^
1 error generated.
make[2]: *** [stream/CMakeFiles/StreamBlocks.dir/TestRepeat.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [stream/CMakeFiles/StreamBlocks.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [testers/CMakeFiles/TesterBlocks.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/pothosware/homebrew-pothos/issues


==> Upgrading pothosware/pothos/pothospython 0.4.0 -> 0.4.1 
==> Downloading https://github.com/pothosware/PothosPython/archive/pothos-python-0.4.1.tar.gz
Already downloaded: /Users/lorond/Library/Caches/Homebrew/downloads/cdae25bbb786bcb581e1011499150ca4246b8ea3c9746538458f5535e0b79d4e--PothosPython-pothos-python-0.4.1.tar.gz
==> cmake .. -DUSE_PYTHON_CONFIG=ON -DPython_ADDITIONAL_VERSIONS=3
==> make install
Last 15 lines from /Users/lorond/Library/Logs/Homebrew/pothospython/02.make:
             ^
/tmp/pothospython-20200817-12683-vsuvp1/PothosPython-pothos-python-0.4.1/PythonInfo.cpp:31:44: error: call to member function 'call' is ambiguous
    versionInfo["Serial"] = sysVersionInfo.call<int>("__getitem__", 4);
                            ~~~~~~~~~~~~~~~^~~~~~~~~
/usr/local/include/Pothos/Proxy/ProxyImpl.hpp:77:19: note: candidate function [with ReturnType = int, ArgsType = <int>]
ReturnType Proxy::call(const std::string &name, ArgsType&&... args) const
                  ^
/usr/local/include/Pothos/Proxy/ProxyImpl.hpp:84:14: note: candidate function [with ArgsType = <int>]
Proxy Proxy::call(const std::string &name, ArgsType&&... args) const
             ^
4 errors generated.
make[2]: *** [CMakeFiles/PythonSupport.dir/PythonInfo.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/PythonSupport.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/pothosware/homebrew-pothos/issues
@guruofquality
Copy link
Contributor

Both blocks and python should compile now with --head option

@JelbertHoltrop
Copy link

brew install pothospython --head
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 5 formulae.

==> Installing pothospython from pothosware/pothos
==> Cloning https://github.com/pothosware/PothosPython.git
Updating /Users/jelbertholtrop/Library/Caches/Homebrew/pothospython--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 5ae94e2 Fix invalid pointer cast by adding unused args argument to some functions
==> cmake .. -DUSE_PYTHON_CONFIG=ON -DPython_ADDITIONAL_VERSIONS=3
==> make install
Last 15 lines from /Users/jelbertholtrop/Library/Logs/Homebrew/pothospython/02.make:
PyObjectRef::~PyObjectRef() in PythonProxy.cpp.o
PyObjectRef::operator=(PyObjectRef const&) in PythonHandle.cpp.o
getErrorString() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonHandle.cpp.o
PyObjectRef::~PyObjectRef() in PythonConvert.cpp.o
"__Py_NoneStruct", referenced from:
PythonProxyHandle::call(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, Pothos::Proxy const*, unsigned long) in PythonHandle.cpp.o
convertNullToPyNone(std::__1::shared_ptrPothos::ProxyEnvironment, Pothos::NullObject const&) in PythonConvert.cpp.o
"__Py_TrueStruct", referenced from:
convertPyBoolToBool(Pothos::Proxy const&) in PythonConvert.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]: *** [libPythonSupport.so] Error 1
make[1]: *** [CMakeFiles/PythonSupport.dir/all] Error 2
make: *** [all] Error 2

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

3 participants