My Launchpad PPA is ignoring packages build inside it to check for dependencies

Asked by Pascal Mons

In my PPA named Packages in “KDE Photo Applications for GTK Ubuntu”
https://launchpad.net/~anton+/+archive/ubuntu/kde-photo-apps

From the same upstream sources, I have successfully build packages digikam and kphotoalbum for Ubuntu Trusty 14.04 and Vivid 15.04

I have build successfully as well digikam for Ubuntu Wily 15.10 (which builds packages libkgeomap-dev and libkgeomap2 among other packages).

However building kphotoalbum fails to build for Wily 15.10 on Launchpad when trying to install this package build dependencies.

The message is the following:

[from https://launchpadlibrarian.net/217273432/buildlog_ubuntu-wily-amd64.kphotoalbum_4.6.2-0ubuntu1~pmo1~wily_BUILDING.txt.gz]

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install kphotoalbum build dependencies (apt-based resolver) │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
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:
 sbuild-build-depends-kphotoalbum-dummy : Depends: libkgeomap-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt-get failed.
Package installation failed
[...]

For kphotoalbum I have

Build-Depends: debhelper (>= 9), cmake (>= 2.8.3), pkg-kde-tools (>= 0.6.4),
 docbook-to-man,
 libexiv2-dev (>= 0.19), libjpeg-dev, libkdcraw-dev, libkipi-dev,
 libmarble-dev (>= 4:4.4.4), shared-desktop-ontologies, x11proto-core-dev,
 pkg-config, libkgeomap-dev, libkface-dev

Although libkgeomap-dev is part of the packages build from digikam and its only Dependency package is libkgeomap2 (of the same version)

Depends: libkgeomap2 (= 1.0~digikam4.13.0-0ubuntu5~1pmo1.4~trusty)

The Depends: field for libkgeomap2 is:

Depends: libc6 (>= 2.14), libkdecore5 (>= 4:4.10), libkdeui5 (>= 4:4.10), libkhtml5 (>= 4:4.10), libkio5, libkparts4 (>= 4:4.10), libmarblewidget-qt5-22 (>= 4:15.08.0), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), libkgeomap-data

Referring to standard distributions packages and libkgeomap-data which is provided in the digikam build.
It has no Depends: field (as usual).

Then I don't understand why Trusty and Vivid are building flawlessly whereas Wily fails to build ...

Do you have an insight on the situation ?

Regards.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
Last query:
Last reply:
Revision history for this message
Best William Grant (wgrant) said :
#1

wily's libstdc++6 declares that it breaks that version of libkgeomap2, so anything depending on libkgeomap2 is uninstallable until a newer version is in place. See below for how I tracked it down.

wgrant@lamuella:~$ chdist create tmp http://archive.ubuntu.com/ubuntu wily main restricted universe multiverse
Run chdist apt-get tmp update
And enjoy.
wgrant@lamuella:~$ echo "deb http://ppa.launchpad.net/anton+/kde-photo-apps/ubuntu wily main" >> ~/.chdist/tmp/etc/apt/sources.list
wgrant@lamuella:~$ chdist apt-get tmp update
Ign http://archive.ubuntu.com wily InRelease
[snip]
Fetched 22.7 MB in 32s (693 kB/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net wily Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E058073A72B61DBF
wgrant@lamuella:~$ chdist apt-get tmp install libkgeomap-dev
Reading package lists... Done
Building dependency tree... 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:
 libkgeomap-dev : Depends: libkgeomap2 (= 1.0~digikam4.13.0-0ubuntu5~1pmo1.4~wily) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
wgrant@lamuella:~$ chdist apt-get tmp install libkgeomap-dev libkgeomap2
Reading package lists... Done
Building dependency tree... 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:
 libkgeomap2 : Depends: libkdecore5 (>= 4:4.10) but it is not going to be installed
               Depends: libkdeui5 (>= 4:4.10) but it is not going to be installed
               Depends: libkhtml5 (>= 4:4.10) but it is not going to be installed
               Depends: libkio5 but it is not going to be installed
               Depends: libkparts4 (>= 4:4.10) but it is not going to be installed
               Depends: libmarblewidget-qt5-22 (>= 4:15.08.0) but it is not going to be installed
               Depends: libqt4-xml (>= 4:4.5.3) but it is not going to be installed
               Depends: libqtcore4 (>= 4:4.8.0) but it is not going to be installed
               Depends: libqtgui4 (>= 4:4.5.3) but it is not going to be installed
               Depends: libstdc++6 (>= 4.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
wgrant@lamuella:~$ chdist apt-get tmp install libkgeomap-dev libkgeomap2 libstdc++6
Reading package lists... Done
Building dependency tree... 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:
 libstdc++6 : Breaks: libkgeomap2 (<= 4:15.04.2-0ubuntu1) but 1.0~digikam4.13.0-0ubuntu5~1pmo1.4~wily is to be installed
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Pascal Mons (anton+) said :
#2

Thanks William Grant, that solved my question.