Mutter (sometimes) fails to build with [fatal error: meta/meta-enum-types.h: No such file or directory]

Bug #2055530 reported by Daniel van Vugt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Medium
Unassigned
Jammy
Fix Released
Medium
Daniel van Vugt

Bug Description

[ Impact ]

Mutter failed to build, only once, on jammy amd64:

In file included from ../src/backends/meta-backend-private.h:39,
                 from ../src/backends/x11/meta-backend-x11.h:31,
                 from ../src/backends/x11/nested/meta-backend-x11-nested.h:25,
                 from ../src/tests/meta-backend-test.h:23,
                 from ../src/tests/meta-backend-test.c:22:
../src/backends/meta-monitor-manager-private.h:41:10: fatal error: meta/meta-enum-types.h: No such file or directory
   41 | #include "meta/meta-enum-types.h"
      | ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Seems like an old issue that you can hit at random in highly parallel builds. Because meta-enum-types.h is auto-generated its consumers need to declare stronger dependencies.

[ Test Plan ]

Build mutter.

[ Where problems could occur ]

More build failures or accidentally depending on meson features that don't exist in jammy.

[ Other Info ]

Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → Medium
status: New → In Progress
tags: added: jammy
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Changed in mutter (Ubuntu Jammy):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu Jammy):
status: In Progress → Fix Committed
description: updated
Changed in mutter (Ubuntu):
assignee: Daniel van Vugt (vanvugt) → nobody
tags: added: fixed-in-mutter-45.0 fixed-upstream
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu Jammy):
status: Fix Committed → In Progress
Revision history for this message
Robie Basak (racb) wrote : Please test proposed package

Hello Daniel, or anyone else affected,

Accepted mutter into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mutter/42.9-0ubuntu7 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, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Building 42.9-0ubuntu7 succeeded on all architectures.

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

This bug was fixed in the package mutter - 42.9-0ubuntu7

---------------
mutter (42.9-0ubuntu7) jammy; urgency=medium

  * Add build-Set-built-headers-as-libmutter_dep-sources.patch to prevent
    occasional build failures depending on parallelism (LP: #2055530)
  * Add cogl-gl-framebuffer-Fix-inverted-test-in-ensure_bits_init.patch to
    fix test failures in mutter:cogl+cogl/conform / framebuffer-get-bits
    when Mesa >= 23.1.1 (LP: #2055519)

mutter (42.9-0ubuntu6) jammy; urgency=medium

  [ Kai-Heng Feng ]
  * Fix mirror mode on reduced blanking panel. (LP: #2051074)

  [ Daniel van Vugt ]
  * Add compositor-x11-Sync-again-at-the-end-of-before_paint.patch
    to fix incomplete redraws in X11 virtual machines (LP: #2054510)
  * debian/control.in: Stop automatically reverting to the old uploaders.

 -- Daniel van Vugt <email address hidden> Fri, 01 Mar 2024 17:47:40 +0800

Changed in mutter (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for mutter has completed successfully and the package is now being 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.