• Bug#1103804: xserver-xorg-video-trident FTBFS on arm architectures: err

    From Helmut Grohne@21:1/5 to All on Mon Apr 21 19:20:01 2025
    Source: xserver-xorg-video-trident
    Version: 1:1.4.0-1
    Severity: serious
    Tags: ftbfs
    X-Debbugs-Cc: debian-arm@lists.debian.org
    User: debian-arm@lists.debian.org
    Usertags: arm

    xserver-xorg-video-trident fails to build from source on arm
    architectures.

    https://tests.reproducible-builds.org/debian/rbuild/unstable/arm64/xserver-xorg-video-trident_1.4.0-1.rbuild.log.gz

    | /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -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 -g -O2 -Werror=
    implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xserver-xorg-video-trident-1.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o trident_bank.lo ../../src/
    trident_bank.c
    | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -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 -g -O2 -Werror=implicit-function-declaration -ffile-
    prefix-map=/build/reproducible-path/xserver-xorg-video-trident-1.4.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c ../../src/trident_bank.c -fPIC -DPIC -o .libs/trident_bank.o
    | In file included from ../../src/trident_bank.c:38:
    | ../../src/trident_bank.c: In function 'TVGA8900SetRead':
    | ../../src/trident_regs.h:315:13: error: implicit declaration of function 'outw'; did you mean 'putw'? [-Wimplicit-function-declaration]
    | 315 | outw(pTrident->PIOBase + (addr), data); \
    | | ^~~~
    | ../../src/trident_bank.c:46:3: note: in expansion of macro 'OUTW'
    | 46 | OUTW(0x3c4, 0xC000 | (((bank & 0x3f) ^ 0x02)<<8)|0x0E);
    | | ^~~~
    | ../../src/trident_bank.c: In function 'TGUISetRead':
    | ../../src/trident_regs.h:307:13: error: implicit declaration of function 'outb' [-Wimplicit-function-declaration]
    | 307 | outb(pTrident->PIOBase + (addr), data); \
    | | ^~~~
    | ../../src/trident_bank.c:55:3: note: in expansion of macro 'OUTB'
    | 55 | OUTB(0x3d9, bank & 0xff);
    | | ^~~~

    https://tests.reproducible-builds.org/debian/rbuild/unstable/armhf/xserver-xorg-video-trident_1.4.0-1.rbuild.log.gz

    Helmut

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Apr 21 19:30:01 2025
    Processing control commands:

    severity -1 normal
    Bug #1103804 [src:xserver-xorg-video-trident] xserver-xorg-video-trident FTBFS on arm architectures: error: implicit declaration of function 'outw'; did you mean 'putw'? [-Wimplicit-function-declaration]
    Severity set to 'normal' from 'serious'

    --
    1103804: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103804
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

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