Control: tags -1 patch

On 2022-12-28 Sebastian Ramacher <sramac...@debian.org> wrote:
> Source: kicad
> Version: 6.0.10+dfsg-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> X-Debbugs-Cc: sramac...@debian.org

> https://buildd.debian.org/status/fetch.php?pkg=kicad&arch=amd64&ver=6.0.10%2Bdfsg-1%2Bb2&stamp=1672197224&raw=0
[...]
> /<<PKGBUILDDIR>>/include/gal/opengl/kiglew.h:47:14: error: #error 
> "KICAD_USE_EGL can only be used when wxWidgets is compiled with the EGL 
> canvas"
>    47 |             #error "KICAD_USE_EGL can only be used when wxWidgets is 
> compiled with the EGL canvas"
>       |              ^~~~~

Hello,

wxWidgets has recently switched back to non-EGL (See
https://bugs.debian.org/1024147 and https://bugs.debian.org/1020640),
for kicad the build error is trivially fixable by changing 
        -DKICAD_USE_EGL=ON \
back to
        -DKICAD_USE_EGL=OFF \

(Ideally the cmake setup should check wxWidgets's EGL-status and set
KICAD_USE_EGL accordingly instead of failing at build-time.)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply via email to