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

Build failed on Mac OS 10.11.6 [JIRA: RIAK-3222] #238

Closed
fogfish opened this issue Jan 28, 2017 · 8 comments
Closed

Build failed on Mac OS 10.11.6 [JIRA: RIAK-3222] #238

fogfish opened this issue Jan 28, 2017 · 8 comments

Comments

@fogfish
Copy link

fogfish commented Jan 28, 2017

The latest commit causes build failure on Mac OS 10.11.6

08ea482

ld: warning: object file (/Users/dkolesnikov/devel/z/typhoon/_build/default/lib/eleveldb/c_src/system/lib/libsnappy.a(snappy.o)) was built for newer OSX version (10.11) than being linked (10.8)
ld: warning: object file (/Users/dkolesnikov/devel/z/typhoon/_build/default/lib/eleveldb/c_src/system/lib/libsnappy.a(snappy-sinksource.o)) was built for newer OSX version (10.11) than being linked (10.8)
Undefined symbols for architecture x86_64:
  "std::__1::locale::use_facet(std::__1::locale::id&) const", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::ios_base::getloc() const", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(char const*, unsigned long)", referenced from:
      snappy::internal::WorkingMemory::GetHashTable(unsigned long, int*) in libsnappy.a(snappy.o)
      snappy::internal::CompressFragment(char const*, unsigned long, char*, unsigned short*, int) in libsnappy.a(snappy.o)
      snappy::Compress(snappy::Source*, snappy::Sink*) in libsnappy.a(snappy.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__init(unsigned long, char)", referenced from:
      std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char) in libsnappy.a(snappy.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::resize(unsigned long, char)", referenced from:
      snappy::Uncompress(char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in libsnappy.a(snappy.o)
      snappy::Compress(char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) in libsnappy.a(snappy.o)
  "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()", referenced from:
      snappy::internal::WorkingMemory::GetHashTable(unsigned long, int*) in libsnappy.a(snappy.o)
      snappy::internal::CompressFragment(char const*, unsigned long, char*, unsigned short*, int) in libsnappy.a(snappy.o)
      snappy::Compress(snappy::Source*, snappy::Sink*) in libsnappy.a(snappy.o)
      std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char) in libsnappy.a(snappy.o)
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::put(char)", referenced from:
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::flush()", referenced from:
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::sentry(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
  "std::__1::basic_ostream<char, std::__1::char_traits<char> >::sentry::~sentry()", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
  "std::__1::cerr", referenced from:
      snappy::internal::WorkingMemory::GetHashTable(unsigned long, int*) in libsnappy.a(snappy.o)
      snappy::internal::CompressFragment(char const*, unsigned long, char*, unsigned short*, int) in libsnappy.a(snappy.o)
      snappy::Compress(snappy::Source*, snappy::Sink*) in libsnappy.a(snappy.o)
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::ctype<char>::id", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::locale::~locale()", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
      snappy::LogMessageCrash::~LogMessageCrash() in libsnappy.a(snappy.o)
      snappy::LogMessage::~LogMessage() in libsnappy.a(snappy.o)
  "std::__1::ios_base::__set_badbit_and_consider_rethrow()", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
  "std::__1::ios_base::clear(unsigned int)", referenced from:
      std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::__put_character_sequence<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*, unsigned long) in libsnappy.a(snappy.o)
ld: symbol(s) not found for architecture x86_64
@Basho-JIRA Basho-JIRA changed the title Build failed on Mac OS 10.11.6 Build failed on Mac OS 10.11.6 [JIRA: RIAK-3222] Jan 28, 2017
@matthewvon
Copy link
Contributor

... of course that check-in was submitted to fix a Mac OS build problem ... will be in touch ...

@matthewvon
Copy link
Contributor

@angrycub ... breadcrumb to here

@fogfish
Copy link
Author

fogfish commented Jan 28, 2017

I know ... However, If I revert that commit the issue is gone

@matthewvon
Copy link
Contributor

we do not have a "buildbot" for that release. Hence the problem slipped through. Sending it back to author. Likely Monday or Tuesday before resolved.

@matthewvon
Copy link
Contributor

Would you pull this branch and see if everything now builds for you? If so, I will merge it to develop. Thank you.

@fogfish
Copy link
Author

fogfish commented Feb 2, 2017

What is the branch id? Sorry, I am not able to identify it among branches available in this repository. Is the fix at develop branch already?

@fogfish
Copy link
Author

fogfish commented Feb 2, 2017

🤦‍♂️ You are talking about cv-disable-snappy-dylibs. Yes, it fixes the issue.

 {eleveldb, ".*",
       %{git, "https://github.com/basho/eleveldb", {branch, develop}}
       {git, "https://github.com/basho/eleveldb", {branch, 'cv-disable-snappy-dylibs'}}
 }

@angrycub
Copy link
Contributor

angrycub commented Feb 2, 2017

Thanks for the report and verifying the fix, @fogfish.

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

No branches or pull requests

4 participants