Bug 2124543 - perl-SOAP-WSDL-3.004-11.fc38 FTBFS: Can't locate CGI.pm in @INC at t/SOAP/WSDL/Server/Simple.t line 6
Summary: perl-SOAP-WSDL-3.004-11.fc38 FTBFS: Can't locate CGI.pm in @INC at t/SOAP/WSD...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-SOAP-WSDL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Damian Wrobel
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On: 2126943
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-09-06 13:05 UTC by Petr Pisar
Modified: 2022-09-16 22:02 UTC (History)
3 users (show)

Fixed In Version: perl-SOAP-WSDL-3.004-12.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-16 22:02:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2022-09-06 13:05:09 UTC
perl-SOAP-WSDL-3.004-11.fc38 fails to build in Fedora 38 because a test fails:

t/SOAP/WSDL/Server/Simple.t ........................... 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
[...]
t/SOAP/WSDL/Server/Simple.t                         (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Result: FAIL
file:///builddir/build/BUILD/SOAP-WSDL-3.004/t/acceptance/wsdl/WSDLParser-imported.wsdl already imported; ignoring it.
found unrecognised attribute {http://foo.bar}Action (ignored) at /builddir/build/BUILD/SOAP-WSDL-3.004/blib/lib/SOAP/WSDL/Base.pm line 130.
Multiple parts detected in message testMultiPartWarning.
WS-I BP demands 0 to 1 parts in message body
Multiple parts detected in message testMultiPartWarning.
WS-I BP demands 0 to 1 parts in message body
Multiple parts detected in message testMultiPartWarning.
WS-I BP demands 0 to 1 parts in message body
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Class/Std/Fast.pm line 159.
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Class/Std/Fast.pm line 159.
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Class/Std/Fast.pm line 159.
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Class/Std/Fast.pm line 159.
Use of uninitialized value in hash element at /usr/share/perl5/vendor_perl/Class/Std/Fast.pm line 159.
Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /builddir/build/BUILD/SOAP-WSDL-3.004/blib/lib /builddir/build/BUILD/SOAP-WSDL-3.004/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/SOAP/WSDL/Server/Simple.t line 6.
BEGIN failed--compilation aborted at t/SOAP/WSDL/Server/Simple.t line 6.
Failed 1/124 test programs. 0/1233 subtests failed.

A difference in passing and failing build roots is at <https://koschei.fedoraproject.org/build/13617019>. It looks that some dependency stopped pulling perl-CGI package while your test requires it.

Comment 1 Petr Pisar 2022-09-06 13:09:24 UTC
> It looks that some dependency stopped pulling perl-CGI

It was an upstream change in perl-Template-Toolkit-3.101-1.fc38 <https://metacpan.org/dist/Template-Toolkit/changes>:

#-----------------------------------------------------------------------
# Version 3.100
#------------------------------------------------------------------------
 
Improvements:
* Template::Plugin::CGI removed to be used as a separate distro. (Sawyer X)

Comment 2 Andrew Bauer 2022-09-06 13:23:29 UTC
Thanks for the heads up. I am travelling for work this week and will look into this later, as time allows. Thank you.

Comment 3 Andrew Bauer 2022-09-12 14:17:17 UTC
The author did indeed spin off Template::Plugin::CGI into its own package:
https://metacpan.org/pod/Template::Plugin::CGI

This will require a new package request. 

Unfortunately, this is not something I've got time for before I leave for vacation. September has been a busy month.

Perhaps @dwrobel would be willing to get this started while I am out.

If not, I can start on this after my return the last week in September.

Alternatively, we could just cut out the server subpackage from perl-SOAP-WSDL. 
That component is not needed for my own purposes (ZoneMinder).

Comment 4 Damian Wrobel 2022-09-14 21:07:03 UTC
I prepared a request review for 'per(Template::Plugin::CGI)' [1] as well as the BR for it in [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2126943
[2] https://src.fedoraproject.org/rpms/perl-SOAP-WSDL/c/13fd2ffada8eeeda83f81cdfdf110b89728f68cd?branch=rawhide

Comment 5 Fedora Update System 2022-09-16 21:59:37 UTC
FEDORA-2022-093e78d49e has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-093e78d49e

Comment 6 Fedora Update System 2022-09-16 22:02:19 UTC
FEDORA-2022-093e78d49e has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.