> On 21 Aug 2019, at 17:15, Florin Coras <[email protected]> wrote: > > Interesting. Want to push a patch to change async_enable or something like > that here [1]? Or I can do that. > > Florin > > [1] > https://git.fd.io/vpp/diff/src/plugins/tlsopenssl/tls_openssl.api?id=be4d1aa > <https://git.fd.io/vpp/diff/src/plugins/tlsopenssl/tls_openssl.api?id=be4d1aa> > >> On Aug 21, 2019, at 7:41 AM, Damjan Marion via Lists.Fd.Io >> <[email protected] <mailto:[email protected]>> wrote: >> >> >> May be due to the fact that I use newer ubuntu version, but i’m not able to >> build VPP on master. >> >> This is error message I get: >> >> [1283/1678] Generating API header >> /home/damarion/cisco/vpp8/bui...build-vpp_debug-native/vpp/plugins/tlsopenssl/tls_openssl.api.h >> FAILED: plugins/tlsopenssl/tls_openssl.api.h >> cd >> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl >> && mkdir -p >> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl >> && /home/damarion/cisco/vpp8/src/tools/vppapigen/vppapigen --includedir >> /home/damarion/cisco/vpp8/src --input >> /home/damarion/cisco/vpp8/src/plugins/tlsopenssl/tls_openssl.api --output >> /home/damarion/cisco/vpp8/build-root/build-vpp_debug-native/vpp/plugins/tlsopenssl/tls_openssl.api.h >> ValueError: Fieldname 'async' is a python keyword and is not accessible via >> the python API. >> >> >> And looks like reverting [1] helps…. >> >> [1] https://git.fd.io/vpp/commit/?id=be4d1aa >> <https://git.fd.io/vpp/commit/?id=be4d1aa> >>
It sounds to me like right solution to the problem is to avoid python keyword-related constrains in API msg fields. Next time they may add new keyword and break existing API definitions….
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13800): https://lists.fd.io/g/vpp-dev/message/13800 Mute This Topic: https://lists.fd.io/mt/32978936/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
