Symptoms

The custom plugin code could have been complied successfully on BA 6.0.5, but it fails on 6.0.6, even though no changes with code were made. The failure is similar to below:

[root@dev-aps09-pbalinfe ETISALATIPG]# waf build
Waf: Entering directory `/root/EcommercePlugins/MyPlugin/.build'
Running with 3 parallel jobs.
[4/5] LISA post-generation task manager -> processing 1 CXX tasks
[11/13] cxx: internals.cc -> .build/default/internals_1.o
In file included from ../../../../usr/local/bm/include/BM/.src/internals/oAccAttr.hpp:7,
                 from ../internals.cc:6:
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:4:21: error: ACCOUNT.h: No such file or directory
In file included from ../../../../usr/local/bm/include/BM/.src/internals/oAccAttr.hpp:7,
                 from ../internals.cc:6:
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:13: error: ‘AccAttrUtils’ has not been declared
../../../../usr/local/bm/include/BM/internals/headers/bAccAttr.hpp:13: error: expected ‘,’ or ‘...’ before ‘&’ token
Waf: Leaving directory `/root/EcommercePlugins/MyPlugin/.build'
Build failed:  -> task failed (err #1):
        {task: cxx internals.cc -> internals_1.o}

Cause

The issue is caused by the bug with id #PBA-69007 ("Not possible to compile custom plugins on 6.0.6").

Resolution

Unless new sdk version is released, replace /usr/local/bm/include/BM/internals/headers/bAccAttr.hpp with the bAccAttr.hpp.

Internal content