Hi,
since our weekend AGL build for RCar3 there is an issue with agl-service-unicens (binding) and the AFB binding version being recognized for it.
It seems that this binding is discovered as AFB Binding V3.
In the respective source file it is declared as Binding V2. (#define AFB_BINDING_VERSION 2)
The binding also declares OpenAPI in a JSON file which is generating an internal header file. However, there seems to be no option to define another API version
as done in the sources.
Here is a trace from journalctl:
Aug 01 12:37:40 m3ulcb
afbd-agl-service-audio-4a@1.0-11d2ae9[3695]: INFO: API unicens added [/usr/src/debug/af-binder/master+gitAUTOINC+3aa0f4d3c4-r0/git/src/afb-apiset.c:505,afb_apiset_add]
Aug 01 12:37:40 m3ulcb
afbd-agl-service-unicens@0.1-9ae3b96-dirty[3696]: INFO: binding [/var/local/lib/afm/applications/agl-service-unicens/0.1-9ae3b96-dirty/lib/afb-ucs2.so]
looks like an AFB binding V3 [/usr/src/debug/af-binder/master+gitAUTOINC+3aa0f4d3c4-r0/git/src/afb-api-so-v3.c:83,afb_api_so_v3_add]
Aug 01 12:37:40 m3ulcb
afbd-agl-service-unicens@0.1-9ae3b96-dirty[3696]: ERROR: binding [/var/local/lib/afm/applications/agl-service-unicens/0.1-9ae3b96-dirty/lib/afb-ucs2.so]
incomplete symbol set: afbBindingV3root is missing [/usr/src/debug/af-binder/master+gitAUTOINC+3aa0f4d3c4-r0/git/src/afb-api-so-v3.c:88,afb_api_so_v3_add]
Aug 01 12:37:40 m3ulcb
afbd-agl-service-unicens@0.1-9ae3b96-dirty[3696]: ERROR: can't start the binding /var/local/lib/afm/applications/agl-service-unicens/0.1-9ae3b96-dirty/lib/afb-ucs2.so
[/usr/src/debug/af-binder/master+gitAUTOINC+3aa0f4d3c4-r0/git/src/main-afb-daemon.c:114,apiset_start_list]
Can anyone help to figure out what’s wrong and how detection of V2 can be done?
(Just a hint: A build from Wednesday morning last week did not show up this issue.)
Best regards
Tobias