Bug 376064 - Python bindings don't build
Summary: Python bindings don't build
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Stephen Kelly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 16:17 UTC by Antonio Rojas
Modified: 2017-02-06 07:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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