Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671018

Summary: xfce-extra/xfce4-pulseaudio-plugin-0.4.1 : pulseaudio-config.h:23:10: fatal error: dbus/dbus-glib.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: CONFIRMED ---    
Severity: normal CC: bugzilla, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
xfce-extra:xfce4-pulseaudio-plugin-0.4.1:20181112-201536.log
patch for xfce4-pulseaudio-plugin-0.4.1.ebuild
modified patch from upstream

Description Toralf Förster gentoo-dev 2018-11-12 20:29:28 UTC
In file included from pulseaudio-volume.c:36:
pulseaudio-config.h:23:10: fatal error: dbus/dbus-glib.h: No such file or directory
 #include <dbus/dbus-glib.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20181104-213057

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems) *
  [3]   ruby25 (with Rubygems)
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO xfce-extra/xfce4-pulseaudio-plugin
[ebuild  N    ] xfce-extra/xfce4-pulseaudio-plugin-0.4.1  USE="libnotify -debug -keybinder -wnck"
Comment 1 Toralf Förster gentoo-dev 2018-11-12 20:29:31 UTC
Created attachment 554972 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-12 20:29:34 UTC
Created attachment 554974 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-12 20:29:36 UTC
Created attachment 554976 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-12 20:29:39 UTC
Created attachment 554978 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-12 20:29:42 UTC
Created attachment 554980 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-12 20:29:44 UTC
Created attachment 554982 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-11-12 20:29:47 UTC
Created attachment 554984 [details]
xfce-extra:xfce4-pulseaudio-plugin-0.4.1:20181112-201536.log
Comment 8 Will Simoneau 2019-05-17 15:47:42 UTC
Created attachment 577076 [details, diff]
patch for xfce4-pulseaudio-plugin-0.4.1.ebuild

Forgetting to pull in dbus-glib-1 looks like an upstream bug. The attached workaround does the trick here.
Comment 9 Olof Kindgren 2019-12-01 21:58:44 UTC
The upstream bug seems to indicate that it's a false dependency on dbus-glib and has an attached patch to fix this https://bugzilla.xfce.org/show_bug.cgi?id=15343

I'm not entirely sure how to patch ebuilds so I haven't been able to confirm if it's working as intended
Comment 10 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2020-05-28 00:06:17 UTC
Created attachment 642120 [details, diff]
modified patch from upstream

This is a slightly modified version of upstream commit 93aefcbe. It fixes the build issue. According to https://bugzilla.xfce.org/show_bug.cgi?id=15343 the include is garbage and the patch replaces it.

https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/commit?id=93aefcbeb147c468982b7b442b881c4a535b1b98
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-28 06:59:05 UTC
Thank you but isn't the fix included in 0.4.3?