Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922733 - x11-wm/mutter-45.2-r1[test] fails to compile: ../mutter-45.2/src/tests/test-client.c:25:10: fatal error: gdk/gdkwayland.h: No such file or directory
Summary: x11-wm/mutter-45.2-r1[test] fails to compile: ../mutter-45.2/src/tests/test-c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 914507 920697
  Show dependency tree
 
Reported: 2024-01-23 00:19 UTC by matoro
Modified: 2024-02-11 14:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,72.37 KB, application/gzip)
2024-01-23 00:21 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-01-23 00:19:49 UTC
Dep issue?

FAILED: src/tests/mutter-test-client.p/test-client.c.o 
i686-pc-linux-gnu-gcc -Isrc/tests/mutter-test-client.p -Isrc/tests -I../mutter-45.2/src/tests -Isrc -I../mutter-45.2/src -I. -I../mutter-45.2 -Iclutter -I../mutter-45.2/clutter -Iclutter/clutter -I../mutter-45.2/clutter/clutter -Imtk -I../mutter-45.2/mtk -Imtk/mtk -I../mutter-45.2/mtk/mtk -Icogl -I../mutter-45.2/cogl -Icogl/cogl -I../mutter-45.2/cogl/cogl -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/graphene-1.0 -I/usr/lib/graphene-1.0/include -I/usr/include/json-glib-1.0 -I/usr/include/gsettings-desktop-schemas -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -ffloat-store -D_GNU_SOURCE -O2 -march=i686 -pipe -pthread -DCLUTTER_ENABLE_COMPOSITOR_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCOGL_ENABLE_MUTTER_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS -DSN_API_NOT_YET_FROZEN=1 '-DGETTEXT_PACKAGE="mutter"' -DWITH_VERBOSE_MODE '-DG_LOG_DOMAIN="mutter-test-client"' -MD -MQ src/tests/mutter-test-client.p/test-client.c.o -MF src/tests/mutter-test-client.p/test-client.c.o.d -o src/tests/mutter-test-client.p/test-client.c.o -c ../mutter-45.2/src/tests/test-client.c
../mutter-45.2/src/tests/test-client.c:25:10: fatal error: gdk/gdkwayland.h: No such file or directory
   25 | #include <gdk/gdkwayland.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

Reproducible: Always
Comment 1 matoro archtester 2024-01-23 00:21:43 UTC
Created attachment 882907 [details]
build.log and emerge --info
Comment 2 Matt Turner gentoo-dev 2024-01-24 18:46:32 UTC
Presumably it builds with USE=wayland?
Comment 3 matoro archtester 2024-01-24 20:09:40 UTC
(In reply to Matt Turner from comment #2)
> Presumably it builds with USE=wayland?

No, this is with USE=wayland enabled, see build log
Comment 4 Larry the Git Cow gentoo-dev 2024-02-11 14:45:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b6828796c3f85be88e0e9426786a3c028c7d23

commit a3b6828796c3f85be88e0e9426786a3c028c7d23
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2024-02-11 14:43:15 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2024-02-11 14:44:42 +0000

    x11-wm/mutter: fix test dep to include gtk[wayland], don't RDEP on test deps
    
    Closes: https://bugs.gentoo.org/922733
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 x11-wm/mutter/mutter-45.2-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)