[Build-common-hackers] Bug#521166: Bug#521166: Bug#521166: cdbs: When there is already config.status in tarball, build error

Jonas Smedegaard dr at jones.dk
Sun Mar 29 16:58:49 UTC 2009

Hash: SHA1

On Mon, Mar 30, 2009 at 12:01:01AM +0900, Nobuhiro Iwamatsu wrote:
>On Wed, 25 Mar 2009 14:47:44 +0200
>Peter Eisentraut <peter_e at gmx.net> wrote:
>> Nobuhiro Iwamatsu wrote:
>> > Upstream released with having put a config.status file in tarball.
>> > 
>> > In this case the package which maintainer used cdbs for fails in 
>> > build. Because when there was config.status, cdbs misrecognizes 
>> > when configure was carried out, and the reason is because it 
>> > carries out make.
>> > 
>> > Because cdbs carry out make though does not have Makefile, the 
>> > build becomes the error.
>> I think your best bet here is to set up your debian/rules to delete 
>> config.status before anything else.
>> I don't think this warrants a general workaround, also because if the 
>> upstream tarball is that broken, you don't really know what other 
>> insanity might be lurking.
>Yes, I know simple measures method.
>And I know that there is a problem in tarball. 
>However, I think that the user who does not know this is troubled 
>without knowing this problem.
>I think that had better cope in cdbs side. 
>For example, output the message of this problem and finished.

The fundamental aim of CDBS is to provide skeleton make snippets for 
standard routines. Not to outsmart the package maintainer.

I understand that it could be convenient if CDBS was more "intelligent" 
and notified the package maintainer of known broken stuff, but that will 
complicate CDBS and really is outside of the scope of the tool, IMHO.

Please do elaborate if you feel that even within the described scope of 
CDBS it would make sense to eal differently than currently with cases 
like the one you've encountered.

Kind regards,

  - Jonas

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

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
Version: GnuPG v1.4.9 (GNU/Linux)


More information about the Build-common-hackers mailing list