Bug#1005462: xserver-xorg-video-mach64: FTBFS: ../../src/aticonfig.c:315:63: error: ‘ValueUnion’ has no member named ‘bool’; did you mean ‘boolean’?

2022-02-14 Thread Sven Joachim
Control: tags -1 + patch

On 2022-02-13 08:03 +0100, Lucas Nussbaum wrote:

> Source: xserver-xorg-video-mach64
> Version: 6.9.6-3
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20220212 ftbfs-bookworm
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
>> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
>> -I. -I../../src -I..  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall
>> -Wpointer-arith -Wmissing-declarations -Wformat=2
>> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
>> -Wbad-function-cast -Wold-style-definition
>> -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow
>> -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls
>> -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self
>> -Werror=main -Werror=missing-braces -Werror=sequence-point
>> -Werror=return-type -Werror=trigraphs -Werror=array-bounds
>> -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast
>> -Werror=pointer-to-int-cast -fno-strict-aliasing -fvisibility=hidden
>> -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm
>> -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/X11/dri
>> -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong
>> -Wformat -Werror=format-security -c -o aticonfig.lo
>> ../../src/aticonfig.c
>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src
>> -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith
>> -Wmissing-declarations -Wformat=2 -Wstrict-prototypes
>> -Wmissing-prototypes -Wnested-externs -Wbad-function-cast
>> -Wold-style-definition -Wdeclaration-after-statement -Wunused
>> -Wuninitialized -Wshadow -Wmissing-noreturn
>> -Wmissing-format-attribute -Wredundant-decls -Wlogical-op
>> -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main
>> -Werror=missing-braces -Werror=sequence-point -Werror=return-type
>> -Werror=trigraphs -Werror=array-bounds -Werror=write-strings
>> -Werror=address -Werror=int-to-pointer-cast
>> -Werror=pointer-to-int-cast -fno-strict-aliasing -fvisibility=hidden
>> -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm
>> -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/X11/dri
>> -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong
>> -Wformat -Werror=format-security -c ../../src/aticonfig.c -fPIC
>> -DPIC -o .libs/aticonfig.o
>> ../../src/aticonfig.c: In function ‘ATIProcessOptions’:
>> ../../src/aticonfig.c:315:63: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   315 | #   define Accel PublicOption[ATI_OPTION_ACCEL].value.bool
>>   |   ^~~~
>> ../../src/aticonfig.c:358:5: note: in expansion of macro ‘Accel’
>>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>>   | ^
>> ../../src/aticonfig.c:342:68: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   342 | #   define CacheMMIO 
>> PublicOption[ATI_OPTION_MMIO_CACHE].value.bool
>>   |
>> ^~~~
>> ../../src/aticonfig.c:358:13: note: in expansion of macro ‘CacheMMIO’
>>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>>   | ^
>> ../../src/aticonfig.c:322:66: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   322 | #   define HWCursor  PublicOption[ATI_OPTION_HWCURSOR].value.bool
>>   |  ^~~~
>> ../../src/aticonfig.c:358:25: note: in expansion of macro ‘HWCursor’
>>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>>   | ^~~~
>> ../../src/aticonfig.c:345:67: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   345 | #   define ShadowFB  
>> PublicOption[ATI_OPTION_SHADOW_FB].value.bool
>>   |   
>> ^~~~
>> ../../src/aticonfig.c:362:5: note: in expansion of macro ‘ShadowFB’
>>   362 | ShadowFB = TRUE;
>>   | ^~~~
>> ../../src/aticonfig.c:317:64: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   317 | #   define Blend PrivateOption[ATI_OPTION_BLEND].value.bool
>>   |^~~~
>> ../../src/aticonfig.c:364:5: note: in expansion of macro ‘Blend’
>>   364 | Blend = PanelDisplay = TRUE;
>>   | ^
>> ../../src/aticonfig.c:344:71: error: ‘ValueUnion’ has no member named 
>> ‘bool’; did you mean ‘boolean’?
>>   344 | #   define PanelDisplay  
>> PublicOption[ATI_OPTION_PANEL_DISPLAY].value.bool
>>   |  
>>  ^~~~
>> ../../src/aticonfig.c:364:13: note: in expansion of macro ‘PanelDisplay’
>>   364 | Blend = Pa

Bug#1005462: xserver-xorg-video-mach64: FTBFS: ../../src/aticonfig.c:315:63: error: ‘ValueUnion’ has no member named ‘bool’; did you mean ‘boolean’?

2022-02-12 Thread Lucas Nussbaum
Source: xserver-xorg-video-mach64
Version: 6.9.6-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I../../src -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith 
> -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes 
> -Wnested-externs -Wbad-function-cast -Wold-style-definition 
> -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow 
> -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op 
> -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main 
> -Werror=missing-braces -Werror=sequence-point -Werror=return-type 
> -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address 
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing 
> -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 
> -I/usr/include/libdrm -I/usr/include/X11/dri  -I/usr/include/libdrm 
> -I/usr/include/X11/dri -g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o aticonfig.lo 
> ../../src/aticonfig.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast 
> -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized 
> -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls 
> -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main 
> -Werror=missing-braces -Werror=sequence-point -Werror=return-type 
> -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address 
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing 
> -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 
> -I/usr/include/libdrm -I/usr/include/X11/dri -I/usr/include/libdrm 
> -I/usr/include/X11/dri -g -O2 -ffile-prefix-map=/<>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c 
> ../../src/aticonfig.c  -fPIC -DPIC -o .libs/aticonfig.o
> ../../src/aticonfig.c: In function ‘ATIProcessOptions’:
> ../../src/aticonfig.c:315:63: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   315 | #   define Accel PublicOption[ATI_OPTION_ACCEL].value.bool
>   |   ^~~~
> ../../src/aticonfig.c:358:5: note: in expansion of macro ‘Accel’
>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>   | ^
> ../../src/aticonfig.c:342:68: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   342 | #   define CacheMMIO 
> PublicOption[ATI_OPTION_MMIO_CACHE].value.bool
>   |
> ^~~~
> ../../src/aticonfig.c:358:13: note: in expansion of macro ‘CacheMMIO’
>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>   | ^
> ../../src/aticonfig.c:322:66: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   322 | #   define HWCursor  PublicOption[ATI_OPTION_HWCURSOR].value.bool
>   |  ^~~~
> ../../src/aticonfig.c:358:25: note: in expansion of macro ‘HWCursor’
>   358 | Accel = CacheMMIO = HWCursor = TRUE;
>   | ^~~~
> ../../src/aticonfig.c:345:67: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   345 | #   define ShadowFB  PublicOption[ATI_OPTION_SHADOW_FB].value.bool
>   |   ^~~~
> ../../src/aticonfig.c:362:5: note: in expansion of macro ‘ShadowFB’
>   362 | ShadowFB = TRUE;
>   | ^~~~
> ../../src/aticonfig.c:317:64: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   317 | #   define Blend PrivateOption[ATI_OPTION_BLEND].value.bool
>   |^~~~
> ../../src/aticonfig.c:364:5: note: in expansion of macro ‘Blend’
>   364 | Blend = PanelDisplay = TRUE;
>   | ^
> ../../src/aticonfig.c:344:71: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   344 | #   define PanelDisplay  
> PublicOption[ATI_OPTION_PANEL_DISPLAY].value.bool
>   |   
> ^~~~
> ../../src/aticonfig.c:364:13: note: in expansion of macro ‘PanelDisplay’
>   364 | Blend = PanelDisplay = TRUE;
>   | ^~~~
> ../../src/aticonfig.c:348:70: error: ‘ValueUnion’ has no member named ‘bool’; 
> did you mean ‘boolean’?
>   3