Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878813 - app-i18n/ibus-1.5.27 - panel.c: fatal error: libnotify/notify.h: No such file or directory
Summary: app-i18n/ibus-1.5.27 - panel.c: fatal error: libnotify/notify.h: No such file...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 10:21 UTC by Toralf Förster
Modified: 2023-02-24 22:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.35 KB, text/plain)
2022-10-30 10:21 UTC, Toralf Förster
Details
app-i18n:ibus-1.5.27:20221030-013946.log.bz2 (app-i18n:ibus-1.5.27:20221030-013946.log.bz2,19.20 KB, application/x-bzip)
2022-10-30 10:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,28.82 KB, text/plain)
2022-10-30 10:21 UTC, Toralf Förster
Details
environment (environment,143.25 KB, text/plain)
2022-10-30 10:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.36 KB, application/x-bzip)
2022-10-30 10:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.20 KB, application/x-bzip)
2022-10-30 10:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.09 KB, application/x-bzip)
2022-10-30 10:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-30 10:21:18 UTC
too long lines were shrinked:

keybindingmanager.c:1388:13: note: in expansion of macro g_once_init_enter
 1388 |         if (g_once_init_enter (&keybinding_manager_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I../../src -include ../../config.h   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmou
panel.c:47:10: fatal error: libnotify/notify.h: No such file or directory
   47 | #include <libnotify/notify.h>
      |          ^~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20221029-213919

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Rust versions:
  [1]   rust-1.64.0 *
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 7534ded561b230bf984a1d3be0a1a6c92c1bbd22
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 29 19:31:52 2022 +0000

    2022-10-29 19:31:51 UTC

emerge -qpvO app-i18n/ibus
[ebuild  N    ] app-i18n/ibus-1.5.27  USE="X appindicator emoji gtk3 gtk4 gui introspection nls python unicode vala wayland -gtk2 -libnotify -systemd -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-10-30 10:21:19 UTC
Created attachment 826129 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-30 10:21:20 UTC
Created attachment 826131 [details]
app-i18n:ibus-1.5.27:20221030-013946.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-30 10:21:21 UTC
Created attachment 826133 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-30 10:21:23 UTC
Created attachment 826135 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-30 10:21:24 UTC
Created attachment 826137 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-30 10:21:25 UTC
Created attachment 826139 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-30 10:21:27 UTC
Created attachment 826141 [details]
temp.tar.bz2
Comment 8 Matt Turner gentoo-dev 2023-02-24 03:50:58 UTC
Looks like it still tries to use libnotify even when libnotify support has been disabled.
Comment 9 i.Dark_Templar 2023-02-24 22:30:37 UTC
It looks like issue caused by pre-generated code from vala. If it is regenerated, everything builds fine. Some change like following should help:

$ diff -u /usr/portage/app-i18n/ibus/ibus-1.5.27.ebuild ibus-1.5.27.ebuild
--- /usr/portage/app-i18n/ibus/ibus-1.5.27.ebuild       2023-02-24 05:40:28.000000000 +0100
+++ ibus-1.5.27.ebuild  2023-02-24 23:28:27.834473614 +0100
@@ -19,10 +19,11 @@
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="X appindicator +emoji gtk2 +gtk3 +gtk4 +gui +introspection libnotify nls +python systemd test +unicode vala wayland"
+IUSE="X appindicator +emoji gtk2 +gtk3 +gtk4 +gui +introspection libnotify nls +python systemd test +unicode +vala wayland"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
        appindicator? ( gtk3 )
+       !libnotify? ( vala )
        python? (
                ${PYTHON_REQUIRED_USE}
                introspection
@@ -93,6 +94,9 @@
        if ! use appindicator; then
                touch ui/gtk3/panel.vala || die
        fi
+       if ! use libnotify; then
+               touch ui/gtk3/panel.vala || die
+       fi
        if [[ -n ${GENTOO_VER} ]]; then
                einfo "Try to apply Gentoo specific patch set"
                eapply "${WORKDIR}"/patches-gentoo/*.patch