Bug 376064

Summary: Python bindings don't build
Product: [Frameworks and Libraries] frameworks-kcoreaddons Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Antonio Rojas 2017-02-05 16:17:21 UTC
In file included from /build/kcoreaddons/src/build/src/lib/pybuild/PyKF5/KCoreAddons/unifiedKCoreAddons.cpp:17:0:
/build/kcoreaddons/src/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKCompositeJob.cpp: In function 'void* init_type_KCompositeJob(sipSimpleWrapper*, PyObject*, PyObject*, PyObject**, PyObject**, PyObject**)':
/build/kcoreaddons/src/build/src/lib/pybuild/PyKF5/KCoreAddons/sipKCoreAddonsKCompositeJob.cpp:1180:45: error: invalid new-expression of abstract class type 'sipKCompositeJob'
             sipCpp = new sipKCompositeJob(a0);
                                             ^
Comment 1 Stephen Kelly 2017-02-05 19:34:16 UTC
I can't reproduce this with 

$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

and PyQt 5.5.1.

Can you revert ECM commit 2e20aeab6e86670a66ff99a7b79120c4004b4d22 and report whether that fixes the problem?
Comment 2 Antonio Rojas 2017-02-05 20:26:02 UTC
Yes, reverting that commit fixed the build