Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808081 - app-crypt/gcr causing build failures for gnome-extra/evolution-data-server 3.40.4 after wayland use change
Summary: app-crypt/gcr causing build failures for gnome-extra/evolution-data-server 3....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-13 23:33 UTC by Jay Faulkner
Modified: 2024-02-08 04:02 UTC (History)
2 users (show)

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


Attachments
buildlog (evolution-data-server-3.40.4-failed-build.log.gz,43.86 KB, application/gzip)
2021-08-13 23:34 UTC, Jay Faulkner
Details
jf-emerge-info (emerge-info-20210813.gz,3.72 KB, application/gzip)
2021-08-13 23:34 UTC, Jay Faulkner
Details

Note You need to log in before you can comment on or make changes to this bug.
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]
buildlog
Comment 2 Jay Faulkner 2021-08-13 23:34:42 UTC
Created attachment 732745 [details]
jf-emerge-info
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/libgcr-ui-3.so: >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/libgcr-ui-3.so: >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/libgcr-ui-3.so? 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/libgcr-ui-3.so.

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.