Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 131509
Status: open
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: FTBFS: test failures with libtimedate-perl 2.3100
We have the following bug reported to the Debian package of SOAP-WSDL, c.f. https://bugs.debian.org/949242 It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Source: libsoap-wsdl-perl Version: 3.003-3 Severity: serious Tags: upstream ftbfs Justification: fails to build from source As noticed by ci.d.n (and also cpantesters) one test in libsoap-wsdl-perl fails after updating libtimedate-perl to 2.3100: t/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.t ............ 1..9 ok 1 - use SOAP::WSDL::XSD::Typelib::Builtin::dateTime; not ok 2 - conversion with timezone not ok 3 - conversion with timezone not ok 4 - conversion with timezone ok 5 ok 6 ok 7 - Die on illegal datetime Illegal date at /usr/share/perl5/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.pm line 26. ok 8 - Die on illegal datetime ok 9 - Die on illegal datetime Dubious, test returned 3 (wstat 768, 0x300) Failed 3/9 subtests Cheers, gregor ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
I tried to figure out which modules, and which versions of them, are included in Debian's "libtimedate-perl". https://packages.debian.org/search?keywords=libtimedate-perl isn't offering any clues. It would be useful to know which versions of which modules are loaded. If that doesn't work, please try removing systemd and tell me if the problem persists. systemd is not supported. Also, I'm basically an absentee landlord at this point, and RT is miserable and I'm sorry I never changed the link to something else besides this automatically created tracker. The output of running this might be helpful too: use SOAP::WSDL; my @stack = (*main::); while(@stack) { my $ns = pop @stack; for my $k (keys %$ns) { next if $k eq 'main::'; next unless $k =~ m/::$/; print "$ns$k ", ${${"$ns$k"}{VERSION}}, "\n" if ${${"$ns$k"}{VERSION}}; push @stack, *$k; } } On Sat Jan 18 13:01:32 2020, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of > SOAP-WSDL, c.f. https://bugs.debian.org/949242 > > It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks!
Subject: Re: [rt.cpan.org #131509] FTBFS: test failures with libtimedate-perl 2.3100
Date: Sat, 18 Jan 2020 22:52:15 +0100
To: SWALTERS via RT <bug-SOAP-WSDL [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Sat, 18 Jan 2020 14:47:17 -0500, SWALTERS via RT wrote: Show quoted text
> I tried to figure out which modules, and which versions of them, > are included in Debian's "libtimedate-perl". > https://packages.debian.org/search?keywords=libtimedate-perl isn't > offering any clues.
As mentioned in the subject of this ticket, the breakage is caused by the recent update of TimeDate: 2.31 on the CPAN: https://metacpan.org/release/TimeDate The same can be seen in the recent reports on cpantesters: http://www.cpantesters.org/cpan/report/fe74cf5e-391b-11ea-914b-c41694cc1c97 http://www.cpantesters.org/cpan/report/72d81388-3921-11ea-87bf-00ea95cc1c97 http://www.cpantesters.org/cpan/report/d6fa0e0a-39c3-11ea-b34d-555d12ba10c1 Show quoted text
> It would be useful to know which versions of which modules are > loaded. If that doesn't work, please try removing systemd and tell > me if the problem persists. systemd is not supported.
The change in TimeDate is not related to any init system; but I can confirm that my laptop is systemd-free :) I now tested SWALTERS/SOAP-WSDL-3.003.tar.gz on one of my smoke testers (so no Debian packages etc. involved, just pure vanilla perl and CPAN.pm) after installing TimeDate-2.31, and it fails the same way (you should receive the full test report on cpantesters): # Failed test 'conversion with timezone' # at t/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.t line 35. # got: '2007-08-30T00:00:00.0000000+00:00' # expected: '2007-08-30T00:00:00+02:00' # Failed test 'conversion with timezone' # at t/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.t line 35. # got: '2007-12-31T12:32:00.0000000+00:00' # expected: '2007-12-31T12:32:00+01:00' # Failed test 'conversion with timezone' # at t/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.t line 35. # got: '2007-08-31T00:32:00.0000000+00:00' # expected: '2007-08-31T00:32:00+02:00' # Looks like you failed 3 tests of 9. t/SOAP/WSDL/XSD/Typelib/Builtin/dateTime.t ............ Dubious, test returned 3 (wstat 768, 0x300) Failed 3/9 subtests Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: STS: Das Feuer
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.

Hi Gregor, Thank you for indulging me (and especially indulging my attempt to blame systemd). Looks like TimeDate's strptime() added an extra return parameter which threw off code in here that was trying to use [-1] on the result to get the timezone. The test was correct to complain. The codepath that sent it down though that generated the strange time strings with lots of extra 0s in it is untested and maybe dead code, or maybe not. Don't want to find out. Applied a small pile of other patches and fixes people had posted that I've slowly been ignoring. I took on comaint on this to apply old patches that were languishing then after doing that once, started ignoring the whole mess myself. Sorry. More comaintainers would be welcome though I don't have permission to add them. 3.0004 was just uploaded to CPAN.
Subject: Re: [rt.cpan.org #131509] FTBFS: test failures with libtimedate-perl 2.3100
Date: Mon, 20 Jan 2020 19:37:24 +0100
To: SWALTERS via RT <bug-SOAP-WSDL [...] rt.cpan.org>
From: gregor herrmann <gregoa [...] debian.org>
On Mon, 20 Jan 2020 11:43:29 -0500, SWALTERS via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=131509 > > > Thank you for indulging me (and especially indulging my attempt to blame systemd).
You're welcome. Show quoted text
> Looks like TimeDate's strptime() added an extra return parameter > which threw off code in here that was trying to use [-1] on the > result to get the timezone. The test was correct to complain. The > codepath that sent it down though that generated the strange time > strings with lots of extra 0s in it is untested and maybe dead > code, or maybe not. Don't want to find out.
Oh, I see. Thanks for digging into the code! Show quoted text
> Applied a small pile of other patches and fixes people had posted > that I've slowly been ignoring.
Cool, thanks. Show quoted text
> 3.0004 was just uploaded to CPAN.
And uploaded to Debian/unstable. Thanks again, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Ry Cooder: Always Lift Him Up/Kanaka Wai Wai
Download signature.asc
application/pgp-signature 963b

Message body not shown because it is not plain text.