[Build-common-hackers] Bug#489430: cdbs: debhelper usage

Martin Koeppe mkoeppe at gmx.de
Sat Jul 5 16:53:13 UTC 2008


Package: cdbs
Version: 0.4.52
Severity: normal


In bug #416018 I requested to use debhelper's dh_testroot in cdbs.
This has been done now, thank you. I encountered a problem with this 
implementation however:

See package time 1.7-21 as example. Its rules says:

   include /usr/share/cdbs/1/class/autotools.mk
   include /usr/share/cdbs/1/rules/debhelper.mk

i.e. debhelper.mk is included after autotools.mk. In this 
configuration buildcore.mk doesn't know that debhelper is to use and 
so doesn't use dh_testroot. When swapping these lines (so that they 
are in the order cdbs's docs mention it) then everything is fine:

   include /usr/share/cdbs/1/rules/debhelper.mk
   include /usr/share/cdbs/1/class/autotools.mk

Now I'm asking me if that is a bug in the time package or something 
that could be fixed in cdbs? There are several such packages with this 
kind of bug, and I currently don't want to file a bug for all of 
those.


Martin





More information about the Build-common-hackers mailing list