> Source: libhtml-formhandler-perl > Version: 0.40050-1 > Severity: serious > Justification: FTBFS > > This package FTBFS in a clean sid chroot: > > # Failed test 'form validated' > # at t/compound/basic.t line 79. > # Looks like you failed 1 test of 24. > t/compound/basic.t ...................... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/24 subtests
libhtml-formhandler-perl also FTBFSes in stable. I'm attaching a patch. Note that to make it to a Wheezy point release it needs to be fixed in unstable first. Cheers, Moritz -- Moritz Mühlenhoff Open Source Software Engineer Univention GmbH be open. Mary-Somerville-Str.1 28359 Bremen Tel. : +49 421 22232-0 [.....] Fax : +49 421 22232-99 muehlenh...@univention.de http://www.univention.de Geschäftsführer: Peter H. Ganten HRB 20755 Amtsgericht Bremen Steuer-Nr.: 71-597-02876
diff -Naur libhtml-formhandler-perl-0.40013.orig/debian/patches/fix-test-735051.patch libhtml-formhandler-perl-0.40013/debian/patches/fix-test-735051.patch --- libhtml-formhandler-perl-0.40013.orig/debian/patches/fix-test-735051.patch 1970-01-01 01:00:00.000000000 +0100 +++ libhtml-formhandler-perl-0.40013/debian/patches/fix-test-735051.patch 2014-01-28 06:45:04.903857128 +0100 @@ -0,0 +1,22 @@ +Description: Fix test cases which was dependant on a 2008+5 yts time span + +https://github.com/gshank/html-formhandler/commit/555f460645d6fd52c5fd8fd386d0dc4bf6f5daa6 +Bug-Debian: http://bugs.debian.org/735051 + +--- libhtml-formhandler-perl-0.40013.orig/t/compound/basic.t ++++ libhtml-formhandler-perl-0.40013/t/compound/basic.t +@@ -73,11 +73,12 @@ is( $errors[0], 'Invalid value for Durat + + my $dtform = Form::Start->new; + ok( $dtform, 'datetime form' ); ++my $year = (localtime)[5] + 1900; + $params = { name => 'DT_testing', 'start_date.month' => '10', +- 'start_date.day' => '2', 'start_date.year' => '2008' }; ++ 'start_date.day' => '2', 'start_date.year' => $year }; + $dtform->process( params => $params ); + ok( $dtform->validated, 'form validated' ); +-is( $dtform->field('start_date')->value->mdy, '10-02-2008', 'datetime value'); ++is( $dtform->field('start_date')->value->mdy, "10-02-$year", 'datetime value'); + $params->{'start_date.month'} = 8; + $dtform->process( params => $params ); + ok( !$dtform->validated, 'form did not validate' ); diff -Naur libhtml-formhandler-perl-0.40013.orig/debian/patches/series libhtml-formhandler-perl-0.40013/debian/patches/series --- libhtml-formhandler-perl-0.40013.orig/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ libhtml-formhandler-perl-0.40013/debian/patches/series 2014-01-28 06:43:47.802963178 +0100 @@ -0,0 +1 @@ +fix-test-735051.patch