On 11/19/2016 01:25 PM, Gregg Reynolds wrote: > thanks, I was able to build with the latest master. > > fwiw IMHO the 1.2.0 tarball should be pulled. it looks very bad to make > an official release that doesn't even build!
I agree with this sentiment, as I've gotten bit by build failures for each release so far. :( I went ahead and edited the 1.2.0 wiki page to put a warning note at the top of the page: (https://wiki.iotivity.org/release_note_1.2.0): "Note: It is recommended that you build directly from the iotivity git branch 1.2-rel due to build failures with the 1.2.0 tarball (see Bug 14179)." Hope that's OK, as I think it's the least that should be done to avoid people running into the same known problems and wasting time and energy (and a poor first impression of iotivity). Please correct as needed. > On Nov 19, 2016 2:56 PM, "Kevin Kane" <kkane at microsoft.com > <mailto:kkane at microsoft.com>> wrote: >> >> This should have been fixed on 1.2-rel with the following change, to > work with TinyCBOR v0.4: https://gerrit.iotivity.org/gerrit/#/c/14179/ >> >> >> >> Are you up to date? >> >> >> >> If you?re working from an older point of the branch, you can get > around this by going into extlibs\tinycbor\tinycbor and doing a ?git > fetch && git checkout v0.3.2? to use the previous version of TinyCBOR. >> >> >> >> From: iotivity-dev-bounces at lists.iotivity.org > <mailto:iotivity-dev-bounces at lists.iotivity.org> > [mailto:iotivity-dev-bounces at lists.iotivity.org > <mailto:iotivity-dev-bounces at lists.iotivity.org>] On Behalf Of Gregg > Reynolds >> Sent: Saturday, November 19, 2016 11:52 AM >> To: iotivity-dev <iotivity-dev at lists.iotivity.org > <mailto:iotivity-dev at lists.iotivity.org>> >> Subject: [dev] 1.2.0 build failure >> >> >> >> $ scons >> >> >> >> ... >> >> >> >> resource/csdk/security/src/aclresource.c: In function 'AclToCBORPayload': >> >> resource/csdk/security/src/aclresource.c:628:24: error: 'CborEncoder' > has no member named 'ptr' >> >> *size = encoder.ptr - outPayload; >> >> ^ >> >> resource/csdk/security/src/aclresource.c:640:27: error: 'CborEncoder' > has no member named 'ptr' >> >> cborLen += encoder.ptr - encoder.end; >> >> ^ >> >> scons: *** > [out/linux/x86_64/release/resource/csdk/security/src/aclresource.o] Error 1 >> >> scons: building terminated because of errors. >> thanks, Nivedita
