Bug#957618: nvidia-settings: ftbfs with GCC-10
Matthias Klose
doko at debian.org
Fri Apr 17 12:07:31 BST 2020
Package: src:nvidia-settings
Version: 440.59-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/nvidia-settings_440.59-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
-Wl,-soname -Wl,libnvidia-gtk3.so.440.59 \
_out/debian/gtk3/ctkxvideo.o _out/debian/gtk3/ctkui.o _out/debian/gtk3/ctkframelock.o _out/debian/gtk3/ctkgauge.o _out/debian/gtk3/ctkcurve.o _out/debian/gtk3/ctkcolorcorrection.o _out/debian/gtk3/ctkcolorcorrectionpage.o _out/debian/gtk3/ctkscale.o _out/debian/gtk3/ctkmultisample.o _out/debian/gtk3/ctkconfig.o _out/debian/gtk3/ctkevent.o _out/debian/gtk3/ctkwindow.o _out/debian/gtk3/ctkopengl.o _out/debian/gtk3/ctkglx.o _out/debian/gtk3/ctkhelp.o _out/debian/gtk3/ctkimagesliders.o _out/debian/gtk3/ctkdisplaydevice.o _out/debian/gtk3/ctkditheringcontrols.o _out/debian/gtk3/ctkthermal.o _out/debian/gtk3/ctkpowermizer.o _out/debian/gtk3/ctkgvo.o _out/debian/gtk3/ctkgvo-csc.o _out/debian/gtk3/ctkdropdownmenu.o _out/debian/gtk3/ctkutils.o _out/debian/gtk3/ctkedid.o _out/debian/gtk3/ctkserver.o _out/debian/gtk3/ctkdisplaylayout.o _out/debian/gtk3/ctkdisplayconfig.o _out/debian/gtk3/ctkscreen.o _out/debian/gtk3/ctkslimm.o _out/debian/gtk3/ctkgpu.o _out/debian/gtk3/ctkbanner.o _out/debian/gtk3/ctkvcs.o _out/debian/gtk3/ctkdisplayconfig-utils.o _out/debian/gtk3/ctkgvo-banner.o _out/debian/gtk3/ctkgvo-sync.o _out/debian/gtk3/ctkgvi.o _out/debian/gtk3/ctkecc.o _out/debian/gtk3/ctkappprofile.o _out/debian/gtk3/ctkapcprofilemodel.o _out/debian/gtk3/ctkapcrulemodel.o _out/debian/gtk3/ctkcolorcontrols.o _out/debian/gtk3/ctk3dvisionpro.o _out/debian/gtk3/ctkvdpau.o _out/debian/gtk3/ctkgridlicense.o _out/debian/gtk3/ctkglwidget.o _out/debian/gtk3/ctkglstereo.o _out/debian/gtk3/opengl_loading.o _out/debian/gtk3/opengl_wrappers.o _out/debian/gtk3/matrix_utils.o _out/debian/DRI.o _out/debian/Device.o _out/debian/Extensions.o _out/debian/Files.o _out/debian/Flags.o _out/debian/Generate.o _out/debian/Input.o _out/debian/Keyboard.o _out/debian/Layout.o _out/debian/Merge.o _out/debian/Module.o _out/debian/Monitor.o _out/debian/Pointer.o _out/debian/Read.o _out/debian/Scan.o _out/debian/Screen.o _out/debian/Util.o _out/debian/Vendor.o _out/debian/Video.o _out/debian/Write.o _out/debian/antialias.png.o _out/debian/background.png.o _out/debian/background_tall.png.o _out/debian/bnc_cable.png.o _out/debian/bsd.png.o _out/debian/clock.png.o _out/debian/color.png.o _out/debian/config.png.o _out/debian/crt.png.o _out/debian/dfp.png.o _out/debian/display_config.png.o _out/debian/framelock.png.o _out/debian/gpu.png.o _out/debian/graphics.png.o _out/debian/gvi.png.o _out/debian/help.png.o _out/debian/led_green.png.o _out/debian/led_grey.png.o _out/debian/led_red.png.o _out/debian/left.png.o _out/debian/logo.png.o _out/debian/logo_tall.png.o _out/debian/nvidia_icon.png.o _out/debian/nvlogo.png.o _out/debian/opengl.png.o _out/debian/penguin.png.o _out/debian/right.png.o _out/debian/rj45_input.png.o _out/debian/rj45_output.png.o _out/debian/rj45_unused.png.o _out/debian/sdi.png.o _out/debian/sdi_shared_sync_bnc.png.o _out/debian/server_licensing.png.o _out/debian/slimm.png.o _out/debian/solaris.png.o _out/debian/svp_3dvp.png.o _out/debian/thermal.png.o _out/debian/vcs.png.o _out/debian/vdpau.png.o _out/debian/x.png.o _out/debian/xvideo.png.o \
_out/debian/libXNVCtrl.so -lXxf86vm -ljansson -lX11 -lXext -lm -ldl -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
/usr/bin/ld: _out/debian/gtk3/ctkvdpau.o:./src/gtk+-2.x/ctkvdpau.h:70: multiple definition of `VDPAUDeviceFunctions'; _out/debian/gtk3/ctkwindow.o:./src/gtk+-2.x/ctkvdpau.h:70: first defined here
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_LINUX -DNV_X86_64 -DNV_ARCH_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DPKG_CONFIG_XORG_XSERVER_LIBDIR='"/usr/lib/x86_64-linux-gnu"' -DNVIDIA_VERSION=\"440.59\" -I . -I image_data -I ../src/libXNVCtrl -I XF86Config-parser/.. -I libXNVCtrlAttributes -I xpm_data -I common-utils -I common-unix/virtual-resolutions -I _out/debian -I /usr/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DPROGRAM_NAME=\"nvidia-settings\" -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/X11R6/lib64 \
-rdynamic -o _out/debian/nvidia-settings.unstripped _out/debian/command-line.o _out/debian/config-file.o _out/debian/lscf.o _out/debian/nvidia-settings.o _out/debian/parse.o _out/debian/query-assign.o _out/debian/app-profiles.o _out/debian/glxinfo.o _out/debian/NvCtrlAttributes.o _out/debian/NvCtrlAttributesNvControl.o _out/debian/NvCtrlAttributesVidMode.o _out/debian/NvCtrlAttributesXv.o _out/debian/NvCtrlAttributesGlx.o _out/debian/NvCtrlAttributesEgl.o _out/debian/NvCtrlAttributesXrandr.o _out/debian/NvCtrlAttributesUtils.o _out/debian/NvCtrlAttributesNvml.o _out/debian/nvgetopt.o _out/debian/common-utils.o _out/debian/msg.o _out/debian/nvvr.o _out/debian/libXNVCtrl.so -lXxf86vm -ljansson -lX11 -lXext -lm -ldl
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from gtk+-2.x/ctkutils.h:23,
from gtk+-2.x/opengl_wrappers.c:20:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gtk+-2.x/ctkutils.h:23,
from gtk+-2.x/opengl_wrappers.c:20:
/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here
679 | {
| ^
ln -f _out/debian/nvidia-settings.unstripped _out/debian/nvidia-settings
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
from /usr/include/gtk-2.0/gtk/gtk.h:126,
from gtk+-2.x/ctkutils.h:23,
from gtk+-2.x/opengl_wrappers.c:20:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
73 | GTimeVal last_popdown;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from /usr/include/gtk-2.0/gdk/gdk.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:32,
from gtk+-2.x/ctkutils.h:23,
from gtk+-2.x/opengl_wrappers.c:20:
/usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
551 | struct _GTimeVal
| ^~~~~~~~~
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:291: _out/debian/libnvidia-gtk3.so.unstripped] Error 1
make[3]: *** Waiting for unfinished jobs....
rm _out/debian/nvidia-settings.unstripped
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:23: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:61: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:51: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-nvidia-devel
mailing list