Debug build failed

I am able to compile release firmware v4.4.4 properly, but when i tried to compile debug build i am getting this error.
[ 908/1006] Compiling libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp
[ 909/1006] Compiling libraries/AP_NavEKF3/AP_NavEKF3_GyroBias.cpp
[ 910/1006] Compiling libraries/AP_NavEKF3/AP_NavEKF3_Logging.cpp
…/…/libraries/AP_UAVCAN/AP_UAVCAN.cpp: In member function ‘virtual void AP_UAVCAN::init(uint8_t, bool)’:
…/…/libraries/AP_UAVCAN/AP_UAVCAN.cpp:571:1: error: the frame size of 2296 bytes is larger than 2200 bytes [-Werror=frame-larger-than=]
}
^
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors

I run this commands to compile debug build

  • ./waf distclean
  • ./waf configure --board CubeOrangePlus --debug
  • ./waf copter