Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 808081

Summary: app-crypt/gcr causing build failures for gnome-extra/evolution-data-server 3.40.4 after wayland use change
Product: Gentoo Linux Reporter: Jay Faulkner <jay>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: normal CC: jay, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Attachments: buildlog

Description Jay Faulkner 2021-08-13 23:33:13 UTC
Attempted to upgrade to the latest evolution-data-server as part of my usual system updates. The build failed with an extremely cryptic, nondetailed error (perhaps I missed the actual error?) 

FAILED: src/services/evolution-alarm-notify/evolution-alarm-notify

grepping out the log for warnings, I find:

../../../evolution-data-server-3.40.4/src/libedataserver/e-source-registry.c:2787: Warning: EDataServer: Unknown container Type(target_giname=GLib.Node, ctype=GNode*) for element-type annotation
../../../evolution-data-server-3.40.4/src/libedataserver/e-webdav-session.c:4209: Warning: EDataServer: Unknown container Type(target_giname=GLib.Node, ctype=GNode**) for element-type annotation

I don't know if they are related. I'm attaching my emerge --info output and build logs. Happy to help debug this if someone can point me in a good direction.
Comment 1 Jay Faulkner 2021-08-13 23:34:17 UTC
Created attachment 732742 [details]
Comment 2 Jay Faulkner 2021-08-13 23:34:42 UTC
Created attachment 732745 [details]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-13 23:39:04 UTC
Grepping for "error:", looks like:
>/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/ >undefined reference to `gdk_wayland_window_set_transient_for_exported'
>/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/ >undefined reference to `gdk_wayland_window_get_type'
>collect2: error: ld returned 1 exit status

Can you run: emerge -v1 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/ It should rebuild that library and maybe we'll get somewhere then.

It sounds a bit like e.g. GTK has its wayland USE flag flipped on/off, see bug 624960.
Comment 4 Jay Faulkner 2021-08-13 23:44:54 UTC
The build succeeded after running emerge -v1 /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../lib64/

I had recently added -wayland use flag in my make.conf, and I thought running `emerge -uDN world` would be sufficient to resolve the issue.

Thanks for helping me with the immediate issue; if this is a systemmatic bug I'm happy to help find it with help.
Comment 5 Jay Faulkner 2021-08-14 00:07:52 UTC
Per our conversation in IRC, I'm going to PR a change to app-crypt/gcr adding a wayland use flag, and a dependency on x11-libs/gtk+[wayland=]
Comment 6 Jay Faulkner 2024-02-08 04:02:25 UTC
This is likely very unreproducable at this point, as the packages in question are many versions further. Going to close this as invalid.