Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885051 - gnome-extra/sushi-42.0 with -wayland fails to build
Summary: gnome-extra/sushi-42.0 with -wayland fails to build
Status: RESOLVED DUPLICATE of bug 624960
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 14:01 UTC by Kim Sönksen
Modified: 2022-12-11 11:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Sönksen 2022-12-09 14:01:24 UTC
Build of gnome-extra/sushi-42.0::gentoo  USE="X -office -wayland*" fails beacause of


```
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/libevview3.so: undefined reference to `gdk_wayland_display_get_type'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/libevview3.so: undefined reference to `gdk_wayland_window_export_handle'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['x86_64-pc-linux-gnu-gcc', '-o', '/var/tmp/portage/gnome-extra/sushi-42.0/work/sushi-42.0-build/tmp-introspectsepy1pcb/Sushi-1.0', '-O2', '-pipe', '/var/tmp/portage/gnome-extra/sushi-42.0/work/sushi-42.0-build/tmp-introspectsepy1pcb/Sushi-1.0.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-L/var/tmp/portage/gnome-extra/sushi-42.0/work/sushi-42.0-build/src/libsushi', '-Wl,-rpath,/var/tmp/portage/gnome-extra/sushi-42.0/work/sushi-42.0-build/src/libsushi', '-lsushi-1.0', '-lepoxy', '-levdocument3', '-lgtk-3', '-lgdk-3', '-lpangocairo-1.0', '-lpango-1.0', '-lharfbuzz', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-levview3', '-lgthread-2.0', '-lfreetype', '-lgstreamer-1.0', '-lgstaudio-1.0', '-lgstbase-1.0', '-lgsttag-1.0', '-lgstvideo-1.0', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0', '-Wl,-O1', '-Wl,--as-needed']' returned non-zero exit status 1.
```

Any hints on what to do are very welcomed.
Comment 1 Matt Turner gentoo-dev 2022-12-09 22:58:41 UTC
You apparently built evince against gtk+[wayland], and then rebuilt gtk+ with USE=-wayland.

Rebuild evince.

*** This bug has been marked as a duplicate of bug 624960 ***
Comment 2 Kim Sönksen 2022-12-11 11:42:16 UTC
Thank you, you are right.