[Bug 1136340] perl-Qt-0.96.0-12.fc22: FTBFS with Perl 5.20

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 31 18:32:30 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1136340

Chris <chrisburel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrisburel at gmail.com



--- Comment #9 from Chris <chrisburel at gmail.com> ---
This appears to be a change in Perl's behavior.  The way the operator
overloading in PerlQt works is that it first tries to find an operator method
on the class itself, and then next it tries to find one in the so-called
QGlobalSpace, which is a place defined by the smoke library for global Qt
functions.  Perl passes the underlying XS code the full package and function
being called, which PerlQt splits into 2 strings, one for the package name, and
one for the method name.  PerlQt null-terminates the package name string, and
in previous versions of Perl, this modification did not affect the source
$AUTOLOAD variable.  In Perl 5.20.0, it does update the Perl variable, and then
causes confusion down the line.

I've pushed both Petr's change, and a change to fix this issue, to the master
branch in perlqt's git repo at git://anongit.kde.org/perlqt.  Can someone try
it out?

-- 
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=Myhc6HxrS4&a=cc_unsubscribe



More information about the perl-devel mailing list