-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 20/02/2012 22:36, Aaron M. Ucko a écrit :
> Nicolas Boulenguez <nicolas.bouleng...@free.fr> writes:
> 
>> Do not worry about that. The Debian build daemons are affected by a
>> bug. They install both Build-Depends and Build-Depends-Indep, then
>> call
>>
>>   "debian/rules build && fakeroot debian/rules binary-arch"
> 
> They do indeed invoke the build target because they can't assume
> build-arch, but don't install Build-Depends-Indep, just Build-Depends.
> Xavier, you can compensate for that by conditionalizing debian/rules's
> documentation target's call to make -C doc:
> 
>       if dh_listpackages | grep -qe '-doc'; then make -C doc; fi

I will include a workaround to avoid further problem like this in the
future. By the way I have tried your workaround and I still have the error.

Here is the diff on my debian/rules file :
- --- debian/rules      2c3abb2ca428a111c7836c8d36d72bc8fe9a6e1f
+++ debian/rules        cc421b0867eb646f0dda912b2a9bb0f4fd257b93
@@ -59,7 +59,7 @@ documentation:
        touch $@

 documentation:
- -     $(MAKE) -C doc
+       if dh_listpackages | grep -qe '-doc'; then $(MAKE) -C doc; fi

 static-lib:liblog4ada.a
***************************************
Any idea of what I may have done wrong ? A test on pdflatex do the
trick. The following test avoid the problem :

        if [ -e /usr/bin/pdflatex ]; then $(MAKE) -C doc; fi

But instead of closing bug 660245, what do you think about my idea to
reasign it to pdebuild package ?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPQ2luAAoJEG3iFwasTcfao5gQAMVDSFroHOu+/mdHEKo/B93Z
c3O0K8WjMeTEcTNtQ6IOL2QY4R+hOCIuNjXpzciecp5+At2HcLZzu7J58IrwMXuh
m0YQy0+d1AadwYlkkwzK1RjbPgQKvdL0PL23KLgt2TdstFUICtpXXHLWEivA2z7+
hX6CCQdCPkrTbDZXAHMnCVCcs/GSeoGg+q+pXtLRMe+uPVFLzu5x0p0PvdXkLp/V
zaVAJ3+XYF2wwASppud7WvFhenSEnLJQWDp5m2l9FgZS3kjo7BDb6pkzT5lYi3jj
8XTCZwE3VZDp33GBLgev0BwCMbeDjid9QMOjZ+HoP/fayA+UxRvZ5gQXFKLATSzx
YRBnr/Am0kk02rIxlnIFWydqziFQt9IanzdiufJHp+YQRTR5/hKN6J6qI8ED+tMd
0xyKcYTJ6h7XHuhqLqr2wLg13e8KdplWTAKwr8NVhMObRDuhxrDTXzHz6SIGmPtV
a33EDd+UAHqd+Tw5lynxOHXCvyptHKZWMQYl9tLrRMIKMVUzPGIIJkYuwNkkoDhu
qaSDyOQIMCsZty6nNTO5anZDAucoSxR8VU4BGOm8HYY0dqBqXgp2Sclpnjb8Apwn
DgXUd3yqbtb9eLAm+qQL0mo25du7ugpP4M47VBOcHhdZ6niS4K9PQdrhZ//m62Yj
SQGZ6lvaGbS93kXPLPbI
=SlOB
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to