Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-1518

Android build failure when building boost


    • Type: Bug
    • Status: Closed
    • Priority: Undecided
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
    • Found in Version/s:
    • Fixed in Version/s:
    • Issue Severity:
    • Reproducibility:
      Often (51% - 99%)


      Discription from iotivity-dev email list:

      I am working on iotivity and building Iotivity(for Android Platform ) on Ubuntu 16.0. I am following the steps provide by Iotivity.

      I saw you are one of the editor of the iotvity Page, need your urgent help on his. I can’t understand why the script has this error with latest code. Have i did something wrong ?

      I download code from two separate path
      1. git clone https://aakashKaushal@gerrit.iotivity.org/gerrit/iotivity
      2. https://www.iotivity.org/downloads (IoTivity 1.2.0 , source download tar)

      I have all Prerequisites for building IoTivity for Android (JDK, SCons already )

      I didn’t download the Android NDK, Android SDK , GRADEL. As it was mention the scripts will download itself.
      When i gave command as mention n Step 2: Build Steps for Android (scons TARGET_OS=android) , NDK, SDK , gradel download itself , SDK manager opened and i installed the 2 packages as requested in the consol Logs.(SDK platform ver 20).

      In both of the iotivity code the Build fails at below python error.

      The below error comes from the SConsripts file (iotivity\extlibs\boost). The Scripts work fine when target is Linux and platform x64_86, since different section of code compiled for Linux(default and code compiles with success ) . i have verified indirect way to check URL path and it opens properly.

      SConscript Code :

      boost_base_name  = 'boost_'+string.replace(boost_version,'.','_')
      boost_arch_name  = boost_base_name+'.zip'
      boost_b2_name    = boost_base_name+os.sep+'b2'
      boost_url       = 'http://downloads.sourceforge.net/project/boost/boost/'+boost_version+'/'+boost_arch_name+'?r=&ts=1421801329&use_mirror=iweb'

      In both the Source code i compiled the build fails on below error in the python script.

      scons: building associated VariantDir targets: out/android/x86/release
      scons: *** [http://downloads.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.zip?r=&ts=1421801329&use_mirror=iweb] AttributeError : 'ValueNodeInfo' object has no attribute 'timestamp'
      scons: building terminated because of errors.


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            • Assignee:
              georgen George Nash
              georgen George Nash
            • Votes:
              0 Vote for this issue
              8 Start watching this issue


              • Created: