Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915359 - app-i18n/ibus-1.5.29_rc1[gtk3,wayland,-introspection] fails to build
Summary: app-i18n/ibus-1.5.29_rc1[gtk3,wayland,-introspection] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-08 08:19 UTC by Marius Stoica
Modified: 2023-11-19 01:04 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,8.04 KB, text/plain)
2023-10-08 08:19 UTC, Marius Stoica
Details
build.log (build.log,454.15 KB, text/x-log)
2023-10-08 08:20 UTC, Marius Stoica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Stoica 2023-10-08 08:19:20 UTC
Created attachment 872287 [details]
emerge --info

Building app-i18n/ibus with a gui, but without python fails.
Comment 1 Marius Stoica 2023-10-08 08:20:00 UTC
Created attachment 872288 [details]
build.log
Comment 2 Matt Turner gentoo-dev 2023-11-18 23:38:05 UTC
Looks like the error is

> make[3]: *** No rule to make target '../../client/wayland/libibuswaylandim.la', needed by 'ibus-ui-gtk3'.  Stop.
> make[3]: *** Waiting for unfinished jobs....

I don't think this is related to USE=-python, but actually is triggered by USE=-introspection.
Comment 3 Matt Turner gentoo-dev 2023-11-19 00:56:20 UTC
Yep, this is apparent from looking at the Makefiles:

In ui/gtk3/Makefile.am:

> libibuswaylandim = $(top_builddir)/client/wayland/libibuswaylandim.la
> [...]
> if ENABLE_GDK3_WAYLAND
> [...]
> AM_LDADD += \
>     $(libibuswaylandim) \
>     $(NULL)

And in client/wayland/Makefile.am:

> if ENABLE_WAYLAND
> if HAVE_INTROSPECTION
> -include $(INTROSPECTION_MAKEFILE)
> 
> libibuswaylandim = libibuswaylandim.la
> noinst_LTLIBRARIES = $(libibuswaylandim)

So this is broken if USE="gtk3 wayland -introspection".
Comment 4 Larry the Git Cow gentoo-dev 2023-11-19 01:04:55 UTC
The bug has been closed via the following commit(s):

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

commit f20e527d7833b6f4466a2a03e7615507648f195f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-11-19 00:58:10 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-11-19 01:04:50 +0000

    app-i18n/ibus: Version bump to 1.5.29
    
    * Add a REQUIRED_USE rule to avoid a build failure (bug #915359)
    
    Closes: https://bugs.gentoo.org/915359
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-i18n/ibus/Manifest           |   1 +
 app-i18n/ibus/ibus-1.5.29.ebuild | 234 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 235 insertions(+)