Hi! I reached this bug yesterday. If you could take a look at #349699, I have explained what happened to me.
The makefile sets a CFLAGS containing this: CFLAGS = -I$(ZDIR) -I$(PNGDIR) -Wall $(CRELEASE) Since CDBS passes CFLAGS="-g -Wall -O2", it overrides the CFLAGS included on the source code, making the package fail to build. Nelson