[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978192: xfce4-sensors-plugin: FTBFS: NVCtrlLib.h:42:1: error: unknown type name ‘Bool’; did you mean ‘bool’?



Followup-For: Bug #978192
Control: reassign -1 libxnvctrl-dev
Control: affects -1 + src:xfce4-sensors-plugin

NVCtrlLib.h uses macros from X11/Xlib.h but does not include that header.
So including NVCtrlLib.h only worked if X11/Xlib.h was accidentally
included earlier, which no longer is the case: rebuilding
xfce4-sensors-plugin/sid fails in sid and bullseye, but works in buster.

In buster the include chain was
  /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h
  /usr/include/gtk-3.0/gdk/gdkx.h
  /usr/include/X11/Xlib.h
but in bullseye
  /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros.h
no longer includes gdkx.h
And nvidia.c itself includes NVCtrlLib.h and X11/Xlib.h in the wrong^Wunlucky
order.


Andreas


Reply to: