I have current dev-util/meson-0.57.2 installed. The error is that gcc is called with "-llibwrap" in order to test for libwrap; that should be "-lwrap" of course. The problem is in line 93 of meson.build: libwrap_dep = cc.find_library('libwrap') Changing 'libwrap' to 'wrap' allows gdm to build. Reproducible: Always
Created attachment 709368 [details, diff] Fix meson.build Patch to fix meson.build.
Thank you very much. I've opened a merge request upstream to get your fix included.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030a016070ea1119dd4b91df2c3143c11a4baed3 commit 030a016070ea1119dd4b91df2c3143c11a4baed3 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-05-19 18:31:55 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-05-19 18:43:56 +0000 gnome-base/gdm: Fix libwrap detection Closes: https://bugs.gentoo.org/790671 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../gdm-40.0-meson-Fix-libwrap-detection.patch | 28 ++++++++++++++++++++++ gnome-base/gdm/gdm-40.0.ebuild | 2 ++ 2 files changed, 30 insertions(+)