[Build-common-hackers] Bug#448141: Proposed list of issues in ffmpeg/experimental

Fabian Greffrath greffrath at leat.rub.de
Tue Dec 9 09:41:36 UTC 2008

Dear Loic,

Loïc Minier schrieb:
 > On Mon, Sep 22, 2008, Fabian Greffrath wrote:
 >> Loïc Minier schrieb:
 >>> We have package inter-dependencies in GNOME packages like the one
 >>> you added since years:
 >>>     binary-gnome-mag :: binary-$(libgnome-magN)
 >>> This is tricky, many people don't know about it, but it's not a
 >>> "bug".
 >> Doesn't this have to read
 >> 	binary/gnome-mag :: binary/$(libgnome-magN)
 >> instead?
 >  Arf, it certainly does; I am not sure whether GNOME packages were
 >  broken or CDBS used to provide binary-$pkg -- both situations are
 >  very borkne!
 >  I'll fix this now.
 >  We're speaking of *2004* code!!  Can't believe it :)

i am sorry to tell you that this trick doesn't do the job right, 
either. The only reason why you get the dependencies right in the 
gnome-mag package is because of the order of the packages in 
debian/control (you have the library packages listed before the 
frontend packages). However, this behaviour isn't documented anywhere.

To build the library package before the frontend package independent 
of their order in debian/rules, you still have to chain the 
binary-predeb rules like this:

binary-predeb/gnome-mag:: binary-predeb/$(libgnome-magN)

My latest experiments show that this has to be done even before you 
include the first cdbs makefile. Again, I believe this should either 
be documented or done automatically.


Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  greffrath at leat.ruhr-uni-bochum.de

More information about the Build-common-hackers mailing list