Bug 380965 - perlqt-4.14.3 tests fail with Perl 5.26.0
Summary: perlqt-4.14.3 tests fail with Perl 5.26.0
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 09:38 UTC by Petr Pisar
Modified: 2024-05-06 18:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fix adding "." to @INC where needed. (13.18 KB, patch)
2017-06-08 09:38 UTC, Petr Pisar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisar 2017-06-08 09:38:35 UTC
Created attachment 105983 [details]
Fix adding "." to @INC where needed.

Perl 5.26.0 removed "." from @INC search module path list and thus some perlqt-4.14.3 tests fail now like this:

14/42 Testing: perlqt_itemviewspixelator
14/42 Test: perlqt_itemviewspixelator
Command: "/usr/bin/cmake" "-E" "chdir" "/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/examples/itemviews/pixelator" "prove" "/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t"
Directory: /home/test/fedora/perl-Qt/perlqt-4.14.3/build/qtgui/t
"perlqt_itemviewspixelator" start time: Jun 08 10:06 CEST
Output:
----------------------------------------------------------
Can't locate MainWindow.pm in @INC (you may need to install the MainWindow module) (@INC contains: /home/test/fedora/perl-Qt/perlqt-4.14.3/build/blib/lib /home/test/fedora/perl-Qt/perlqt-4.14.3/build/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t line 11.
BEGIN failed--compilation aborted at /home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t line 11.
/home/test/fedora/perl-Qt/perlqt-4.14.3/qtgui/t/itemviewspixelator.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

A fix is attached.
Comment 1 Justin Zobel 2022-11-06 09:25:05 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Petr Pisar 2022-11-07 09:23:16 UTC
The latest perlqt still suffers from this issue because there has not been any new release since that.
However I cannot reproduce this issue because perlqt cannot be built for a different reason (smokeqt, a required dependency, was removed from my distribution <https://bugzilla.redhat.com/show_bug.cgi?id=1676813>).
Comment 3 Christoph Cullmann 2024-05-06 18:15:50 UTC
The bindings we had are no longer maintained and got removed with either KF5 or KF6, depending on the language.