tag 533995 + patch
thanks

On Mon, 22 Jun 2009 20:23:38 +0900, Charles Plessy wrote:

> > I gave it another try on another machine with a slightly different
> > config, and now the test simply blocks:
> > make[2]: Leaving directory `/tmp/libtfbs-perl-0.5.svn.20080722/Ext'
> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/01_Matrix..............Name "PDL::SHARE" used only once: possible typo at 
> > /usr/lib/perl/5.10/DynaLoader.pm line 219, <DATA> line 206.
> > t/01_Matrix..............ok                                                 
> >  
> > t/02_Search..............Name "PDL::SHARE" used only once: possible typo at 
> > /usr/lib/perl/5.10/DynaLoader.pm line 219, <DATA> line 206.
> > t/02_Search..............ok                                                 
> >  
> > t/03_DB_FlatFileDir......Name "PDL::SHARE" used only once: possible typo at 
> > /usr/lib/perl/5.10/DynaLoader.pm line 219, <DATA> line 206.
> > t/03_DB_FlatFileDir......ok                                                 
> >  
> > t/04_DB_TRANSFAC.........Name "PDL::SHARE" used only once: possible typo at 
> > /usr/lib/perl/5.10/DynaLoader.pm line 219, <DATA> line 206.
> > [BLOCKS HERE]
> 
> I figured out it is also a problem of network access. The test uses
> /TFBS/DB/TRANSFAC.pm, which connects to
> http://www.cbil.upenn.edu/cgi-bin/tess/tess33 for accessing a (proprietary)
> database. More details in
> http://www.ii.uib.no/svn/lenhard/TFBS/TFBS/DB/TRANSFAC.pm
> 
> I will discuss the issue with Upstream.

Hi Charles,

find attached a patch that fixes the build-without-network problem;
I'm not sure if there are other issues ...

Cheers,
gregor 
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    BOFH excuse #334:  50% of the manual is in .pdf readme files 
diff -u libtfbs-perl-0.5.svn.20080722/debian/changelog libtfbs-perl-0.5.svn.20080722/debian/changelog
--- libtfbs-perl-0.5.svn.20080722/debian/changelog
+++ libtfbs-perl-0.5.svn.20080722/debian/changelog
@@ -1,3 +1,10 @@
+libtfbs-perl (0.5.svn.20080722-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: skip test that needs a network connection (closes: #533995).
+
+ -- gregor herrmann <[email protected]>  Fri, 27 Nov 2009 18:53:54 +0100
+
 libtfbs-perl (0.5.svn.20080722-2) unstable; urgency=low
 
   * debian/control:
diff -u libtfbs-perl-0.5.svn.20080722/debian/rules libtfbs-perl-0.5.svn.20080722/debian/rules
--- libtfbs-perl-0.5.svn.20080722/debian/rules
+++ libtfbs-perl-0.5.svn.20080722/debian/rules
@@ -15,6 +15,8 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+TEST_FILES = $(filter-out t/04_DB_TRANSFAC.t,$(shell echo t/*.t))
+
 # Allow disabling build optimisation by setting noopt in
 # $DEB_BUILD_OPTIONS
 CFLAGS = -Wall -g
@@ -30,7 +32,7 @@
 	# Add commands to compile the package here
 	echo "n" | $(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
+	prove --blib $(TEST_FILES) Ext/t/*.t
 	touch $@
 
 clean:

Attachment: signature.asc
Description: Digital signature

Reply via email to