Bug 381003 - python3-pykde4 won't install due to broken dep on sip-py3api-11.2 (provided by python3-sip)
Summary: python3-pykde4 won't install due to broken dep on sip-py3api-11.2 (provided b...
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 04:08 UTC by Bernard Gray
Modified: 2022-12-06 05:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Gray 2017-06-09 04:08:02 UTC
Hi all, 
I hope this is the correct place to report this - 
In short, I'm building cleanroom chroots on KDE Neon user/lts packages - about 24 hours ago, I began getting build failures:

> The following packages have unmet dependencies:
>  python3-pykde4 : Depends: sip-py3api-11.2

Digging into this, 
1. python3-pykde4 is an ubuntu provided package
2. the missing dependency is provided by python3-sip, a neon provided package

For reasons beyond my understanding, python3-pykde4 is not taking any notice of the python3-sip Provides which satisfies the sip-py3api-11.2 dep

# apt-cache policy python3-pykde4
python3-pykde4:
  Installed: (none)
  Candidate: 4:4.14.2-0ubuntu6
  Version table:
     4:4.14.2-0ubuntu6 500
        500 http://aptmirror.debortoli.private:3142/archive.ubuntu.com/ubuntu xenial/universe amd64 Packages


# apt-cache policy python3-sip   
python3-sip:
  Installed: 4.19.2+dfsg-1+16.04+xenial+build3
  Candidate: 4.19.2+dfsg-1+16.04+xenial+build3
  Version table:
 *** 4.19.2+dfsg-1+16.04+xenial+build3 500
        500 http://archive.neon.kde.org/user/lts xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     4.18.1+dfsg-2+16.04+build3 500
        500 http://archive.neon.kde.org/user/lts xenial/main amd64 Packages
     4.17+dfsg-1build1 500
        500 http://aptmirror.debortoli.private:3142/archive.ubuntu.com/ubuntu xenial/universe amd64 Packages


** I used this aptitude search command to see what packages provide sip-py3api-11.2, and their installation status:
# aptitude search '~Psip-py3api-11.2'
i   python3-sip                                          - Python 3/C++ bindings generator runtime library                
p   python3-sip:i386


** So with everything ready to go, deps satisfied by virtual packages, I should be able to install python3-pykde4:
# apt-get install python3-pykde4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-pykde4 : Depends: sip-py3api-11.2
E: Unable to correct problems, you have held broken packages.

** there are no held packages
# dpkg --get-selections | grep hold
#
Comment 1 Bernard Gray 2017-06-13 05:08:35 UTC
Ok, I've worked it out what's actually going wrong. Apologies, lack of sleep and soforth:

"python3-pykde4" is an ubuntu provided package, that depends on a virtual package "sip-py3api-11.2" provided by python3-sip (< 4.19)

The neon repositories now include python3-sip=4.19.2+dfsg-1+16.04+xenial+build3 but this does not provide "sip-py3api-11.2" 

# apt-cache show python3-sip | egrep -e ^Provides -e ^Version
Version: 4.19.2+dfsg-1+16.04+xenial+build3
Provides: sip-py3api-12.0, sip-py3api-12.1
...

Is it possible to build python3-sip to include provides for sip-py3api-11.X AND sip-py3api-12.X?
Comment 2 Bernard Gray 2017-06-13 05:35:12 UTC
(In reply to Bernard Gray from comment #1)
> Is it possible to build python3-sip to include provides for sip-py3api-11.X
> AND sip-py3api-12.X?

Alternatively, can neon start including compatible builds of python3-pykde4 in their repos?
Comment 3 Scott Kitterman 2017-06-14 04:36:10 UTC
All this means is that pykde4 (and possibly pyqt4) need to be rebuilt in the neon repositories against the current sip4.  There's no upstream issue here.
Comment 4 Bernard Gray 2017-06-14 23:53:28 UTC
Hi Scott, 
Thanks for the reply.
I apologise, but I thought this bugtracker is where I would make neon related requests. I gather from your post that I was wrong - can you point me in the direction of where I should post my request to rebuild python3-pykde4?
Comment 5 Scott Kitterman 2017-06-15 00:09:17 UTC
Honestly, I don't know.  I don't have anything to do with Neon, but this isn't a KDE bug, it's a bug in their packaging.
Comment 6 Christoph Feck 2017-06-19 12:37:07 UTC
Moving to neon.
Comment 7 Bernard Gray 2017-06-20 03:30:27 UTC
I've done a bit more digging: 

I ended up finding the following bug/patch on the NixOS github project:
https://github.com/NixOS/nixpkgs/issues/24548
https://github.com/NixOS/nixpkgs/commit/8c9b60a8307b4dafffb894b3d652389f6079b68a

"This package is broken since 0a3b7f9
(python-sip: 4.18.1 -> 4.19.1). Removing it seems reasonable since we're
dropping KDE4 anyway."

I suspect that this is precisely what Neon is doing too, although I don't know where to find evidence of it. I've ended up migrating my in-house python package to PyQt5 anyway since finding this :)
Comment 8 Jonathan Riddell 2017-06-20 09:43:11 UTC
yes the new sip needed for qt 5.9 breaks current build of pykde4.

However I couldn't get pykde4 to build with latest sip/kdelibs/whatever
/usr/include/kautomount.h:105:5: error: ‘KAutoUnmount::~KAutoUnmount()’ is private
http://build.neon.kde.org/job/xenial_release_forks_pykde4_bin_amd64/1/console
Comment 9 Bernard Gray 2017-06-20 23:46:00 UTC
(In reply to Jonathan Riddell from comment #8)
...
> However I couldn't get pykde4 to build with latest sip/kdelibs/whatever
> /usr/include/kautomount.h:105:5: error: ‘KAutoUnmount::~KAutoUnmount()’ is
> private
> http://build.neon.kde.org/job/xenial_release_forks_pykde4_bin_amd64/1/console

Hi Jonathon, thanks for having a look. 
I had the same issue trying to build pykde4, the packages that depend on it are pretty thin on the ground now, is it worth just committing to it's removal for neon?

python3-pykde4                                                                                                               
Reverse Depends:                                                                                                             
  python3-pykde4-dbg                                                                                                         
  update-manager-kde                                                                                                         
  apturl-kde                                                                                                                 
  update-manager-kde                                                                                                         
  python3-keyring                                                                                                            
  python3-keyrings.alt                                                                                                       
  gdebi-kde                                                                                                                  
  apturl-kde
Comment 10 Justin Zobel 2022-11-06 09:25:20 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 11 Bug Janitor Service 2022-11-21 05:13:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2022-12-06 05:20:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!