On Wed, 2002-11-27 at 12:37, Mateusz Papiernik wrote: > > But unlike dpkg-source v2, you can start using CBS right now. Sound > > interesting? Here's the URL where you can download CBS: > > http://cvs.verbum.org/debian/rules > > Yes, it sounds interesting, but I had a problems with CBS and two > packages (mainly GNU Gadu 2 from cvs and Kadu from kadu.net). It's all > ok, but when I do "debuild", at compile stage, it cannot find includes, > for example, when I type make manually I see: > > gcc -c -o -I.. -I../.. -ggdb -O2 common.c > > but when I do debuild or dpkg-buildpackage I see > > gcc -c -o -ggdb -O2 common.c
That's because your upstream's build system is broken; the CBS make invocation sets CFLAGS, and your upstream's Makefile isn't properly coded to keep other flags like -I around when CFLAGS is set. A temporary workaround is to just override the rule and not set CFLAGS; the real solution is to fix the Makefile so that this works.