pothosware / homebrew-pothos

Homebrew formulas for Pothos and SoapySDR
https://github.com/pothosware/homebrew-pothos/wiki
MIT License
62 stars 17 forks source link

Make install repeatedly fails installing dependency pothos #31

Closed Patronics closed 4 years ago

Patronics commented 6 years ago

I get this error repeatedly when attempting to use homebrew to install

`==> Installing pothosware/pothos/pothosplotters dependency: pothos ==> Downloading https://github.com/pothosware/PothosCore/archive/pothos-0.6.1.ta Already downloaded: /Users/rebekah/Library/Caches/Homebrew/downloads/3643acb550dd1b14ce913a36d15b92e81be83172959efb65683777b1a65f4a00--PothosCore-pothos-0.6.1.tar.gz ==> cmake .. -DPOTHOS_EXTVER=release -DPOTHOS_ROOT='/usr/local' -DENABLE_INTERNA ==> make install Last 15 lines from /Users/rebekah/Library/Logs/Homebrew/pothos/02.make: cd /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -DPOTHOS_DLL_EXPORTS -DPOTHOS_LIBRARY_NAME=\"libPothos.0.6.1.dylib\" -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/include -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib -I/usr/local/include/muparserx -I/usr/local/include/nlohmann -isystem /usr/local/include -DNDEBUG -fPIC -std=gnu++11 -o CMakeFiles/Pothos.dir/Framework/SharedBufferUnix.cpp.o -c /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib/Framework/SharedBufferUnix.cpp [ 89%] Building CXX object lib/CMakeFiles/Pothos.dir/Util/FileLockUnix.cpp.o cd /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -DPOTHOS_DLL_EXPORTS -DPOTHOS_LIBRARY_NAME=\"libPothos.0.6.1.dylib\" -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/include -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib -I/usr/local/include/muparserx -I/usr/local/include/nlohmann -isystem /usr/local/include -DNDEBUG -fPIC -std=gnu++11 -o CMakeFiles/Pothos.dir/Util/FileLockUnix.cpp.o -c /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib/Util/FileLockUnix.cpp [ 90%] Building CXX object lib/CMakeFiles/Pothos.dir/Util/Builtin/TestCompilerSupport.cpp.o cd /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -DPOTHOS_DLL_EXPORTS -DPOTHOS_LIBRARY_NAME=\"libPothos.0.6.1.dylib\" -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/include -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib -I/usr/local/include/muparserx -I/usr/local/include/nlohmann -isystem /usr/local/include -DNDEBUG -fPIC -std=gnu++11 -o CMakeFiles/Pothos.dir/Util/Builtin/TestCompilerSupport.cpp.o -c /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib/Util/Builtin/TestCompilerSupport.cpp [ 91%] Building CXX object lib/CMakeFiles/Pothos.dir/Util/Builtin/ClangCompilerSupport.cpp.o cd /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DPOCO_NO_AUTOMATIC_LIBS -DPOTHOS_DLL_EXPORTS -DPOTHOS_LIBRARY_NAME=\"libPothos.0.6.1.dylib\" -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/include -I/tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib -I/usr/local/include/muparserx -I/usr/local/include/nlohmann -isystem /usr/local/include -DNDEBUG -fPIC -std=gnu++11 -o CMakeFiles/Pothos.dir/Util/Builtin/ClangCompilerSupport.cpp.o -c /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/lib/Util/Builtin/ClangCompilerSupport.cpp [ 91%] Linking CXX shared library libPothos.dylib cd /tmp/pothos-20180924-27704-19z82ew/PothosCore-pothos-0.6.1/build/lib && /usr/local/Cellar/cmake/3.12.2/bin/cmake -E cmake_link_script CMakeFiles/Pothos.dir/link.txt --verbose=1 /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names -flat_namespace -compatibility_version 0.6.0 -current_version 0.6.1 -o libPothos.0.6.1.dylib -install_name @rpath/libPothos.0.6.dylib CMakeFiles/Pothos.dir/System/NumaInfoOSX.cpp.o CMakeFiles/Pothos.dir/Framework/ThreadConfigUnix.cpp.o CMakeFiles/Pothos.dir/Init.cpp.o CMakeFiles/Pothos.dir/Testing.cpp.o CMakeFiles/Pothos.dir/Exception.cpp.o CMakeFiles/Pothos.dir/System/Logger.cpp.o CMakeFiles/Pothos.dir/Version.cpp.o CMakeFiles/Pothos.dir/Paths.cpp.o CMakeFiles/Pothos.dir/System/HostInfo.cpp.o CMakeFiles/Pothos.dir/System/NumaInfo.cpp.o CMakeFiles/Pothos.dir/System/Exception.cpp.o CMakeFiles/Pothos.dir/Object/Object.cpp.o CMakeFiles/Pothos.dir/Object/Hash.cpp.o CMakeFiles/Pothos.dir/Object/Compare.cpp.o CMakeFiles/Pothos.dir/Object/Convert.cpp.o CMakeFiles/Pothos.dir/Object/ToString.cpp.o CMakeFiles/Pothos.dir/Object/Serialize.cpp.o CMakeFiles/Pothos.dir/Object/Exception.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/Compare.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/ConvertIntermediate.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/ConvertIntegers.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/ConvertFloats.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/ConvertString.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/Hash.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/Serialize.cpp.o CMakeFiles/Pothos.dir/Object/Builtin/Tests.cpp.o CMakeFiles/Pothos.dir/Callable/Callable.cpp.o CMakeFiles/Pothos.dir/Callable/CallInterface.cpp.o CMakeFiles/Pothos.dir/Callable/CallRegistry.cpp.o CMakeFiles/Pothos.dir/Callable/Exception.cpp.o CMakeFiles/Pothos.dir/Callable/Tests.cpp.o CMakeFiles/Pothos.dir/Framework/Packet.cpp.o CMakeFiles/Pothos.dir/Framework/DType.cpp.o CMakeFiles/Pothos.dir/Framework/Label.cpp.o CMakeFiles/Pothos.dir/Framework/InputPort.cpp.o CMakeFiles/Pothos.dir/Framework/OutputPort.cpp.o CMakeFiles/Pothos.dir/Framework/Connectable.cpp.o CMakeFiles/Pothos.dir/Framework/Block.cpp.o CMakeFiles/Pothos.dir/Framework/Topology.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyCommit.cpp.o CMakeFiles/Pothos.dir/Framework/TopologySquashFlows.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyNetworkFlows.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyDomainFlows.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyDotMarkup.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyDumpJSON.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyMakeJSON.cpp.o CMakeFiles/Pothos.dir/Framework/TopologyStatsJSON.cpp.o CMakeFiles/Pothos.dir/Framework/WorkInfo.cpp.o CMakeFiles/Pothos.dir/Framework/WorkerActor.cpp.o CMakeFiles/Pothos.dir/Framework/WorkerActorPortAllocation.cpp.o CMakeFiles/Pothos.dir/Framework/ThreadPool.cpp.o CMakeFiles/Pothos.dir/Framework/ThreadEnvironment.cpp.o CMakeFiles/Pothos.dir/Framework/SharedBuffer.cpp.o CMakeFiles/Pothos.dir/Framework/ManagedBuffer.cpp.o CMakeFiles/Pothos.dir/Framework/BufferPool.cpp.o CMakeFiles/Pothos.dir/Framework/BufferChunk.cpp.o CMakeFiles/Pothos.dir/Framework/BufferConvert.cpp.o CMakeFiles/Pothos.dir/Framework/BufferManager.cpp.o CMakeFiles/Pothos.dir/Framework/BufferAccumulator.cpp.o CMakeFiles/Pothos.dir/Framework/BlockRegistry.cpp.o CMakeFiles/Pothos.dir/Framework/Exception.cpp.o CMakeFiles/Pothos.dir/ConfLoader/ConfLoader.cpp.o CMakeFiles/Pothos.dir/ConfLoader/FileRealPath.cpp.o CMakeFiles/Pothos.dir/ConfLoader/BlockDescLoader.cpp.o CMakeFiles/Pothos.dir/ConfLoader/JSONTopologyLoader.cpp.o CMakeFiles/Pothos.dir/ConfLoader/JITCompilerLoader.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/CircularBufferManager.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestBufferChunkSerialization.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestBufferConvert.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestDType.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestAutomaticPorts.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestSharedBuffer.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/GenericBufferManager.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestCircularBufferManager.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestGenericBufferManager.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestWorker.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestLabel.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestThreadPool.cpp.o CMakeFiles/Pothos.dir/Framework/Builtin/TestTopology.cpp.o CMakeFiles/Pothos.dir/Plugin/Path.cpp.o CMakeFiles/Pothos.dir/Plugin/Plugin.cpp.o CMakeFiles/Pothos.dir/Plugin/Registry.cpp.o CMakeFiles/Pothos.dir/Plugin/Module.cpp.o CMakeFiles/Pothos.dir/Plugin/ModuleSafeLoad.cpp.o CMakeFiles/Pothos.dir/Plugin/ModulePaths.cpp.o CMakeFiles/Pothos.dir/Plugin/Static.cpp.o CMakeFiles/Pothos.dir/Plugin/Exception.cpp.o CMakeFiles/Pothos.dir/Loader.cpp.o CMakeFiles/Pothos.dir/Plugin/Tests.cpp.o CMakeFiles/Pothos.dir/Proxy/Proxy.cpp.o CMakeFiles/Pothos.dir/Proxy/Handle.cpp.o CMakeFiles/Pothos.dir/Proxy/Convert.cpp.o CMakeFiles/Pothos.dir/Proxy/Environment.cpp.o CMakeFiles/Pothos.dir/Proxy/Exception.cpp.o CMakeFiles/Pothos.dir/Proxy/Builtin/ConvertContainers.cpp.o CMakeFiles/Pothos.dir/Remote/RemoteProxyDatagram.cpp.o CMakeFiles/Pothos.dir/Remote/RemoteProxy.cpp.o CMakeFiles/Pothos.dir/Remote/RemoteProxyHandle.cpp.o CMakeFiles/Pothos.dir/Remote/Server.cpp.o CMakeFiles/Pothos.dir/Remote/ServerHandler.cpp.o CMakeFiles/Pothos.dir/Remote/Client.cpp.o CMakeFiles/Pothos.dir/Remote/Exception.cpp.o CMakeFiles/Pothos.dir/Remote/Builtin/TestRemote.cpp.o CMakeFiles/Pothos.dir/Managed/Class.cpp.o CMakeFiles/Pothos.dir/Managed/Registry.cpp.o CMakeFiles/Pothos.dir/Managed/Exception.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/ManagedHandle.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/ManagedProxy.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/TestManaged.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/TestManagedOpaque.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/TestManagedWildcard.cpp.o CMakeFiles/Pothos.dir/Managed/Builtin/TestManagedInheritance.cpp.o CMakeFiles/Pothos.dir/Util/UID.cpp.o CMakeFiles/Pothos.dir/Util/RefHolder.cpp.o CMakeFiles/Pothos.dir/Util/TypeInfo.cpp.o CMakeFiles/Pothos.dir/Util/Compiler.cpp.o CMakeFiles/Pothos.dir/Util/Network.cpp.o CMakeFiles/Pothos.dir/Util/EvalEnvironment.cpp.o CMakeFiles/Pothos.dir/Util/EvalEnvironmentListParsers.cpp.o CMakeFiles/Pothos.dir/Util/BlockDescription.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/BlockEval.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/DeviceInfoUtils.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/DocUtils.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/TestDocUtils.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/TestEvalExpression.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/TestRingDeque.cpp.o CMakeFiles/Pothos.dir/Archive/ArchiveEntry.cpp.o CMakeFiles/Pothos.dir/Archive/StreamArchiver.cpp.o CMakeFiles/Pothos.dir/Archive/TestBasicTypes.cpp.o CMakeFiles/Pothos.dir/Archive/TestCustomType.cpp.o CMakeFiles/Pothos.dir/Archive/TestPolymorphicType.cpp.o CMakeFiles/Pothos.dir/Archive/Exception.cpp.o CMakeFiles/Pothos.dir/Framework/SharedBufferUnix.cpp.o CMakeFiles/Pothos.dir/Util/FileLockUnix.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/TestCompilerSupport.cpp.o CMakeFiles/Pothos.dir/Util/Builtin/ClangCompilerSupport.cpp.o /usr/local/lib/libPocoUtil.60.dylib /usr/local/lib/libPocoXML.60.dylib /usr/local/lib/libPocoNet.60.dylib /usr/local/lib/libmuparserx.a -framework CoreFoundation /usr/local/lib/libPocoJSON.60.dylib /usr/local/lib/libPocoFoundation.60.dylib ld: in '/usr/local/lib/libz.1.dylib', can't open file, errno=13 for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [lib/libPothos.0.6.1.dylib] Error 1 make[1]: [lib/CMakeFiles/Pothos.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 commented 6 years ago

ld: in '/usr/local/lib/libz.1.dylib', can't open file, errno=13 for architecture x86_64

Strange. Is something wrong with your zlib install? or can you reinstall it

pquodling commented 5 years ago

I am getting similar, I believe

brew upgrade    4977  12:02:34  Updating Homebrew... ==> Upgrading 1 outdated package: pothosware/pothos/soapybladerf 0.4.0 -> 0.4.1 ==> Upgrading pothosware/pothos/soapybladerf ==> Downloading https://github.com/pothosware/SoapyBladeRF/archive/soapy-bladerf-0.4.1.tar.gz Already downloaded: /Users/peter/Library/Caches/Homebrew/downloads/f963c180b08ad222fa4a8e285ae49280e32d463243a769b68de6c8a8e7b17b26--SoapyBladeRF-soapy-bladerf-0.4.1.tar.gz ==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/soapybladerf/0.4 ==> make install Last 15 lines from /Users/peter/Library/Logs/Homebrew/soapybladerf/02.make: struct /usr/local/include/libbladeRF.h:2733:15: note: struct 'bladerf_stream' is hidden by a non-type declaration of 'bladerf_stream' here int CALL_CONV bladerf_stream(struct bladerf_stream *stream, ^ /tmp/soapybladerf-20190402-37532-1llxx9v/SoapyBladeRF-soapy-bladerf-0.4.1/bladeRF_Settings.cpp:100:24: error: variable has incomplete type 'bladerf_stream' bladerf_serial serial; ^ /usr/local/include/libbladeRF.h:2583:8: note: forward declaration of 'bladerf_stream' struct bladerf_stream; ^ 6 errors generated. make[2]: [CMakeFiles/bladeRFSupport.dir/bladeRF_Settings.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/bladeRFSupport.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 commented 5 years ago

Looks like entirely different issues. Basically there are going to be dependency issues in brew because sometimes different packages are installed on the system, and sometimes outside of brews control. I would look closer at what version of bladerf development files are installed. The latest SoapyBladeRF build needs v2 of the bladerf API.

PeterDragonTM commented 4 years ago

I am having the same issues, saw the posts and decided to format the MacBook Pro with macOS 10.15.3. Completely vanilla install

1: Installed home brew per "https://brew.sh" 2: Installed Xcode Command Linetools and brew taps for Pothosware per "https://github.com/pothosware/homebrew-pothos/wiki" 3: Ran install command "brew install pothosaudio"

Error appears after step 3. Repeated the above steps 3 times, each time formatted the HDD. Issue is repeatable on the current version of macOS, HomeBrew, etc...

% brew install pothosaudio
==> Installing pothosaudio from pothosware/pothos
==> Tapping nlohmann/json
Cloning into '/usr/local/Homebrew/Library/Taps/nlohmann/homebrew-json'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 136 (delta 6), reused 11 (delta 3), pack-reused 121
Receiving objects: 100% (136/136), 45.38 MiB | 21.58 MiB/s, done.
Resolving deltas: 100% (71/71), done.
Tapped 1 formula (29 files, 45.4MB).
==> Installing dependencies for pothosware/pothos/pothosaudio: cmake, poco, nlohmann/json/nlohmann_json, pothosware/pothos/muparserx, pothos and portaudio
==> Installing pothosware/pothos/pothosaudio dependency: cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.16.4.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/f2/f2133296c86e3b92305d34eb181a87d7b9c17a43b233264bdd02611afa2a856c?__gda__=exp=1582260610~hmac=02b936b1279947ffda25f9172bcb46df7f2d3aa989b37c49b4866ea8b55a290d&response-c
######################################################################## 100.0%
==> Pouring cmake-3.16.4.catalina.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.16.4: 6,015 files, 55.9MB
==> Installing pothosware/pothos/pothosaudio dependency: poco
==> Downloading https://homebrew.bintray.com/bottles/poco-1.10.1.catalina.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/07/0755dff1346ea80aa6202ce3e8269c608960abd4bf0a4566e56075cc99364b57?__gda__=exp=1582260620~hmac=4ad167728a7b1ee04c09c5b21ee2304d0cfb90f45092c3006efa551bbde956c9&response-c
######################################################################## 100.0%
==> Pouring poco-1.10.1.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/poco/1.10.1: 869 files, 13.3MB
==> Installing pothosware/pothos/pothosaudio dependency: nlohmann/json/nlohmann_json
==> Downloading https://github.com/nlohmann/json/archive/v3.7.3.tar.gz
==> Downloading from https://codeload.github.com/nlohmann/json/tar.gz/v3.7.3
######################################################################## 100.0%
==> Caveats
If built with CMake support, you can use find_package to use the library.

Without it, please set your include path accordingly:
CPPFLAGS: -I/usr/local/opt/nlohmann_json/include
==> Summary
🍺  /usr/local/Cellar/nlohmann_json/3.7.3: 5 files, 1MB, built in 29 seconds
==> Installing pothosware/pothos/pothosaudio dependency: pothosware/pothos/muparserx
==> Downloading https://github.com/beltoforion/muparserx/archive/v4.0.7.tar.gz
==> Downloading from https://codeload.github.com/beltoforion/muparserx/tar.gz/v4.0.7
######################################################################## 100.0%
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/muparserx/4.0.7 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=O
==> make install
🍺  /usr/local/Cellar/muparserx/4.0.7: 56 files, 1.3MB, built in 17 seconds
==> Installing pothosware/pothos/pothosaudio dependency: pothos
==> Downloading https://github.com/pothosware/PothosCore/archive/pothos-0.6.1.tar.gz
==> Downloading from https://codeload.github.com/pothosware/PothosCore/tar.gz/pothos-0.6.1
######################################################################## 100.0%
==> cmake .. -DPOTHOS_EXTVER=release -DPOTHOS_ROOT='/usr/local' -DENABLE_INTERNAL_POCO=OFF -DENABLE_INTERNAL_SPUCE=OFF -DENABLE_INTERNAL_MUPARSERX=OFF -DENABLE_INTERNAL_SERIALIZATION=OFF -DENABLE_TOOLKITS=OFF -DCMAKE_C_
==> make install
Last 15 lines from /Users/nobody/Library/Logs/Homebrew/pothos/02.make:
inline std::size_t hash(UInt32 n)
                   ^
/usr/local/include/Poco/Hash.h:90:20: note: candidate function
inline std::size_t hash(Int64 n)
                   ^
/usr/local/include/Poco/Hash.h:96:20: note: candidate function
inline std::size_t hash(UInt64 n)
                   ^
1 error generated.
make[2]: *** [lib/CMakeFiles/Pothos.dir/Object/Compare.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [lib/CMakeFiles/Pothos.dir/Object/Convert.cpp.o] Error 1
make[1]: *** [lib/CMakeFiles/Pothos.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

These open issues may also help:
Make install repeatedly fails installing dependency pothos https://github.com/pothosware/homebrew-pothos/issues/31
guruofquality commented 4 years ago

Any chance I could get that last post with the --verbose option? Maybe there was a poco header incompatibility or change, or some weird typedef. The full compiler error should show what source it was trying to build.

Also, you might want to try --head see if thats any different.

PeterDragonTM commented 4 years ago

Below is the verbose output.


==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
aliyun-cli
apollo-cli
arduino-cli
autorest
go-jira
grpc
hcloud
helmfile
kompose
lego
mongo-c-driver
netlify-cli
protoc-gen-go
pulumi
pumba
tflint
v8
wireshark
guruofquality commented 4 years ago

Its some API change in poco. I redid my hash combine to not use it, and I checked that this builds on brew: https://github.com/pothosware/PothosCore/commit/7385e09b4c865a4f1d14426185e28ad3f134ee72

So if you build with --head for this component it should be fine. There should be a 0.7 release in the near future.

Im closing this issue, seems to be a bit of a grab bag of different things at this point.