[Bug 1136340] perl-Qt-0.96.0-12.fc22: FTBFS with Perl 5.20
bugzilla at redhat.com
bugzilla at redhat.com
Mon Nov 3 10:01:09 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1136340
--- Comment #11 from Petr Pisar <ppisar at redhat.com> ---
The git tree configures against Qt4:
[...]
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* QScintilla2 - QScintilla2 libraries
* QImageBlitz - QImageBlitz library
* Phonon - Phonon multimedia framework
* Qwt5 for Qt4 - Qwt5 libraries for Qt4
-----------------------------------------------------------------------------
-- Congratulations! All external packages have been found.
-----------------------------------------------------------------------------
and builds successfully besides one warning:
/tmp/perlqt/qtcore/src/util.cpp: In function ‘void
XS_AUTOLOAD(PerlInterpreter*, CV*)’:
/tmp/perlqt/qtcore/src/util.cpp:2254:59: warning: converting ‘false’ to pointer
type ‘void*’ [-Wconversion-null]
static smokeperl_object nothis = { 0, 0, 0, false };
but almost all tests fail:
[...]
3% tests passed, 30 tests failed out of 31
The log shows:
# Failed test 'use QtCore4;'
# at /tmp/perlqt/qtcore/t/a_loading.t line 2.
# Tried to use 'QtCore4'.
# Error: Can't locate QtCore4.pm in @INC (you may need to install the
QtCore4 module) (@INC contains: /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 /tmp/perlqt/qtcore/t/a_loading.t line 2.
# BEGIN failed--compilation aborted at /tmp/perlqt/qtcore/t/a_loading.t line 2.
Obviously the tests are run without setting perl search path to the just
compiled code. If I run the tests as:
$ PERL5LIB=$PWD/blib/arch:$PWD/blib/lib make test
Then the results are much better hover, not hundred-percent:
The following tests FAILED:
2 - perlqt_qtcore4_qapp (Failed)
3 - perlqt_qtcore4_sigslot (Failed)
4 - perlqt_qtcore4_sigslot_inherit (Failed)
5 - perlqt_qtcore4_handlers (Failed)
22 - perlqt_qsignalspy (Failed)
That's because the tests require accessible X11 server:
Command: "/bin/prove" "/tmp/perlqt/qtcore/t/c_qapp.t"
Directory: /tmp/perlqt/qtcore/t
"perlqt_qtcore4_qapp" start time: Nov 03 10:52 CET
Output:
----------------------------------------------------------
c_qapp.t: cannot connect to X server
When running the tests against Xvfb, then all the tests pass.
So the only issue is the missing path to the Perl modules.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=jVSOiyr0GM&a=cc_unsubscribe
More information about the perl-devel
mailing list