[Ndn-lib] NDN-cxx update failed via macports on OS X

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed May 27 15:25:02 PDT 2015


Try to remove and re-install cryptopp port.  I have a suspicion that this could be related to the compiler update.

—
Alex

> On May 26, 2015, at 9:18 AM, Chaim Rieger <chaim.rieger at gmail.com> wrote:
> 
> version:1
> :msg:main --->  Computing dependencies for ndn-cxx:info:main .:debug:main ndn-cxx has no conflicts
> :debug:main Searching for dependency: pkgconfig
> :debug:main Found Dependency: receipt exists for pkgconfig
> :debug:main Searching for dependency: py27-sphinx
> :debug:main Found Dependency: receipt exists for py27-sphinx
> :debug:main Searching for dependency: boost
> :debug:main Found Dependency: receipt exists for boost
> :debug:main Searching for dependency: libcryptopp
> :debug:main Found Dependency: receipt exists for libcryptopp
> :debug:main Searching for dependency: sqlite3
> :debug:main Found Dependency: receipt exists for sqlite3
> :msg:main
> :debug:main Executing org.macports.main (ndn-cxx)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 502
> :debug:main Skipping completed org.macports.archivefetch (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (ndn-cxx)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Tue May 26 09:15:51 PDT 2015
> :notice:build --->  Building ndn-cxx
> :debug:build Executing org.macports.build (ndn-cxx)
> :debug:build Environment:
> CC_PRINT_OPTIONS='YES'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/.CC_PRINT_OPTIONS'
> CPATH='/opt/local/include'
> LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.10'
> :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2" && ./waf build'
> :debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2" && ./waf build
> :info:build Waf: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2/build'
> :info:build fatal: Not a git repository (or any of the parent directories): .git
> :info:build Extension 'sphinxcontrib.doxylink' in not available. Some documentation may not build correctly.
> :info:build To install, use
> :info:build   sudo pip install sphinxcontrib-doxylink
> :info:build [123/125] Linking build/bin/ndnsec
> :info:build [124/125] Linking build/bin/ndnputchunks3
> :info:build [125/125] Linking build/bin/ndncatchunks3
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "vtable for CryptoPP::SHA256", referenced from:
> :info:build       ndn::SecTpmFile::Impl::transformName(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&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       ndn::ndn_digestSha256(unsigned char const*, unsigned long, unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ndn::crypto::sha256(unsigned char const*, unsigned long) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ...
> :info:build   NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
> :info:build
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "vtable for CryptoPP::SHA256", referenced from:
> :info:build       ndn::ndn_digestSha256(unsigned char const*, unsigned long, unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ndn::crypto::sha256(unsigned char const*, unsigned long) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ndn::SecTpmFile::Impl::transformName(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&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       ...
> :info:build   NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
> :info:build
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "vtable for CryptoPP::SHA256", referenced from:
> :info:build       ndn::SecTpmFile::Impl::transformName(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&) in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::DL_SignerImpl<CryptoPP::DL_SignatureSchemeOptions<CryptoPP::DL_SS<CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256, int>, CryptoPP::DL_Keys_ECDSA<CryptoPP::ECP>, CryptoPP::DL_Algorithm_ECDSA<CryptoPP::ECP>, CryptoPP::DL_SignatureMessageEncodingMethod_DSA, CryptoPP::SHA256> >::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       CryptoPP::TF_ObjectImplBase<CryptoPP::TF_SignerBase, CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::PKCS1v15, CryptoPP::SHA256, CryptoPP::RSA, int>, CryptoPP::RSA, CryptoPP::PKCS1v15_SignatureMessageEncodingMethod, CryptoPP::SHA256>, CryptoPP::InvertibleRSAFunction>::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const in libndn-cxx.a(sec-tpm-file.cpp.2.o)
> :info:build       ndn::ndn_digestSha256(unsigned char const*, unsigned long, unsigned char*) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ndn::crypto::sha256(unsigned char const*, unsigned long) in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       CryptoPP::ClonableImpl<CryptoPP::SHA256, CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, CryptoPP::HashTransformation>, CryptoPP::SHA256> >::Clone() const in libndn-cxx.a(crypto.cpp.2.o)
> :info:build       ...
> :info:build   NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
> :info:build
> :info:build Waf: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2/build'
> :info:build Build failed
> :info:build  -> task in '../bin/ndnsec' failed (exit status 1):
> :info:build 	{task 4320757136: cxxprogram main.cpp.4.o -> ndnsec}
> :info:build ['/usr/bin/clang++', '-stdlib=libc++', 'tools/ndnsec/main.cpp.4.o', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2/build/bin/ndnsec', '-framework', 'CoreFoundation', '-framework', 'Security', '-L.', '-lndn-cxx', '-L/opt/local/lib', '-L/opt/local/lib', '-L/opt/local/lib', '-lboost_system-mt', '-lboost_filesystem-mt', '-lboost_date_time-mt', '-lboost_iostreams-mt', '-lboost_regex-mt', '-lboost_program_options-mt', '-lboost_chrono-mt', '-lboost_random-mt', '-lcryptopp', '-lsqlite3', '-lpthread', '-L/opt/local/lib', '-Wl,-headerpad_max_install_names', '-arch', 'x86_64']
> :info:build  -> task in '../bin/ndncatchunks3' failed (exit status 1):
> :info:build 	{task 4320737936: cxxprogram ndncatchunks3.cpp.1.o -> ndncatchunks3}
> :info:build ['/usr/bin/clang++', '-stdlib=libc++', 'tools/ndncatchunks3.cpp.1.o', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2/build/bin/ndncatchunks3', '-framework', 'CoreFoundation', '-framework', 'Security', '-L.', '-lndn-cxx', '-L/opt/local/lib', '-L/opt/local/lib', '-L/opt/local/lib', '-lboost_system-mt', '-lboost_filesystem-mt', '-lboost_date_time-mt', '-lboost_iostreams-mt', '-lboost_regex-mt', '-lboost_program_options-mt', '-lboost_chrono-mt', '-lboost_random-mt', '-lcryptopp', '-lsqlite3', '-lpthread', '-L/opt/local/lib', '-Wl,-headerpad_max_install_names', '-arch', 'x86_64']
> :info:build  -> task in '../bin/ndnputchunks3' failed (exit status 1):
> :info:build 	{task 4320756496: cxxprogram ndnputchunks3.cpp.2.o -> ndnputchunks3}
> :info:build ['/usr/bin/clang++', '-stdlib=libc++', 'tools/ndnputchunks3.cpp.2.o', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2/build/bin/ndnputchunks3', '-framework', 'CoreFoundation', '-framework', 'Security', '-L.', '-lndn-cxx', '-L/opt/local/lib', '-L/opt/local/lib', '-L/opt/local/lib', '-lboost_system-mt', '-lboost_filesystem-mt', '-lboost_date_time-mt', '-lboost_iostreams-mt', '-lboost_regex-mt', '-lboost_program_options-mt', '-lboost_chrono-mt', '-lboost_random-mt', '-lcryptopp', '-lsqlite3', '-lpthread', '-L/opt/local/lib', '-Wl,-headerpad_max_install_names', '-arch', 'x86_64']
> :info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.named-data.net_macports_net_ndn-cxx/ndn-cxx/work/ndn-cxx-ndn-cxx-0.3.2" && ./waf build
> :info:build Exit code: 1
> :error:build org.macports.build for port ndn-cxx returned: command execution failed
> :debug:build Error code: CHILDSTATUS 63583 1
> :debug:build Backtrace: command execution failed
>    while executing
> "system -nice 0 $fullcmdstring"
>    ("eval" body line 1)
>    invoked from within
> "eval system $notty $nice \$fullcmdstring"
>    invoked from within
> "command_exec build"
>    (procedure "portbuild::build_main" line 8)
>    invoked from within
> "portbuild::build_main org.macports.build"
>    ("eval" body line 1)
>    invoked from within
> "eval $procedure $targetname"
> :info:build Warning: targets not executed for ndn-cxx: org.macports.install org.macports.build org.macports.destroot
> :notice:build Please see the log file for port ndn-cxx for details:
> _______________________________________________
> Ndn-lib mailing list
> Ndn-lib at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-lib

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20150527/77930a8a/attachment.bin>


More information about the Ndn-lib mailing list