[Build-common-hackers] waf.mk and broken fakeroot debian/rules clean call in packaging-only branches.

Jonas Smedegaard dr at jones.dk
Tue Mar 29 00:04:11 UTC 2011


On Tue, Mar 29, 2011 at 01:14:38AM +0200, Krzysztof Klimonda wrote:
> I've worked today on the update for hamster-applet and, as the 
>upstream has switched to waf, I've opted to use a waf.mk class from 
> Unfortunately including it in debian/rules breaks fakeroot 
>debian/rules clean call that I (and probably other GNOME maintainers) 
>use to generate debian/control from debian/control.in. Now waf.mk tests 
>for the existence of $(DEB_SRCDIR)/waf file, and stops process when 
>it's missing - we keep only packaging in subversion, so both waf and 
>wscript files are not there when d/rules clean is called.
> I've tried changing the order of include lines, to move waf after all 
>other files, but it didn't help.
>Any idea what could I do to make it work, or maybe I miss something 

Hmm.  If I understand you correctly, you are trying to make your 
packaging routines sanely not only with the full source available but 
also when only the debian subdir - not all source - is available?

Sorry, I can't help you there.  You might have luck that some packaging 
style works out like that, but it is not a kind of situation that I have 
ever taken into account before, nor do I find is likely that I'll do it 
in the future (but you are very welcome to try convince me otherwise!).

Seriously: I do not mean to end the conversation here - just warn you 
that I expect it to need not only restructuring of code but also quite 
some convincing to solve this issue - or clarification if I simply 
misunderstood what is the real issue.

> PS Please keep both me and Rémi in CC as we are not subscribed to the
> list. Thanks.

Hmm - no Rémi was cc'ed so I just cc'ed you this one.


   - Jonas

   * Jonas Smedegaard - idealist & Internet-arkitekt
   * Tlf.: +45 40843136  Website: http://dr.jones.dk/

   [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20110329/713a31c4/attachment.pgp>

More information about the Build-common-hackers mailing list