gnome-settings-daemon FTBFS in cosmic-proposed due to circular relationship involving mutter

Bug #1808796 reported by Iain Lane
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Iain Lane

Bug Description

[ Description ]

Currently gnome-settings-daemon can't be built in cosmic-proposed for arm64 and armhf:

The following packages have unmet dependencies:
 sbuild-build-depends-gnome-settings-daemon-dummy : Depends: mutter (>= 3.27.90) but it is not going to be installed

analysing the situation with chdist shows:

The following packages have unmet dependencies.
 mutter : Depends: gnome-settings-daemon but it is not going to be installed

and then diving further:

The following packages have unmet dependencies.
 gnome-settings-daemon : Depends: gnome-settings-daemon-schemas (= 3.30.1.2-1ubuntu2) but 3.30.1.2-1ubuntu3 is to be installed

What has happened is that gnome-settings-daemon indirectly ends up Build-Depending on gnome-settings-daemon again:

  src:g-s-d - (BD) -> mutter - (D) -> g-s-d

gnome-settings-daemon has "Depends: gnome-settings-daemon-schemas (= ${source:Version})". This in itself is correct, but when the arch:all gnome-settings-daemon-schemas is published before an arch-only build is picked up, we have skew that results in this failure. g-s-d-schemas 3.30.1.2-1ubuntu3 is available, but g-s-d 3.30.1.2-1ubuntu2, the strict dependency means it is uninstallable.

Presumably we'd gotten lucky up until now and never had a newer g-s-d-schemas published before all other arches at least started building.

[ Fix ]

Cut the arch:any part of the circular dependency. We make mutter Depend on gnome-settings-daemon-schemas instead, since it only needs the schemas and not running daemons. We still have a circular BD/D chain from g-s-d to itself, but now it looks like:

  src:g-s-d - (BD) -> mutter - (D) -> g-s-d-schemas

...importantly there are no strict version requirements any more, so this kind of skew isn't a problem. If mutter ever changes to have "Depends: gnome-settings-daemon-schemas (>= some-version)", this should also work - since the arch:all gnome-settings-daemon-schemas will be installable everywhere.

[ QA ]

I tested this in a bileto silo and it worked:

https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3567/+packages

Once the fixed mutter is published, we should be able to retry the g-s-d builds.

[ Regression potential ]

mutter will no longer Depend on gnome-settings-daemon itself (the daemons). This might expose missing g-s-d dependencies from other packages. These could only be out-of-archive packages though:

laney@raleigh> reverse-depends -r cosmic mutter
Reverse-Depends
===============
* gnome-shell
* vanilla-gnome-desktop

and both of these depend on gnome-settings-daemon already.

Revision history for this message
Iain Lane (laney) wrote :

This was fixed in debian by introducing a g-s-d-common package. That's synced to disco, so disco is good too.

description: updated
Changed in mutter (Ubuntu):
status: New → Fix Released
Changed in mutter (Ubuntu Cosmic):
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Iain Lane (laney)
summary: - Circular relationship between gnome-settings-daemon and mutter
+ gnome-settings-daemon FTBFS in cosmic-proposed due to circular
+ relationship involving mutter
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Iain, or anyone else affected,

Accepted mutter into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mutter/3.30.2-1~ubuntu18.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mutter (Ubuntu Cosmic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Revision history for this message
Iain Lane (laney) wrote :

gnome-settings-daemon 3.30.1.2-1ubuntu3 built after being retried with this mutter, and it's now in cosmic-updates.

tags: added: verification-done verification-done-cosmic
removed: verification-needed verification-needed-cosmic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.30.2-1~ubuntu18.10.2

---------------
mutter (3.30.2-1~ubuntu18.10.2) cosmic; urgency=medium

  * Update gbp.conf and Vcs metadata for cosmic
  * control: Depend on g-s-d-schemas instead of g-s-d. We only need the
    schemas. (LP: #1808796)

 -- Iain Lane <email address hidden> Mon, 17 Dec 2018 10:53:41 +0000

Changed in mutter (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for mutter has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.