** Description changed: [Impact] xserver-xorg-video-vesa 1:2.6.0-1build1 fails to build on armhf. Relevant log: ``` 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=3 -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=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/xserver-xorg-video-vesa-1:2.6.0-1build1 -c ../../src/vesa.c -fPIC -DPIC -o .libs/vesa.o ../../src/vesa.c: In function ‘VESALoadPalette’: ../../src/vesa.c:1437:12: error: implicit declaration of function ‘outb’ [-Werror=implicit-function-declaration] 1437 | outb(pVesa->ioBase + VGA_DAC_WRITE_ADDR, idx); | ^~~~ ../../src/vesa.c:1431:18: error: implicit declaration of function ‘inb’ [-Werror=implicit-function-declaration] 1431 | (void)inb(pVesa->ioBase + VGA_IOBASE_COLOR + VGA_IN_STAT_1_OFFSET); \ | ^~~ ../../src/vesa.c:1438:12: note: in expansion of macro ‘VESADACDelay’ 1438 | VESADACDelay(); | ^~~~~~~~~~~~ ``` [Test Plan] The package needs to build. [Where problems could occur] Declaring the function prototypes for un-exposed functions may cause - memory safety issues should the API change. However, this was only known - to happen in the newer 24.x branch of the X server, which we did not - upgrade to in Noble. - + memory safety issues should the API change. This was already a risk in + an existing driver code that used a function without a declared + prototype. [Other Info]
** Description changed: [Impact] xserver-xorg-video-vesa 1:2.6.0-1build1 fails to build on armhf. Relevant log: ``` 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=3 -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=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/xserver-xorg-video-vesa-1:2.6.0-1build1 -c ../../src/vesa.c -fPIC -DPIC -o .libs/vesa.o ../../src/vesa.c: In function ‘VESALoadPalette’: ../../src/vesa.c:1437:12: error: implicit declaration of function ‘outb’ [-Werror=implicit-function-declaration] 1437 | outb(pVesa->ioBase + VGA_DAC_WRITE_ADDR, idx); | ^~~~ ../../src/vesa.c:1431:18: error: implicit declaration of function ‘inb’ [-Werror=implicit-function-declaration] 1431 | (void)inb(pVesa->ioBase + VGA_IOBASE_COLOR + VGA_IN_STAT_1_OFFSET); \ | ^~~ ../../src/vesa.c:1438:12: note: in expansion of macro ‘VESADACDelay’ 1438 | VESADACDelay(); | ^~~~~~~~~~~~ ``` [Test Plan] The package needs to build. [Where problems could occur] Declaring the function prototypes for un-exposed functions may cause memory safety issues should the API change. This was already a risk in an existing driver code that used a function without a declared prototype. [Other Info] + + n/a -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-vesa in Ubuntu. https://bugs.launchpad.net/bugs/2062159 Title: xserver-xorg-video-vesa 1:2.6.0-1build1 FTBFS on armhf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-vesa/+bug/2062159/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp