Bug#1069378: picom: FTBFS on arm64: cc: error: unrecognized command-line option '-Wunknown-warning-option'

2024-04-29 Thread Nikos Tsipinakis
block -1 by 1069408
thanks

Hi,

The title of this bug is not a compilation error, it's a feature test. This is 
actually failing because of 1069408. 

>> Pkg-config error with 'xcb-present': Could not generate cflags for 
>> xcb-present:
>> Package xcb-dri3 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `xcb-dri3.pc'
>> to the PKG_CONFIG_PATH environment variable
>> Package 'xcb-dri3', required by 'xcb-present', not found
>> 
>> Dependency lookup for xcb-present with method 'pkgconfig' failed: Could not 
>> generate cflags for xcb-present:
>> Package xcb-dri3 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `xcb-dri3.pc'
>> to the PKG_CONFIG_PATH environment variable
>> Package 'xcb-dri3', required by 'xcb-present', not found
>> 
>> CMake binary for host machine is cached as not found
>> Dependency lookup for xcb-present with method 'cmake' failed: CMake binary 
>> for machine host machine not found. Giving up.
>> Run-time dependency xcb-present found: NO 
>> 
>> ../src/meson.build:31:15: ERROR: Dependency lookup for xcb-present with 
>> method 'pkgconfig' failed: Could not generate cflags for xcb-present:
>> Package xcb-dri3 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `xcb-dri3.pc'
>> to the PKG_CONFIG_PATH environment variable
>> Package 'xcb-dri3', required by 'xcb-present', not found

Cheers,
Nikos



Bug#1069378: picom: FTBFS on arm64: cc: error: unrecognized command-line option '-Wunknown-warning-option'

2024-04-20 Thread Lucas Nussbaum
Source: picom
Version: 10.2-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-arm64

Hi,

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


Relevant part (hopefully):
> cc (Debian 13.2.0-23) 13.2.0
> Copyright (C) 2023 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> ---
> Running command: /usr/bin/cc -E -dM -
> -
> ---
> Detecting linker via: `/usr/bin/cc -Wl,--version -Wl,-z,relro -Wl,-z,now -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security 
> -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2` -> 0
> stdout:
> GNU ld (GNU Binutils for Debian) 2.42
> Copyright (C) 2024 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or (at your option) a later version.
> This program has absolutely no warranty.
> ---
> stderr:
> collect2 version 13.2.0
> /usr/bin/ld -plugin /usr/libexec/gcc/aarch64-linux-gnu/13/liblto_plugin.so 
> -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/13/lto-wrapper 
> -plugin-opt=-fresolution=/tmp/cclZVU05.res -plugin-opt=-pass-through=-lgcc 
> -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc 
> -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id 
> --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker 
> /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/Scrt1.o 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/crti.o 
> /usr/lib/gcc/aarch64-linux-gnu/13/crtbeginS.o 
> -L/usr/lib/gcc/aarch64-linux-gnu/13 
> -L/usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu 
> -L/usr/lib/gcc/aarch64-linux-gnu/13/../../../../lib -L/lib/aarch64-linux-gnu 
> -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib 
> -L/usr/lib/gcc/aarch64-linux-gnu/13/../../.. --version -z relro -z now -lgcc 
> --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state 
> --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/13/crtendS.o 
> /usr/lib/gcc/aarch64-linux-gnu/13/../../../aarch64-linux-gnu/crtn.o
> ---
> Sanity testing C compiler: /usr/bin/cc
> Is cross compiler: False.
> Sanity check compiler command line: /usr/bin/cc sanitycheckc.c -o 
> sanitycheckc.exe -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security 
> -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,-z,now
> Sanity check compile stdout:
> 
> -
> Sanity check compile stderr:
> 
> -
> Running test binary command:  
> /<>/obj-aarch64-linux-gnu/meson-private/sanitycheckc.exe
> C compiler for the build machine: /usr/bin/cc (gcc 13.2.0 "cc (Debian 
> 13.2.0-23) 13.2.0")
> C linker for the build machine: /usr/bin/cc ld.bfd 2.42
> ---
> Detecting archiver via: `gcc-ar --version` -> 0
> stdout:
> GNU ar (GNU Binutils for Debian) 2.42
> Copyright (C) 2024 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or (at your option) any later 
> version.
> This program has absolutely no warranty.
> ---
> Build machine cpu family: aarch64
> Build machine cpu: aarch64
> Host machine cpu family: aarch64
> Host machine cpu: aarch64
> Target machine cpu family: aarch64
> Target machine cpu: aarch64
> Program git found: NO
> Running compile:
> Working directory:  
> /<>/obj-aarch64-linux-gnu/meson-private/tmpibvj0tr_
> Code:
>  
> #ifdef __has_include
>  #if !__has_include("stdc-predef.h")
>   #error "Header 'stdc-predef.h' could not be found"
>  #endif
> #else
>  #include 
> #endif
> ---
> Command line: `/usr/bin/cc 
> /<>/obj-aarch64-linux-gnu/meson-private/tmpibvj0tr_/testfile.c 
> -E -P -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security 
> -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -P -O0 -std=c11` -> 0
> Has header "stdc-predef.h" : YES 
> Running compile:
> Working directory:  
> /<>/obj-aarch64-linux-gnu/meson-private/tmppmpgfjcm
> Code:
>  extern int i;
> int i;
> 
> ---
> Command line: `/usr/bin/cc 
> /<>/obj-aarch64-linux-gnu/meson-private/tmppmpgfjcm/testfile.c 
> -o 
> /<>/obj-aarch64-linux-gnu/meson-private/tmppmpgfjcm/output.obj 
> -c -g -O2 -Werror=implicit-function-declaration 
> -ff