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

Bug#855958: xserver-xorg-video-nv: not installable in sid, on any architecture



Followup-For: Bug #855958
Control: retitle -1 xserver-xorg-video-nv: FTBFS with current Xorg: nv_driver.c:1181:6: error: too many arguments to function 'pScreen->BlockHandler'
Control: tags -1 ftbfs

Hi,

  CC       nv_driver.lo
In file included from ../../src/nv_include.h:19,
                 from ../../src/nv_driver.c:31:
/usr/include/xorg/xf86PciInfo.h:50:2: warning: #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server
." [-Wcpp]
 #warning "xf86PciInfo.h is deprecated.  For greater compatibility, drivers should include necessary PCI IDs locally rather than relying on this file from xorg-server."
  ^~~~~~~
In file included from ../../src/nv_include.h:34,
                 from ../../src/nv_driver.c:31:
../../src/nv_driver.c: In function 'NVPciProbe':
../../src/nv_const.h:5:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'CARD32' {aka 'const long unsigned int'} [-Wformat=]
 #define NV_NAME "NV"
                 ^~~~
../../src/nv_driver.c:916:20: note: in expansion of macro 'NV_NAME'
                    NV_NAME ": The PCI device 0x%x (%s) at %2.2d@%2.2d:%2.2d:%1.1d has a kernel module claiming it.\n",
                    ^~~~~~~
../../src/nv_driver.c:916:49: note: format string is defined here
                    NV_NAME ": The PCI device 0x%x (%s) at %2.2d@%2.2d:%2.2d:%1.1d has a kernel module claiming it.\n",
                                                ~^
                                                %lx
In file included from ../../src/nv_include.h:34,
                 from ../../src/nv_driver.c:31:
../../src/nv_const.h:5:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'CARD32' {aka 'const long unsigned int'} [-Wformat=]
 #define NV_NAME "NV"
                 ^~~~
../../src/nv_driver.c:929:24: note: in expansion of macro 'NV_NAME'
                        NV_NAME ": Ignoring unsupported device 0x%x (%s) at %2.2d@%2.2d:%2.2d:%1.1d\n",
                        ^~~~~~~
../../src/nv_driver.c:929:66: note: format string is defined here
                        NV_NAME ": Ignoring unsupported device 0x%x (%s) at %2.2d@%2.2d:%2.2d:%1.1d\n",
                                                                 ~^
                                                                 %lx
In file included from ../../src/nv_include.h:34,
                 from ../../src/nv_driver.c:31:
../../src/nv_const.h:5:17: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'CARD32' {aka 'const long unsigned int'} [-Wformat=]
 #define NV_NAME "NV"
                 ^~~~
../../src/nv_driver.c:933:24: note: in expansion of macro 'NV_NAME'
                        NV_NAME ": Ignoring unsupported device 0x%x at %2.2d@%2.2d:%2.2d:%1.1d\n",
                        ^~~~~~~
../../src/nv_driver.c:933:66: note: format string is defined here
                        NV_NAME ": Ignoring unsupported device 0x%x at %2.2d@%2.2d:%2.2d:%1.1d\n",
                                                                 ~^
                                                                 %lx
../../src/nv_driver.c: In function 'NVBlockHandler':
../../src/nv_driver.c:1181:6: error: too many arguments to function 'pScreen->BlockHandler'
     (*pScreen->BlockHandler) (BLOCKHANDLER_ARGS);
     ~^~~~~~~~~~~~~~~~~~~~~~~
../../src/nv_driver.c:1182:27: warning: assignment to 'ScreenBlockHandlerProcPtr' {aka 'void (*)(struct _Screen *, void *)'} from incompatible pointer type 'void (*)(struct _Screen *, void *, void *)' [-Wincompatible-pointer-types]
     pScreen->BlockHandler = NVBlockHandler;
                           ^
../../src/nv_driver.c: In function 'NVScreenInit':
../../src/nv_driver.c:2593:16: warning: implicit declaration of function 'xf86DisableRandR'; did you mean 'xf86DisableIO'? [-Wimplicit-function-declaration]
                xf86DisableRandR();
                ^~~~~~~~~~~~~~~~
                xf86DisableIO
../../src/nv_driver.c:2620:27: warning: assignment to 'ScreenBlockHandlerProcPtr' {aka 'void (*)(struct _Screen *, void *)'} from incompatible pointer type 'void (*)(struct _Screen *, void *, void *)' [-Wincompatible-pointer-types]
     pScreen->BlockHandler = NVBlockHandler;
                           ^
make[3]: *** [Makefile:582: nv_driver.lo] Error 1


Andreas


Reply to: