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

[ 31%] Building CXX object common/CMakeFiles/gal.dir/painter.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/common && /usr/bin/c++ -DGLM_FORCE_CTOR_INIT 
-DHAVE_STDINT_H -DKICAD_CONFIG_DIR=kicad -DKICAD_SCRIPTING_WXPYTHON 
-DKICAD_SPICE -DKICAD_USE_EGL -DKICAD_USE_OCC -DWXUSINGDLL -DWX_COMPATIBILITY 
-D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/<<PKGBUILDDIR>>/include 
-I/<<PKGBUILDDIR>>/common/. -I/<<PKGBUILDDIR>>/common/./dialogs 
-I/<<PKGBUILDDIR>>/common/./widgets -I/<<PKGBUILDDIR>>/common/./dialog_about 
-I/<<PKGBUILDDIR>>/bitmaps_png -I/<<PKGBUILDDIR>>/3d-viewer 
-I/<<PKGBUILDDIR>>/pcbnew -I/<<PKGBUILDDIR>>/debian/build 
-I/<<PKGBUILDDIR>>/scripting -I/<<PKGBUILDDIR>>/thirdparty/nlohmann_json 
-I/<<PKGBUILDDIR>>/thirdparty/compoundfilereader 
-I/<<PKGBUILDDIR>>/debian/build/common -I/<<PKGBUILDDIR>>/libs/kimath/include 
-I/<<PKGBUILDDIR>>/thirdparty/clipper -I/<<PKGBUILDDIR>>/thirdparty/other_math 
-I/<<PKGBUILDDIR>>/thirdparty/rtree -I/<<PKGBUILDDIR>>/libs/kiplatform/include 
-isystem /<<PKGBUILDDIR>>/thirdparty/pybind11/include -isystem 
/<<PKGBUILDDIR>>/thirdparty/glew/include -isystem /usr/include/cairo -isystem 
/usr/include/pixman-1 -isystem /usr/include/opencascade -isystem 
/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.2 -isystem 
/usr/include/wx-3.2 -isystem /usr/include/python3.10 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -pthread -Wall 
-Wsuggest-override -Wduplicated-branches -Wduplicated-cond -Werror=vla 
-Wimplicit-fallthrough=5 -Werror=return-type -Wshadow -Wsign-compare 
-Wmissing-field-initializers -Wempty-body -Wreorder -Wmismatched-tags 
-Wno-psabi -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++14 -MD 
-MT common/CMakeFiles/gal.dir/painter.cpp.o -MF 
CMakeFiles/gal.dir/painter.cpp.o.d -o CMakeFiles/gal.dir/painter.cpp.o -c 
/<<PKGBUILDDIR>>/common/painter.cpp
In file included from /<<PKGBUILDDIR>>/include/gal/opengl/shader.h:32,
                 from /<<PKGBUILDDIR>>/include/gal/opengl/opengl_gal.h:35,
                 from /<<PKGBUILDDIR>>/common/draw_panel_gal.cpp:42:
/<<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"
      |              ^~~~~


Cheers
-- 
Sebastian Ramacher

Reply via email to