[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with libbuffy-bindings FTBFS

Hash: SHA1

On Sun, Jul 20, 2008 at 11:12:03AM +0100, Enrico Zini wrote:
>On Mon, Jul 07, 2008 at 07:17:32PM +0200, Jonas Smedegaard wrote:
>> from sourcedir. Which revealed yet another problem: Disabling tests in 
>> debian/rules did _not_ disable them (being a problem updating to policy 
>> 3.8.0 requiring you to support notest): you need to tag the build 
>> targets below tests/ as CHECK or something...
>I've now implemented support for notest; however, I grepped the policy
>(version for the word 'notest' and found no matches.

You are right.

The one I thought was standard was "nocheck" (probably borrowing from 
autotools "make check" to invoke build tests). I saw it in the CDBS 
snippet /usr/share/cdbs/1/class/perlmodule.mk (which I wrote myself some 
years ago but I am pretty sure someone else added that nocheck support).

>Thanks for the other suggestions, which I'll probably implement in other
>packages; however, the build system of libbuffy-bindings is a bit
>special, and I don't want to add too many hacks on top of it (for
>example, the mere thought of supporting source dir != build dir
>libbuffy-bindings triggers my brain thermal protections and shuts it

If you change your mind, I suspect the fix might only be to inspect 
paths in Makefile.am files, e.g. replace

   enumerate_LDADD = ../buffy/libbuffy.la


   enumerate_LDADD = $(srcdir)/buffy/libbuffy.la

You should be able to test if things work with "make distcheck".

  - Jonas

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

  - Enden er nær: http://www.shibumi.org/eoti.htm
Version: GnuPG v1.4.9 (GNU/Linux)


Reply to: