Hi,


>The reason is that the upstream 'make clean' deletes debian/patches
>completely. So without this, I'm not able to patch anything.


how? I would suggest to patch the upstream make clean to not change source 
files.

(note: I'm *suggesting* stuff without looking at the code, I don't know 

about the build system, feel free to disagree)

>You mean it should be added to Build-Depends? I guess I have
>misunderstood the description of b-d-i and thought that because quilt is
>architecture-independent, it belongs in b-d-i.


debian has two kind of builds: all and any.

packages needed for the arch-i packages (resulting in an _all.deb) can go in 
b-d-i
while the others needs to go in b-d.

an example is doxygen, used for the common -doc package (arch:all), so you can 
have it
in build-depends-indep at one condition:
you will override the dh_auto_build-indep: target to build the doxygen 
documentation.

overriding e.g. dh_auto_build: will trigger a "file not found" exception while 
building on
a common architecture, where b-d-i aren't installed.
(the reason is exactly to avoid Porters to have too many dependencies for their 
porting work).

So, if quilt is used in target called by -arch and -indep steps, it will go in 
b-d

dpkg-buildpackage -A
dpkg-buildpackage -B
should work both (and try to remove quilt and see if the arch:any gets built 
correctly).

cheers,

G.

Reply via email to