[Nfd-dev] Jenkins OSX-10.9-64bit

Alex Afanasyev alexander.afanasyev at UCLA.EDU
Mon May 11 16:05:05 PDT 2015


Hi Vince and all,

I fixed the issue by upgrading compiler on OSX 10.10, but the same new version is not (yet) available for 10.9.  I made a workaround (http://gerrit.named-data.net/#/c/2030/ <http://gerrit.named-data.net/#/c/2030/>) that should address the issue for old OSX platforms.  After the code is merged, NLSR build should succeed.

—
Alex

> On May 11, 2015, at 10:58 AM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:
> 
> Hi Vince,
> 
> Other osx VMs seem to have a similar problem, I will try to investigate what’s wrong.  The thing that changed recently is that boost updated to version 1.58.
> 
>> Alex
> 
>> On May 11, 2015, at 9:21 AM, Vince Lehman (vslehman) <vslehman at memphis.edu <mailto:vslehman at memphis.edu>> wrote:
>> 
>> Hi all,
>> 
>> It looks like there may be a compiler issue on the OSX-10.9-64bit-ucla-mavericks-10010 VM that shows up when building ndn-cxx.
>> 
>> Here is the log output:
>> 
>> Started by upstream project "NLSR <http://jenkins.named-data.net/job/NLSR/>" build number 538 <http://jenkins.named-data.net/job/NLSR/538>
>> originally caused by:
>>  Retriggered by user vlehman1 at gmail.com <mailto:vlehman1 at gmail.com> for Gerrit: http://gerrit.named-data.net/2026 <http://gerrit.named-data.net/2026>
>> [EnvInject] - Loading node environment variables.
>> Building remotely on OSX-10.9-64bit-ucla-mavericks-10010 <http://jenkins.named-data.net/computer/OSX-10.9-64bit-ucla-mavericks-10010> (Boost1.55 OSX-10.9-64bit OSX) in workspace /Users/jenkins/workspace/NLSR/label/OSX-10.9-64bit
>>  > git rev-parse --is-inside-work-tree # timeout=10
>> Fetching changes from the remote Git repository
>>  > git config remote.origin.url ssh://jenkins@gerrit.named-data.net:29418/NLSR <ssh://jenkins@gerrit.named-data.net:29418/NLSR> # timeout=10
>> Pruning obsolete local branches
>> Fetching upstream changes from ssh://jenkins@gerrit.named-data.net:29418/NLSR <ssh://jenkins@gerrit.named-data.net:29418/NLSR>
>>  > git --version # timeout=10
>> using GIT_SSH to set credentials
>>  > git -c core.askpass=true fetch --tags --progress ssh://jenkins@gerrit.named-data.net:29418/NLSR <ssh://jenkins@gerrit.named-data.net:29418/NLSR> refs/changes/26/2026/5 --prune
>> Checking out Revision 41b173ed54f9df81cf5d32778da66b07130b0e7c (master)
>>  > git config core.sparsecheckout # timeout=10
>>  > git checkout -f 41b173ed54f9df81cf5d32778da66b07130b0e7c
>>  > git rev-parse FETCH_HEAD^{commit} # timeout=10
>>  > git rev-list 9630fbf4e03eaa91f7f7ed1e531b8bba1847fcba # timeout=10
>> Cleaning workspace
>>  > git rev-parse --verify HEAD # timeout=10
>> Resetting working tree
>>  > git reset --hard # timeout=10
>>  > git clean -fdx # timeout=10
>> run PrePostClean
>> running on OSX-10.9-64bit-ucla-mavericks-10010
>> clean on OSX-10.9-64bit-ucla-pistons-10003
>> [OSX-10.9-64bit] $ /bin/sh -xe /var/folders/dn/40ynwmgj3kvfpdtwhv5jlhc80000gn/T/hudson8268414739960411193.sh
>> + ./.jenkins
>> Run: /Users/jenkins/workspace/NLSR/label/OSX-10.9-64bit/.jenkins.d/01-dependencies.sh
>> + brew update
>> Already up-to-date.
>> + brew upgrade
>> Warning: brew upgrade with no arguments will change behaviour soon!
>> It currently upgrades all formula but this will soon change to require '--all'.
>> Please update any workflows, documentation and scripts!
>> + brew install boost pkg-config sqlite cryptopp log4cxx protobuf openssl
>> Warning: boost-1.58.0 already installed
>> Warning: pkg-config-0.28 already installed
>> Warning: sqlite-3.8.10.1 already installed
>> Warning: cryptopp-5.6.2 already installed
>> Warning: log4cxx-0.10.0 already installed
>> Warning: protobuf-2.6.1 already installed
>> Warning: openssl-1.0.2a-1 already installed
>> + brew cleanup
>> + has Ubuntu Boost1.55 OSX OSX-10.9-64bit OSX-10.9-64bit-ucla-mavericks-10010
>> + local p=Ubuntu
>> + shift
>> + local x
>> + for x in '"$@"'
>> + [[ Boost1.55 == \U\b\u\n\t\u ]]
>> + for x in '"$@"'
>> + [[ OSX == \U\b\u\n\t\u ]]
>> + for x in '"$@"'
>> + [[ OSX-10.9-64bit == \U\b\u\n\t\u ]]
>> + for x in '"$@"'
>> + [[ OSX-10.9-64bit-ucla-mavericks-10010 == \U\b\u\n\t\u ]]
>> + return 1
>> Run: /Users/jenkins/workspace/NLSR/label/OSX-10.9-64bit/.jenkins.d/10-ndn-cxx.sh
>> + set -e
>> + pushd /tmp
>> + INSTALLED_VERSION=adadb7108dbec453b3d8b6c89fe8b9067e7651e4
>> + sudo rm -Rf ndn-cxx-latest
>> + git clone --depth 1 git://github.com/named-data/ndn-cxx <git://github.com/named-data/ndn-cxx> ndn-cxx-latest
>> Cloning into 'ndn-cxx-latest'...
>> + LATEST_VERSION=adadb7108dbec453b3d8b6c89fe8b9067e7651e4
>> + [[ adadb7108dbec453b3d8b6c89fe8b9067e7651e4 != adadb7108dbec453b3d8b6c89fe8b9067e7651e4 ]]
>> + sudo rm -Rf ndn-cxx-latest
>> + sudo rm -Rf /usr/local/include/ndn-cxx
>> + sudo rm -f '/usr/local/lib/libndn-cxx*'
>> + sudo rm -f '/usr/local/lib/pkgconfig/libndn-cxx*'
>> + pushd ndn-cxx
>> + ./waf configure -j1 --color=yes --without-osx-keychain
>> Setting top to                           : /private/tmp/ndn-cxx
>> Setting out to                           : /private/tmp/ndn-cxx/build
>> Checking for 'clang++' (C++ compiler)    : /usr/bin/clang++
>> Checking supported CXXFLAGS              : -std=c++11 -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register -stdlib=libc++
>> Checking supported LINKFLAGS             : -stdlib=libc++
>> Checking supported CXXFLAGS              : -pedantic -Wall -O2 -g
>> Checking for program 'doxygen'           : /usr/local/bin/doxygen
>> Checking for program 'tar'               : /usr/bin/tar
>> Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-build
>> Checking for std::is_default_constructible : yes
>> Checking for std::is_move_constructible    : yes
>> Checking for std::is_move_assignable       : yes
>> Checking for friend typename-specifier     : yes
>> Checking for override and final specifiers : yes
>> Checking for program 'sh'                  : /bin/sh
>> Checking for library pthread               : yes
>> Checking for library rt                    : not found
>> Checking for compiler flags ['-fPIC']      : yes
>> Checking for function getpass              : yes
>> Checking for rtnetlink                     : not found
>> Checking for framework CoreFoundation      : yes
>> Checking for framework CoreServices        : yes
>> Checking for framework Security            : yes
>> Checking for program 'pkg-config'          : /usr/local/bin/pkg-config
>> Checking for 'sqlite3'                     : yes
>> Checking Crypto++ lib                      : 562
>> Checking if CryptoPP library works         : yes
>> Checking boost includes                    : 1.58.0
>> Checking boost libs                        : ok
>> Checking for boost linkage                 : ok
>> 'configure' finished successfully (16.395s)
>> + ./waf -j1 --color=yes
>> Waf: Entering directory `/private/tmp/ndn-cxx/build'
>> [  2/119] Compiling src/common-pch.hpp
>> [ 29/119] Compiling tools/ndnsec/main.cpp
>> Stack dump:
>> 0.	Program arguments: /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 main.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 241.9 -gdwarf-2 -coverage-file /private/tmp/ndn-cxx/build/tools/ndnsec/main.cpp.4.o -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0 -include-pch /private/tmp/ndn-cxx/build/ndn-cxx.2.pch -D NDEBUG -I /private/tmp/ndn-cxx/build/tools/ndnsec -I /private/tmp/ndn-cxx/tools/ndnsec -I /private/tmp/ndn-cxx/build/src -I /private/tmp/ndn-cxx/src -I /usr/local/include -stdlib=libc++ -O2 -Wall -Wno-error=unneeded-internal-declaration -Wno-error=deprecated-register -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /private/tmp/ndn-cxx/build -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /private/tmp/ndn-cxx/build/tools/ndnsec/main.cpp.4.o -x c++ ../tools/ndnsec/main.cpp
>> 1.	<eof> parser at end of file
>> 2.	/usr/local/include/boost/date_time/date_parsing.hpp:104:5: instantiating function definition 'parse_date'
>> 3.	/usr/local/include/boost/lexical_cast.hpp:37:19: instantiating function definition 'lexical_cast'
>> 4.	/usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:139:21: instantiating function definition 'try_lexical_convert'
>> 5.	/usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:472:32: instantiating function definition 'try_convert'
>> clang: error: unable to execute command: Segmentation fault: 11
>> clang: error: clang frontend command failed due to signal (use -v to see invocation)
>> Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
>> Target: x86_64-apple-darwin13.3.0
>> Thread model: posix
>> clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ <http://developer.apple.com/bugreporter/> and include the crash backtrace, preprocessed source, and associated run script.
>> clang: note: diagnostic msg:
>> ********************
>> 
>> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>> Preprocessed source(s) and associated run script(s) are located at:
>> clang: note: diagnostic msg: /var/folders/dn/40ynwmgj3kvfpdtwhv5jlhc80000gn/T/main-23e6db.cpp
>> clang: note: diagnostic msg: /var/folders/dn/40ynwmgj3kvfpdtwhv5jlhc80000gn/T/main-23e6db.sh
>> clang: note: diagnostic msg:
>> 
>> ********************
>> 
>> Waf: Leaving directory `/private/tmp/ndn-cxx/build'
>> Build failed
>>  -> task in '../bin/ndnsec' failed (exit status 254):
>> 	{task 4375932560: cxx main.cpp -> main.cpp.4.o}
>> ['/usr/bin/clang++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-Wno-error=unneeded-internal-declaration', '-Wno-error=deprecated-register', '-stdlib=libc++', '-fPIC', '-include', '/private/tmp/ndn-cxx/build/ndn-cxx.2', '-I/private/tmp/ndn-cxx/build/tools/ndnsec', '-I/private/tmp/ndn-cxx/tools/ndnsec', '-I/private/tmp/ndn-cxx/build/src', '-I/private/tmp/ndn-cxx/src', '-I/usr/local/include', '-DNDEBUG', '../tools/ndnsec/main.cpp', '-c', '-o', '/private/tmp/ndn-cxx/build/tools/ndnsec/main.cpp.4.o']
>> Build step 'Execute shell' marked build as failure
>> Skipping Cobertura coverage report as build was not UNSTABLE or better ...
>> Finished: FAILURE
>> 
>> 
>> 
>> 
>> --
>> Vince Lehman
>> 
>> _______________________________________________
>> Nfd-dev mailing list
>> Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150511/4215c452/attachment.html>
-------------- 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/nfd-dev/attachments/20150511/4215c452/attachment.bin>


More information about the Nfd-dev mailing list