[Build-common-hackers] Bug#564662: Bug#564662: autotools configure stamp breaks multi-variant builds

Jonas Smedegaard dr at jones.dk
Mon Jan 11 12:28:37 UTC 2010

Hi Peter,

On Mon, Jan 11, 2010 at 08:05:56AM +0200, Peter Eisentraut wrote:
>The new stamp-autotools-configure file breaks if a package builds 
>multiple variants with different build directories, because all but the 
>first variant won't build because they use the same stamp file.  
>Example: bug #564399
>I think this change should be reverted and users who want a nonstandard 
>stamp file because they use nonstandard autotools should be given a 
>variable to override it for their specific use.

CDBS does not support multiple variants currently.

The package of above mentioned example bug - psqlodbc - do some unusual 
tricks to workaround this. I sincerely hope that such tricks are not 
common in the wild and that I am not sure we should encourage them or 
care especially for them in CDBS: I fear that such care would make it 
too difficult to evolutionary implement proper multiflavor support in 
CDBS (which is "just around the corner" now - just requires some 
concentrated time of mine to merge my branches).

Calling make from within make is asking for trouble.  Some problems 
should (but I am not experienced so only theoretical to me) be avoided 
by calling $(MAKE) which takes care of passing on some but not al 
variables, but I expect that won't help in this specific case.

I suggest to try fix that one odd package by overriding 
cdbs_autotools_configure_stamps and then prepare for changing that hack 
when proper multiflavor support gets implemented.

  - 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/20100111/80129d99/attachment.pgp>

More information about the Build-common-hackers mailing list