Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671018 - xfce-extra/xfce4-pulseaudio-plugin-0.4.1 : pulseaudio-config.h:23:10: fatal error: dbus/dbus-glib.h: No such file or directory
Summary: xfce-extra/xfce4-pulseaudio-plugin-0.4.1 : pulseaudio-config.h:23:10: fatal e...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 20:29 UTC by Toralf Förster
Modified: 2020-05-28 06:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.93 KB, text/plain)
2018-11-12 20:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,385.83 KB, text/plain)
2018-11-12 20:29 UTC, Toralf Förster
Details
environment (environment,89.05 KB, text/plain)
2018-11-12 20:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.60 KB, application/x-bzip)
2018-11-12 20:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.82 KB, application/x-bzip)
2018-11-12 20:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.71 KB, application/x-bzip)
2018-11-12 20:29 UTC, Toralf Förster
Details
xfce-extra:xfce4-pulseaudio-plugin-0.4.1:20181112-201536.log (xfce-extra:xfce4-pulseaudio-plugin-0.4.1:20181112-201536.log,29.11 KB, text/plain)
2018-11-12 20:29 UTC, Toralf Förster
Details
patch for xfce4-pulseaudio-plugin-0.4.1.ebuild (xfce4-pulseaudio-plugin-0.4.1_fix-dbus-glib-includes.patch,1002 bytes, patch)
2019-05-17 15:47 UTC, Will Simoneau
Details | Diff
modified patch from upstream (remove-dbus-glib.patch,343 bytes, patch)
2020-05-28 00:06 UTC, John Helmert III
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?