[request-tracker-maintainers] Bug#797295: request-tracker4: FTBFS with perl 5.22: t/mail/html-outgoing.t

Dominic Hargreaves dom at earth.li
Mon Aug 31 20:43:30 UTC 2015


Control: severity -1 serious
Control: user debian-perl at lists.debian.org
Control: usertags -1 - perl-5.22-transition
Control: retitle -1 request-tracker4: FTBFS in sid: t/mail/html-outgoing.t

On Sat, Aug 29, 2015 at 11:00:12AM +0100, Dominic Hargreaves wrote:
> Source: request-tracker4
> Version: 4.2.11-3
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.22-transition
> Tags: sid stretch
> 
> This package FTBFS with perl 5.22:
> 
> # Email Content-Type:
> #                   multipart/alternative; boundary="----------=_1440822907-21667-9"
> #     doesn't match '(?^:text/html)'
> 
> #   Failed test 'email matched'
> #   at t/mail/html-outgoing.t line 97.
> # Content-Type: multipart/alternative; boundary="----------=_1440822907-21667-9"
> # Subject: [example.com #1] The internet is broken
> # From: "The RT System itself via RT" <>
> # Reply-To:
> # In-Reply-To:
> # References: <RT-Ticket-1 at example.com>
> # Message-ID: <rt-4.2.11-21667-1440822907-165.1-3-0 at example.com>
> # X-RT-Loop-Prevention: example.com
> # X-RT-Ticket: example.com #1
> # X-Managed-BY: RT 4.2.11 (http://www.bestpractical.com/rt/)
> # To: tech at example.com
> # BCC: root at localhost
> # Precedence: bulk
> # Date: Sat, 29 Aug 2015 00:35:07 -0400
> # MIME-Version: 1.0
> # Content-Transfer-Encoding: 8bit
> # 
> # This is a multi-part message in MIME format...
> # 
> # ------------=_1440822907-21667-9
> # RT-Attach-Message: yes
> # Content-Type: text/plain; charset="utf-8"
> # X-RT-Original-Encoding: utf-8
> # 
> # Ticket URL: http://localhost:1192/Ticket/Display.html?id=1
> # 
> #  Foo  Foo 
> # 
> # ------------=_1440822907-21667-9
> # Content-Type: text/html; charset="utf-8"
> # X-RT-Original-Encoding: utf-8
> # 
> # Ticket URL: <a href="http://localhost:1192/Ticket/Display.html?id=1">http://localhost:1192/Ticket/Display.html?id=1</a>
> # <br />
> # <br />
> # <table><tr><td><table><tr><td>Foo</td></tr></table></td></tr></table>
> # 
> # ------------=_1440822907-21667-9--
> # Email Content-Type:
> #                   multipart/alternative;
> #  boundary="----------=_1440822907-21667-11"
> #     doesn't match '(?^:text/html)'
> 
> #   Failed test 'email matched'
> #   at t/mail/html-outgoing.t line 97.
> # Content-Type: multipart/alternative;
> #  boundary="----------=_1440822907-21667-11"
> # Subject: [example.com #1] The internet is broken
> # From: "The RT System itself via RT" <>
> # Reply-To:
> # In-Reply-To:
> # References: <RT-Ticket-1 at example.com>
> # Message-ID: <rt-4.2.11-21667-1440822907-1588.1-5-0 at example.com>
> # X-RT-Loop-Prevention: example.com
> # X-RT-Ticket: example.com #1
> # X-Managed-BY: RT 4.2.11 (http://www.bestpractical.com/rt/)
> # To: enduser at example.com
> # Precedence: bulk
> # Date: Sat, 29 Aug 2015 00:35:07 -0400
> # MIME-Version: 1.0
> # Content-Transfer-Encoding: 8bit
> # 
> # This is a multi-part message in MIME format...
> # 
> # ------------=_1440822907-21667-11
> # RT-Attach-Message: yes
> # Content-Type: text/plain; charset="utf-8"
> # X-RT-Original-Encoding: utf-8
> # 
> #  Foo  Foo 
> # 
> # ------------=_1440822907-21667-11
> # Content-Type: text/html; charset="utf-8"
> # X-RT-Original-Encoding: utf-8
> # 
> # <table><tr><td><table><tr><td>Foo</td></tr></table></td></tr></table>
> # 
> # ------------=_1440822907-21667-11--
> 
> #   Failed test at t/mail/html-outgoing.t line 108.
> # found warning: Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in hash element at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value in string eq at /usr/share/perl5/HTML/Element.pm line 2218.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2632.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # found warning: Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in hash element at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value in string eq at /usr/share/perl5/HTML/Element.pm line 2218.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2632.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # found warning: Use of uninitialized value $_ in concatenation (.) or string at /usr/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in string eq at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value $ptag in hash element at /usr/share/perl5/HTML/Element.pm line 711.
> # found warning: Use of uninitialized value in string eq at /usr/share/perl5/HTML/Element.pm line 2218.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2632.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in string eq at /usr/share/perl5/HTML/Element.pm line 2656.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # found warning: Use of uninitialized value $tag in concatenation (.) or string at /usr/share/perl5/HTML/Formatter.pm line 150.
> # expected to find warning: (?^:uninitialized value)
> # expected to find warning: (?^:Failed to downgrade HTML)
> # expected to find warning: (?^:uninitialized value)
> # expected to find warning: (?^:Failed to downgrade HTML)
> # expected to find warning: (?^:uninitialized value)
> # expected to find warning: (?^:Failed to downgrade HTML)
> # Some tests failed or we bailed out, tmp directory '/«PKGBUILDDIR»/t/tmp/mail-html-outgoing.t-4OnyJLDI' is not cleaned
> # Looks like you failed 3 tests of 23.
> t/mail/html-outgoing.t ................................. 
> Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/23 subtests 

This is not, in fact, perl 5.22 specific. Adjusting bug metadata
accordingly.

Dominic.



More information about the pkg-request-tracker-maintainers mailing list