Hi Uze and Colleages,

Sorry but still cannot make it right.

Now, when performing the same sequence of 'git clone...' -> 'git checkout
<tag>' -> scons:
getting an error listed below.

Even tried to get the 'tagged' version directly using:
git clone -b PF13_PRE --single-branch --depth 1   https://gerrit.iotivity
.org/gerrit/p/iotivity.git
Same result.

Please guide how can I build the right code matching the changes in the tag.

Max


scons: Reading SConscript files ...
NameError: name 'mbedtls_revision' is not defined:
  File "/home/user/pf13_1/iotivity/SConstruct", line 28:
    SConscript('build_common/SConscript')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
    return method(*args, **kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/home/user/pf13_1/iotivity/build_common/SConscript", line 805:
    env.SConscript(target_os + '/SConscript')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/home/user/pf13_1/iotivity/build_common/android/SConscript", line
239:
    env.SConscript('#extlibs/mbedtls/SConscript')
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
    exec _file_ in call_stack[-1].globals
  File "/home/user/pf13_1/iotivity/extlibs/mbedtls/SConscript", line 43:
    ''' % mbedtls_revision






On Sat, Jul 8, 2017 at 8:34 PM, ??? <uzchoi at samsung.com> wrote:

> Hi Max.
> Tagging seems to have been done on my development environment where I
> worked.
> This might have caused a problem.
> Anyway, PRE13_PRE tag was moved to the right position now.
> You can refer to wiki page also.
> Sorry for inconvenience.
> BR Uze Choi
>
>
> ---------* Original Message* ---------
> *Sender* : Max Kholmyansky <max001 at gmail.com>
> *Date* : 2017-07-07 22:02 (GMT+9)
> *Title* : Re: [dev] IoTivity Engineering Snapshot for PF13
>
> Hi Colleages,
> I have a problem building the source code by this tag.
>
> The error I get:
>
> resource/csdk/stack/src/ocpayload.c: In function
> 'OCLinksPayloadValueCreate':
> resource/csdk/stack/src/ocpayload.c:2226:9: error: too many arguments to
> function 'BuildCollectionLinksPayloadValue'
>          result = BuildCollectionLinksPayloadValue(resourceUri,
> linksRepPayloadValue, devAddr, isOCFVer);
>          ^
> In file included from resource/csdk/stack/src/ocpayload.c:27:0:
> resource/csdk/stack/include/internal/occollection.h:32:15: note: declared
> here
>  OCStackResult BuildCollectionLinksPayloadValue(const char* resourceUri,
>                ^
> scons: *** [out/android/armeabi/debug/resource/csdk/stack/src/ocpayload.o]
> Error 1
>
> Indeed, there is a mismatch between *.c and *.h by number of arguments in
> the source tree.
>
> My source tree was built from scracth via:
>
>    - git clone https://gerrit.iotivity.org/gerrit/p/iotivity.git
>    - cd iotivity
>    - git checkout tags/PF13_PRE
>
> My build:
>
> scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP SECURED=1
> ANDROID_HOME=[PATH] ANDROID_NDK=[PATH] RELEASE=0 ANDROID_GRADLE=[PATH]
>
> Did I miss anything?
>
> Thanks,
>
> Max
>
>
>
>
>
>
> On Fri, Jul 7, 2017 at 12:49 PM, ??? (Uze Choi) <uzchoi at samsung.com>
> wrote:
>
>> Dear IoTivity developer,
>>
>>
>>
>> We made a tag for Plugfest 13 preparation.
>>
>> -       Tag name : PF13_PRE
>>
>> Please use this version as baseline for Plugfest preparation and
>> participation.
>>
>>
>>
>> Initially this engineering snapshot was intended to resolve CTT gap by
>> today.
>>
>> However there are still some issues to be resolved yet. Most items are
>> security issues.
>>
>> Please update the status for PF participant aware on
>> https://wiki.iotivity.org/pf13_engineering_version_tag .
>>
>>
>>
>> BR, Uze Choi
>>
>> _______________________________________________
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
>>
> _______________________________________________
> iotivity-dev mailing listiotivity-dev at 
> lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170709/8db8772e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13402 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170709/8db8772e/attachment.gif>

Reply via email to