kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #38561
Build failure on Fedora 29
-
To:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
"Steven A. Falco" <stevenfalco@xxxxxxxxx>
-
Date:
Sun, 9 Dec 2018 10:24:57 -0500
-
Autocrypt:
addr=stevenfalco@xxxxxxxxx; keydata= xsBNBFsz14EBCACybmOt8ADXje8UJJ4hPBTZo3Sm3XS5hhMUDb1/6rQSbT7dpFf3CGp4qwIB DMfS4sV1JMyr3Sl67HzvTMqqHCOTj/QSWiRtFEiasYy82ujfN0/82esM5uKK7Ev2QTs+PZ+Z oqZCwuD7FIRgKtKogJrYmM0aNkKYf1cw4WsND8eGcN1EmmVAQ0PIptpXhiSkJbQLFm06lyTp OBA9MctcPXCRE3DRgByx0YJAjeSckHnU8grJY6niIJgYv5pfrOYSEI+aHgEyePgPzuVz5Y1G 1lb35JG6kdH7GJ406Gggrwe/ia15+HDUMMIy+7EHUSeVWhuXjyW8h4IbbdJ9/YJJa5R9ABEB AAHNJ1N0ZXZlbiBBLiBGYWxjbyA8c3RldmVuZmFsY29AZ21haWwuY29tPsLAlAQTAQgAPhYh BFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAAAoJELdBZWVuLJcia4EIAKziir4OlOCoOnrcLkL5uHGPD1DmbmvBPGiAmgMRvtFC TZ+AhAH10B/Bl7zrti3sNrCs4Q74cU9ApY13ZWeRHfFGnoQnVNQHMf7bTF+iBLqMJvCLOLva mT0mE38fwhwiHD/f1E8AG+vQWgodOwX6Y1qFc4XkozkOJGSW/ZH8mOS28ctdSjVliV4dqTZ3 5Tfb34HDKBtmh/pPAfEfEldN9p3iNo8nkKfAFaYS4HcGj7M2EZ3yPPs8ALRUKs3D4YvDMM8G Uc63nBYmOAnXnXkqb39VnqpELJQjVoL9vDOmxY/yxoZQvtwBhTsXtWGH6czoNxj+QHp+KjUW PmMweX10dyjOwE0EWzPXgQEIAN5WNTBUyL/eZ6wr4le5J6zoUZTm2pwxaqsyOje+iyoa/Cpa imhAaFnYe3N3z3gvlIPOLUAmyzUmy2ph9yMsi+GXFP3ZxaPk5uP4fmvivF6OuOlrNSpbEdn1 2AU0msRZccTbWIU6wunkvi7cUYJLe+ZZEn43ALaIMwFegRZqe57Re8pc8k0wlYOsVrZ8UTTp NEXGJ+c/aC1K5xhPUt6nCZNfvkAOdQ74mVrg4ogXuGl1vbZS0J8mv+OOe9RYUqFSUPo3MIGT M68SOfE6NmsVXI/Glb7m6kMKQt+Tm22hKVxyptIgNqA4qrYBc/PMCvGObnCKEy4GSLii1bcz D9a+2ZcAEQEAAcLAfAQYAQgAJhYhBFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsMBQkD wmcAAAoJELdBZWVuLJci65cIAKbId2gAW8DVDkra1aMfhqp9NvdiMVCMSvDbSY8iHKDURMHp Tj1Dzi5W8yroqM3Gi2P4ixDHxMuEiwRLqP/E9XubXCBEJyZz/9oTiG9XumY2x2lj4U9/YZsQ 3Cn9vS7r4197ryw/xWBDZeqx/JpUwLhRSK6t8PaXD+nlrwHfs0CihfiYdkCbgJljibZAGziF 31gG4iTqNVpJupOAjL8pFt9KuuvcJEDjU9xPxvfFn3MwbBWSEBH1xbVc8Mwt3Tq1tD7+47GR HLb/21KLBIxfXB+wDvl3Dlgg9UhQCuxVfjTFPUBi9Lqv3NZg8+o0gEzHepAmFc/QvdH8quum hkppYOY=
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
I had been able to build KiCad successfully for Fedora 29, but something has apparently changed very recently, because I am now getting a build failure.
Below is part of my build log. The error relates to an include file called KHR/khrplatform.h:
[ 23%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_base_frame.cpp.o
cd /builddir/build/BUILD/kicad-5.0.2/common && /usr/bin/c++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_USE_OCE -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DPCBNEW -I/builddir/build/BUILD/kicad-5.0.2/include -I/builddir/build/BUILD/kicad-5.0.2/common/. -I/builddir/build/BUILD/kicad-5.0.2/common/./dialogs -I/builddir/build/BUILD/kicad-5.0.2/common/./widgets -I/builddir/build/BUILD/kicad-5.0.2/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer -I/builddir/build/BUILD/kicad-5.0.2/common/../pcbnew -I/builddir/build/BUILD/kicad-5.0.2/common/../polygon -I/builddir/build/BUILD/kicad-5.0.2 -I/usr/lib64/oce-0.18/../../include/oce -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wsuggest-override -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread -Wshadow -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_base_frame.cpp.o -c /builddir/build/BUILD/kicad-5.0.2/pcbnew/pcb_base_frame.cpp
BUILDSTDERR: In file included from /usr/include/GL/gl.h:2055,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer/3d_rendering/3d_render_ogl_legacy/../../common_ogl/openGL_includes.h:39,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer/3d_rendering/3d_render_ogl_legacy/clayer_triangles.h:33,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer/3d_rendering/3d_render_ogl_legacy/c3d_render_ogl_legacy.h:34,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer/3d_viewer/../3d_canvas/eda_3d_canvas.h:36,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/common/../3d-viewer/3d_viewer/eda_3d_viewer.h:37,
BUILDSTDERR: from /builddir/build/BUILD/kicad-5.0.2/pcbnew/pcb_base_frame.cpp:42:
BUILDSTDERR: /usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such file or directory
BUILDSTDERR: #include <KHR/khrplatform.h>
BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~
BUILDSTDERR: compilation terminated.
BUILDSTDERR: make[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:179: common/CMakeFiles/pcbcommon.dir/__/pcbnew/pcb_base_frame.cpp.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/kicad-5.0.2'
BUILDSTDERR: make[2]: *** Waiting for unfinished jobs....
I just checked the nightly builds, and they too are failing. Here is the error from Copr - it also involves KHR/khrplatform.h:
[ 3%] Building CXX object common/CMakeFiles/gal.dir/gl_context_mgr.cpp.o
cd /builddir/build/BUILD/kicad-r14589-dd9a0010/common && /usr/bin/c++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES -DKICAD_USE_OCE -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/builddir/build/BUILD/kicad-r14589-dd9a0010/include -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/. -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./dialogs -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./widgets -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../3d-viewer -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../pcbnew -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../polygon -I/builddir/build/BUILD/kicad-r14589-dd9a0010 -I/usr/include/python2.7 -I/builddir/build/BUILD/kicad-r14589-dd9a0010/scripting -I/usr/lib64/oce-0.18/../../include/oce -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wsuggest-override -Werror=vla -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread -Wshadow -g3 -ggdb3 -DDEBUG -Wno-deprecated-declarations -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/gal.dir/gl_context_mgr.cpp.o -c /builddir/build/BUILD/kicad-r14589-dd9a0010/common/gl_context_mgr.cpp
cd /builddir/build/BUILD/kicad-r14589-dd9a0010/common && /usr/bin/c++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES -DKICAD_USE_OCE -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/builddir/build/BUILD/kicad-r14589-dd9a0010/include -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/. -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./dialogs -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./widgets -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../3d-viewer -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../pcbnew -I/builddir/build/BUILD/kicad-r14589-dd9a0010/common/../polygon -I/builddir/build/BUILD/kicad-r14589-dd9a0010 -I/usr/include/python2.7 -I/builddir/build/BUILD/kicad-r14589-dd9a0010/scripting -I/usr/lib64/oce-0.18/../../include/oce -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wsuggest-override -Werror=vla -Wno-unused-local-typedefs -Wno-strict-aliasing -pthread -Wshadow -g3 -ggdb3 -DDEBUG -Wno-deprecated-declarations -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -o CMakeFiles/gal.dir/gl_context_mgr.cpp.o -c /builddir/build/BUILD/kicad-r14589-dd9a0010/common/gl_context_mgr.cpp
BUILDSTDERR: In file included from /usr/include/GL/gl.h:2055,
BUILDSTDERR: In file included from /usr/include/GL/gl.h:2055,
BUILDSTDERR: from /usr/include/GL/glx.h:32,
BUILDSTDERR: from /usr/include/GL/glx.h:32,
BUILDSTDERR: from /usr/include/wx-3.0/wx/unix/glx11.h:13,
BUILDSTDERR: from /usr/include/wx-3.0/wx/unix/glx11.h:13,
BUILDSTDERR: from /usr/include/wx-3.0/wx/gtk/glcanvas.h:14,
BUILDSTDERR: from /usr/include/wx-3.0/wx/gtk/glcanvas.h:14,
BUILDSTDERR: from /usr/include/wx-3.0/wx/glcanvas.h:195,
BUILDSTDERR: from /usr/include/wx-3.0/wx/glcanvas.h:195,
BUILDSTDERR: from /builddir/build/BUILD/kicad-r14589-dd9a0010/include/gl_context_mgr.h:28,
BUILDSTDERR: from /builddir/build/BUILD/kicad-r14589-dd9a0010/include/gl_context_mgr.h:28,
BUILDSTDERR: from /builddir/build/BUILD/kicad-r14589-dd9a0010/common/gl_context_mgr.cpp:26:
BUILDSTDERR: from /builddir/build/BUILD/kicad-r14589-dd9a0010/common/gl_context_mgr.cpp:26:
BUILDSTDERR: /usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such file or directory
BUILDSTDERR: /usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such file or directory
BUILDSTDERR: #include <KHR/khrplatform.h>
BUILDSTDERR: #include <KHR/khrplatform.h>
BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~
BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~
BUILDSTDERR: compilation terminated.
BUILDSTDERR: compilation terminated.
BUILDSTDERR: make[2]: *** [common/CMakeFiles/gal.dir/build.make:92: common/CMakeFiles/gal.dir/gl_context_mgr.cpp.o] Error 1
BUILDSTDERR: make[2]: *** [common/CMakeFiles/gal.dir/build.make:92: common/CMakeFiles/gal.dir/gl_context_mgr.cpp.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/kicad-r14589-dd9a0010'
make[2]: Leaving directory '/builddir/build/BUILD/kicad-r14589-dd9a0010'
BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:504: common/CMakeFiles/gal.dir/all] Error 2
BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:504: common/CMakeFiles/gal.dir/all] Error 2
BUILDSTDERR: make[1]: *** Waiting for unfinished jobs....
Does anyone have an idea as to what is going on? Is it a Fedora bug or a KiCad bug?
Steve
Follow ups