lokkju / homebrew-formulae

3 stars 1 forks source link

Install issue on makefile.osx #5

Closed burnbrigther closed 10 years ago

burnbrigther commented 10 years ago

Hi Cole - just seeing some issues with Mavericks 9.1. Hoping you have some ideas:

venus:~ kurt$ brew install xolominer --debug Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/xolominer.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/leveldb.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/snappy.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/pkg-config.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/boost.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/berkeley-db4.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/openssl.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/miniupnpc.rb /usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gmp.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/leveldb.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/snappy.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/boost.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/berkeley-db4.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/openssl.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/miniupnpc.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/gmp.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/pkg-config.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/git.rb /usr/local/Library/Formula/xolominer.rb: loading /usr/local/Library/Formula/python.rb ==> Cloning https://github.com/lokkju/primecoin.git Updating /Library/Caches/Homebrew/xolominer--git ==> Checking out revision 7d767c9bc9bde7c94a58bc8b8c3a98d36fd35293 ==> make -f makefile.osx make: * [obj/rpcmining.o] Error 1 2 errors generated. make: * [obj/main.o] Error 1 2 errors generated. make: *\ [obj/bitcoinrpc.o] Error 1 /usr/local/Library/Homebrew/formula.rb:614:in `system' BuildError: Failed executing: make -f makefile.osx

  1. raise
  2. ignore
  3. backtrace
  4. irb
  5. shell Choose an action: 3 /usr/local/Library/Homebrew/formula.rb:614:insystem' /usr/local/Library/Homebrew/formula.rb:598:inopen' /usr/local/Library/Homebrew/formula.rb:598:insystem' /usr/local/Library/Formula/xolominer.rb:21:ininstall' /usr/local/Library/Homebrew/build.rb:165:ininstall' /usr/local/Library/Homebrew/formula.rb:272:inbrew' /usr/local/Library/Homebrew/formula.rb:627:instage' /usr/local/Library/Homebrew/resource.rb:63:inunpack' /usr/local/Library/Homebrew/extend/fileutils.rb:21:inmktemp' /usr/local/Library/Homebrew/resource.rb:60:inunpack' /usr/local/Library/Homebrew/resource.rb:53:instage' (**FORWARDABLE**):3:insend' (FORWARDABLE):3:instage' /usr/local/Library/Homebrew/formula.rb:625:instage' /usr/local/Library/Homebrew/formula.rb:267:inbrew' /usr/local/Library/Homebrew/build.rb:144:ininstall' /usr/local/Library/Homebrew/build.rb:45:in`main' /usr/local/Library/Homebrew/build.rb:12 /usr/local/Library/Formula/xolominer.rb:30
  6. raise
  7. ignore
  8. backtrace
  9. irb
  10. shell
lokkju commented 10 years ago

That error does not provide enough information for me to debug the issue. Please try this:

brew install xolominer --interactive
cd src
LDFLAGS="-v" CXXFLAGS="-v" make -f makefile.osx

and post any output that looks interesting.

burnbrigther commented 10 years ago

Here are the last bits. I can paste the whole thing in or in to pastebin. Hope this helps.

Thread model: posix "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -emit-obj -disable-free -disable-llvm-verifier -main-file-name memenv.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu corei7 -target-linker-version 224.1 -v -v -coverage-file /private/tmp/xolominer-DF7J/src/leveldb/helpers/memenv/memenv.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0 -isystem /usr/local/include -isystem /usr/include/libxml2 -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /System/Library/Frameworks/Python.framework/Versions/2.7/Headers -D OS_MACOSX -D LEVELDB_PLATFORM_POSIX -D BOOST_SPIRIT_THREADSAFE -D MAC_OSX -D MSG_NOSIGNAL=0 -D USE_IPV6=1 -D HAVE_BUILD_INFO -D _FORTIFY_SOURCE=2 -I . -I ./include -I /private/tmp/xolominer-DF7J/src -I /private/tmp/xolominer-DF7J/src/obj -I /private/tmp/xolominer-DF7J/src/leveldb/helpers -I /usr/local/opt/berkeley-db4/include -I /usr/local/opt/openssl/include -stdlib=libc++ -Os -Wno-unused-parameter -w -fdeprecated-macro -fdebug-compilation-dir /private/tmp/xolominer-DF7J/src/leveldb -ferror-limit 19 -fmessage-length 166 -pthread -stack-protector 2 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o helpers/memenv/memenv.o -x c++ helpers/memenv/memenv.cc clang -cc1 version 5.0 based upon LLVM 3.3svn default target x86_64-apple-darwin13.0.0 ignoring nonexistent directory "/usr/include/c++/v1" ignoring duplicate directory "/usr/local/include"

include "..." search starts here:

include <...> search starts here:

. ./include /private/tmp/xolominer-DF7J/src /private/tmp/xolominer-DF7J/src/obj /private/tmp/xolominer-DF7J/src/leveldb/helpers /usr/local/opt/berkeley-db4/include /usr/local/opt/openssl/include /usr/local/include /usr/include/libxml2 /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers /System/Library/Frameworks/Python.framework/Versions/2.7/Headers /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. clang -cc1 version 5.0 based upon LLVM 3.3svn default target x86_64-apple-darwin13.0.0 ignoring nonexistent directory "/usr/include/c++/v1" ignoring duplicate directory "/usr/local/include"

include "..." search starts here:

include <...> search starts here:

. ./include /private/tmp/xolominer-DF7J/src /private/tmp/xolominer-DF7J/src/obj /private/tmp/xolominer-DF7J/src/leveldb/helpers /usr/local/opt/berkeley-db4/include /usr/local/opt/openssl/include /usr/local/include /usr/include/libxml2 /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers /System/Library/Frameworks/Python.framework/Versions/2.7/Headers /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /usr/include /System/Library/Frameworks (framework directory) /Library/Frameworks (framework directory) End of search list. 2 errors generated. make: * [obj/checkpoints.o] Error 1 2 errors generated. make: * [obj/rpcnet.o] Error 1 rm -f libleveldb.a ar -rs libleveldb.a db/builder.o db/c.o db/db_impl.o db/db_iter.o db/dbformat.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block.o table/block_builder.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table.o table/table_builder.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/env_win.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o ar: creating archive libleveldb.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libleveldb.a(env_win.o) has no symbols rm -f libmemenv.a ar -rs libmemenv.a helpers/memenv/memenv.o ar: creating archive libmemenv.a 2 errors generated. make: * [obj/alert.o] Error 1 2 errors generated. make: * [obj/net.o] Error 1 2 errors generated. make: * [obj/rpcmining.o] Error 1 2 errors generated. make: * [obj/rpcdump.o] Error 1 2 errors generated. make: * [obj/main.o] Error 1 2 errors generated. make: * [obj/bitcoinrpc.o] Error 1

lokkju commented 10 years ago

Please update your tap and try again - I've committed a fix that may be related.

burnbrigther commented 10 years ago

Sorry ­ not to sound silly, how do I do that?

lokkju commented 10 years ago
brew update
brew install xolominer
burnbrigther commented 10 years ago

Yeah! That did it:

connecting to 54.200.248.75:1337

[MASTER] work received

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

PrimecoinMiner started

Probable prime chain found for block=65add0f86bc8c603322f65c8322c62dc687b31c1653ae09e5f8074113a6a7697!!

Target: 0a.4373f4

Chain: 1CC07.02ae2c

[MASTER] submitted share -> SHARE

[STATS] 2014-01-07 22:29:01 | 7-CH: 1 (100.0% | 97.3/h), VL: 1 (100.0%), RJ: 0 (0.0%), ST: 0 (0.0%)

[STATS] 2014-01-07 22:29:26 | 1759 primes/s, 28487 tests/s, 360 5-chains/h, 0.055 chains/d

lokkju commented 10 years ago

Awesome!

Good luck mining, and more suggestions are welcome.