• Bug#1067197: xserver-xorg-video-nouveau ftbfs

    From Sven Joachim@21:1/5 to All on Tue Mar 19 23:10:01 2024
    XPost: linux.debian.maint.x

    Control: severity -1 normal

    Am 19.03.2024 um 22:15 schrieb Helge Deller:

    Source: xserver-xorg-video-nouveau
    Version: 1:1.0.17-3
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past)
    X-Debbugs-Cc: deller@debian.org

    Failure can be seen on hppa architecture, but I assume it will show up on armel too:

    I don't think so, it has already been built on armhf.

    https://buildd.debian.org/status/fetch.php?pkg=xserver-xorg-video-nouveau&arch=hppa&ver=1%3A1.0.17-3&stamp=1710537593&raw=0

    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src
    -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
    -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/xorg
    -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/libdrm
    -I/usr/include/libdrm/nouveau -I/usr/include/libdrm -g -O2 -Werror=implicit-function-declaration
    -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security
    -Wall -I/usr/include/xorg -fvisibility=hidden -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -c ../../src/nv_shadow.c
    -fPIC -DPIC -o .libs/nv_shadow.o
    ../../src/nv_driver.c: In function ‘NVScreenInit’: ../../src/nv_driver.c:1451:23: error: implicit declaration of function ‘wfbScreenInit’; did you mean ‘fbScreenInit’? [-Werror=implicit-function-declaration]
    1451 | ret = wfbScreenInit(pScreen, FBStart, pScrn->virtualX,
    | ^~~~~~~~~~~~~
    | fbScreenInit
    cc1: some warnings being treated as errors
    make[3]: *** [Makefile:674: nv_driver.lo] Error 1

    The problem is that the hppa and powerpc buildds have an outdated
    version of dpkg-dev installed, although a newer one has been available
    for over a week. I could and maybe should add dpkg-dev (>= 1.22.6) to Build-Depends, but that is one more thing that needs to be reverted when #1066968 gets fixed.

    Cheers,
    Sven

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)