Project

General

Profile

Actions

Bug #4060

closed

CI script should recompile ndn-cxx if Boost is upgraded

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

CI script by default uses cached ndn-cxx build if there isn't a new commit in ndn-cxx repository, in order to reduce build time.
However, if Boost libraries are upgraded in HomeBrew, ndn-cxx should be recompiled. Otherwise, there will be runtime errors due to ABI mismatch between ndn-cxx and Boost.

Actions #1

Updated by Junxiao Shi over 7 years ago

Example of this error: http://jenkins.named-data.net/job/NLSR/1073/label=OSX-10.10/consoleText

+ brew upgrade
Updating Homebrew...
==> Upgrading 1 outdated package, with result:
boost 1.64.0
==> Upgrading boost 
==> Downloading https://homebrew.bintray.com/bottles/boost-1.64.0.yosemite.bottle.tar.gz
==> Pouring boost-1.64.0.yosemite.bottle.tar.gz
    /usr/local/Cellar/boost/1.64.0: 12,628 files, 418.7MB

+ INSTALLED_VERSION=e8e48c26448c380a568c0cbddd537f6562d6242d
+ LATEST_VERSION=e8e48c26448c380a568c0cbddd537f6562d6242d

+ ./build/unit-tests-nlsr -l test_suite
dyld: Symbol not found: __ZNK5boost16re_detail_10630031cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
  Referenced from: /usr/local/lib/libndn-cxx.0.5.1.dylib
  Expected in: /usr/local/opt/boost/lib/libboost_regex-mt.dylib
 in /usr/local/lib/libndn-cxx.0.5.1.dylib
/Users/jenkins/workspace/NLSR/label/OSX-10.10/.jenkins.d/30-tests.sh: line 7: 56165 Trace/BPT trap: 5       ./build/unit-tests-nlsr -l test_suite
Build step 'Execute shell' marked build as failure
Actions #2

Updated by Davide Pesavento over 7 years ago

Duplicate of #3321

Actions #3

Updated by Junxiao Shi over 7 years ago

  • Project changed from NFD to NLSR
  • Category deleted (Build)
  • Target version deleted (v0.6)
  • Start date deleted (04/20/2017)

Moving to NLSR, so it's not a duplicate.

Actions #4

Updated by Ashlesh Gawande over 7 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 90
Actions #5

Updated by Ashlesh Gawande over 7 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF