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

Thomas Ward 1922583 at bugs.launchpad.net
Mon Apr 5 20:31:54 UTC 2021


Fixed nvidia-settings uploaded to hirsute, waiting acceptance by release
team.

** Changed in: nvidia-settings (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1922583

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

Status in nvidia-settings package in Ubuntu:
  In Progress
Status in xfce4-sensors-plugin package in Ubuntu:
  New
Status in nvidia-settings package in Debian:
  Fix Released

Bug description:
  Imported from Debian bug http://bugs.debian.org/978192:

  Source: xfce4-sensors-plugin
  Version: 1.3.0-3
  Severity: serious
  Justification: FTBFS on amd64
  Tags: bullseye sid ftbfs
  Usertags: ftbfs-20201226 ftbfs-bullseye

  Hi,

  During a rebuild of all packages in sid, your package failed to build
  on amd64.

  Relevant part (hopefully):
  > /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -pthread -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I/usr/include/NVCtrl -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libxfce4sensors_la-nvidia.lo `test -f 'nvidia.c' || echo './'`nvidia.c
  > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -pthread -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include -I/usr/include/NVCtrl -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c nvidia.c  -fPIC -DPIC -o .libs/libxfce4sensors_la-nvidia.o
  > In file included from nvidia.c:39:
  > /usr/include/NVCtrl/NVCtrlLib.h:42:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >    42 | Bool XNVCTRLQueryExtension (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:43:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >    43 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:57:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >    57 | Bool XNVCTRLQueryVersion (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:58:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >    58 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:71:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >    71 | Bool XNVCTRLIsNvScreen (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:72:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >    72 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:92:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >    92 | Bool XNVCTRLQueryTargetCount (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:93:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >    93 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:118:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   118 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:141:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   141 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:159:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   159 | Bool XNVCTRLSetAttributeAndGetStatus (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:160:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   160 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:177:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   177 | Bool XNVCTRLSetTargetAttributeAndGetStatus (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:178:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   178 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:206:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   206 | Bool XNVCTRLQueryAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:207:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   207 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:230:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   230 | Bool XNVCTRLQueryTargetAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:231:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   231 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:258:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   258 | Bool XNVCTRLQueryTargetAttribute64 (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:259:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   259 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:286:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   286 | Bool XNVCTRLQueryStringAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:287:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   287 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:309:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   309 | Bool XNVCTRLQueryTargetStringAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:310:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   310 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:330:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   330 | Bool XNVCTRLSetStringAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:331:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   331 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:350:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   350 | Bool XNVCTRLSetTargetStringAttribute (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:351:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   351 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:373:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   373 | Bool XNVCTRLQueryValidAttributeValues (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:374:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   374 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:391:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   391 | Bool XNVCTRLQueryValidTargetAttributeValues (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:392:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   392 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:409:2: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   409 |  Bool XNVCTRLQueryValidTargetStringAttributeValues (
  >       |  ^~~~
  >       |  bool
  > /usr/include/NVCtrl/NVCtrlLib.h:410:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   410 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:428:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   428 | Bool XNVCTRLQueryAttributePermissions (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:429:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   429 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:443:2: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   443 |  Bool XNVCTRLQueryStringAttributePermissions (
  >       |  ^~~~
  >       |  bool
  > /usr/include/NVCtrl/NVCtrlLib.h:444:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   444 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:458:2: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   458 |  Bool XNVCTRLQueryBinaryDataAttributePermissions (
  >       |  ^~~~
  >       |  bool
  > /usr/include/NVCtrl/NVCtrlLib.h:459:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   459 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:473:2: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   473 |  Bool XNVCTRLQueryStringOperationAttributePermissions (
  >       |  ^~~~
  >       |  bool
  > /usr/include/NVCtrl/NVCtrlLib.h:474:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   474 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:531:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   531 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:554:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   554 | Bool XNVCTRLQueryGvoColorConversion (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:555:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   555 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:582:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   582 | Bool XNVCTRLQueryBinaryData (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:583:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   583 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:607:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   607 | Bool XNVCTRLQueryTargetBinaryData (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:608:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   608 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:625:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   625 | Bool XNVCTRLStringOperation (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:626:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   626 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:687:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   687 | Bool XNVCTRLBindWarpPixmapName (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:688:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   688 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:690:5: error: unknown type name ‘Pixmap’
  >   690 |     Pixmap pixmap_id,
  >       |     ^~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:709:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   709 | Bool XNVCtrlSelectNotify (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:710:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   710 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:713:5: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   713 |     Bool onoff
  >       |     ^~~~
  >       |     bool
  > /usr/include/NVCtrl/NVCtrlLib.h:731:1: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   731 | Bool XNVCtrlSelectTargetNotify (
  >       | ^~~~
  >       | bool
  > /usr/include/NVCtrl/NVCtrlLib.h:732:5: error: unknown type name ‘Display’; did you mean ‘GdkDisplay’?
  >   732 |     Display *dpy,
  >       |     ^~~~~~~
  >       |     GdkDisplay
  > /usr/include/NVCtrl/NVCtrlLib.h:736:5: error: unknown type name ‘Bool’; did you mean ‘bool’?
  >   736 |     Bool onoff
  >       |     ^~~~
  >       |     bool
  > /usr/include/NVCtrl/NVCtrlLib.h:747:5: error: unknown type name ‘Bool’
  >   747 |     Bool send_event;  /* always FALSE, we don't allow send_events */
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:748:5: error: unknown type name ‘Display’
  >   748 |     Display *display;
  >       |     ^~~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:749:5: error: unknown type name ‘Time’
  >   749 |     Time time;
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:770:5: error: unknown type name ‘Bool’
  >   770 |     Bool send_event;  /* always FALSE, we don't allow send_events */
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:771:5: error: unknown type name ‘Display’
  >   771 |     Display *display;
  >       |     ^~~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:772:5: error: unknown type name ‘Time’
  >   772 |     Time time;
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:794:5: error: unknown type name ‘Bool’
  >   794 |     Bool send_event;  /* always FALSE, we don't allow send_events */
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:795:5: error: unknown type name ‘Display’
  >   795 |     Display *display;
  >       |     ^~~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:796:5: error: unknown type name ‘Time’
  >   796 |     Time time;
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:802:5: error: unknown type name ‘Bool’
  >   802 |     Bool availability;
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:819:5: error: unknown type name ‘Bool’
  >   819 |     Bool send_event;  /* always FALSE, we don't allow send_events */
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:820:5: error: unknown type name ‘Display’
  >   820 |     Display *display;
  >       |     ^~~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:821:5: error: unknown type name ‘Time’
  >   821 |     Time time;
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:843:5: error: unknown type name ‘Bool’
  >   843 |     Bool send_event;  /* always FALSE, we don't allow send_events */
  >       |     ^~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:844:5: error: unknown type name ‘Display’
  >   844 |     Display *display;
  >       |     ^~~~~~~
  > /usr/include/NVCtrl/NVCtrlLib.h:845:5: error: unknown type name ‘Time’
  >   845 |     Time time;
  >       |     ^~~~
  > nvidia.c: In function ‘get_nvidia_value’:
  > nvidia.c:107:9: warning: implicit declaration of function ‘XNVCTRLQueryTargetAttribute’ [-Wimplicit-function-declaration]
  >   107 |     if (XNVCTRLQueryTargetAttribute (nvidia_sensors_display,
  >       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  > nvidia.c: In function ‘read_gpus’:
  > nvidia.c:160:13: warning: implicit declaration of function ‘XNVCTRLQueryExtension’; did you mean ‘XQueryExtension’? [-Wimplicit-function-declaration]
  >   160 |         if (XNVCTRLQueryExtension (nvidia_sensors_display, &event, &error)) {
  >       |             ^~~~~~~~~~~~~~~~~~~~~
  >       |             XQueryExtension
  > nvidia.c:161:13: warning: implicit declaration of function ‘XNVCTRLQueryTargetCount’ [-Wimplicit-function-declaration]
  >   161 |             XNVCTRLQueryTargetCount (nvidia_sensors_display,
  >       |             ^~~~~~~~~~~~~~~~~~~~~~~
  > nvidia.c:171:13: warning: implicit declaration of function ‘XNVCTRLQueryTargetStringAttribute’ [-Wimplicit-function-declaration]
  >   171 |         if (XNVCTRLQueryTargetStringAttribute (nvidia_sensors_display,
  >       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  > make[3]: *** [Makefile:650: libxfce4sensors_la-nvidia.lo] Error 1

  The full build log is available from:
     http://qa-logs.debian.net/2020/12/26/xfce4-sensors-plugin_1.3.0-3_unstable.log

  A list of current common problems and possible solutions is available at
  http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

  If you reassign this bug to another package, please marking it as 'affects'-ing
  this package. See https://www.debian.org/Bugs/server-control#affects

  If you fail to reproduce this, please provide a build log and diff it with me
  so that we can identify if something relevant changed in the meantime.

  About the archive rebuild: The rebuild was done on EC2 VM instances from
  Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
  failed build was retried once to eliminate random failures.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1922583/+subscriptions



More information about the Ubuntu-sponsors mailing list