I don't know if this is already fixed, but the nightly builds are failing on
Fedora 38 and up. Curiously, F37 is ok, so perhaps the compiler has gotten
more picky.
I can enter a bug if desired. Just let me know...
Steve
[ 42%] Building CXX object
common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/legacy/legacy_plugin.cpp.o
cd
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build/common
&& /usr/bin/g++ -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB
-DBOOST_LOCALE_DYN_LINK -DBOOST_LOCALE_NO_LIB -DBOOST_SYSTEM_DYN_LINK
-DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB
-DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_BUILD_ARCH_X64 -DKICAD_CONFIG_DIR=kicad
-DKICAD_SCRIPTING_WXPYTHON -DKICAD_SIGNAL_INTEGRITY -DNANODBC_ENABLE_UNICODE -DUSINGZ
-DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DPCBNEW
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/common/.
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/common/./dialogs
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/common/./widgets
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/common/./dialog_about
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/resources/bitmaps_png
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/3d-viewer
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/scripting
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/thread-pool
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build/common
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/argparse/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/pegtl
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/magic_enum/magic_enum
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/libcontext
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/libs/kimath/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/libs/core/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/clipper
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/clipper2/Clipper2Lib/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/other_math
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/rtree
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/libs/kiplatform/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/fmt/include
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build/include/gal/shaders
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/nlohmann_json
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/compoundfilereader
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/kicad/pcm/dialogs
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/delaunator
-I/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/3dxware_sdk/inc
-isystem
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/pybind11/include
-isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem
/usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/opencascade
-isystem /usr/lib64/wx/include/gtk3-unicode-3.2 -isystem /usr/include/wx-3.2 -isystem
/usr/include/python3.11 -isystem
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/thirdparty/nanodbc
-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-attributes -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 -O2 -g
-DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden
-ftrivial-auto-var-init=zero -MD -MT
common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/legacy/legacy_plugin.cpp.o -MF
CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/legacy/legacy_plugin.cpp.o.d -o
CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/legacy/legacy_plugin.cpp.o -c
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/plugins/legacy/legacy_plugin.cpp
In file included from
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/plugins/legacy/legacy_plugin.h:28,
from
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/plugins/legacy/legacy_plugin.cpp:64:
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/io_mgr.h:682:90:
error: 'uint8_t' was not declared in this scope
682 | static bool fileStartsWithBinaryHeader( const wxString& aFilePath, const
std::vector<uint8_t>& aHeader );
|
^~~~~~~
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/io_mgr.h:32:1:
note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include
<cstdint>'?
31 | #include <i18n_utility.h>
+++ |+#include <cstdint>
32 |
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/io_mgr.h:682:97:
error: template argument 1 is invalid
682 | static bool fileStartsWithBinaryHeader( const wxString& aFilePath, const
std::vector<uint8_t>& aHeader );
|
^
/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/pcbnew/io_mgr.h:682:97:
error: template argument 2 is invalid
gmake[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:773:
common/CMakeFiles/pcbcommon.dir/__/pcbnew/plugins/legacy/legacy_plugin.cpp.o]
Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
'/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:2910: common/CMakeFiles/pcbcommon.dir/all]
Error 2
gmake[1]: Leaving directory
'/builddir/build/BUILD/kicad-f7f8bf5418c73c912c0ce04cd350ef8bbb930e60/redhat-linux-build'
gmake: *** [Makefile:149: all] Error 2
--
You received this message because you are subscribed to the Google Groups "KiCad
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/a/kicad.org/d/msgid/devlist/1b8995c9-1dde-de4f-2594-d07055db2010%40gmail.com.