kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #39038
github plugin
-
To:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>, Seth Hillbrand <seth@xxxxxxxxxxxxx>
-
From:
"Steven A. Falco" <stevenfalco@xxxxxxxxx>
-
Date:
Tue, 15 Jan 2019 16:42:54 -0500
-
Autocrypt:
addr=stevenfalco@xxxxxxxxx; keydata= xsBNBFsz14EBCACybmOt8ADXje8UJJ4hPBTZo3Sm3XS5hhMUDb1/6rQSbT7dpFf3CGp4qwIB DMfS4sV1JMyr3Sl67HzvTMqqHCOTj/QSWiRtFEiasYy82ujfN0/82esM5uKK7Ev2QTs+PZ+Z oqZCwuD7FIRgKtKogJrYmM0aNkKYf1cw4WsND8eGcN1EmmVAQ0PIptpXhiSkJbQLFm06lyTp OBA9MctcPXCRE3DRgByx0YJAjeSckHnU8grJY6niIJgYv5pfrOYSEI+aHgEyePgPzuVz5Y1G 1lb35JG6kdH7GJ406Gggrwe/ia15+HDUMMIy+7EHUSeVWhuXjyW8h4IbbdJ9/YJJa5R9ABEB AAHNJ1N0ZXZlbiBBLiBGYWxjbyA8c3RldmVuZmFsY29AZ21haWwuY29tPsLAlAQTAQgAPgIb AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJcFVxD BQkKR4ZCAAoJELdBZWVuLJcixMYH/3DAFR8XdBzXzaBRVHuo5PeEvSbLPgHw9ZbNi+ZlhFKh 99nsHksDx9H0n2htw7B029L7bI0+5rfAR5/CMw1iqeZMRll0NjVPVrdC+8qQAS3Zz0yaQVw0 ReeDEabA5oMuLE4JuWjqULUCyZt3U9feTNeNJeoD29XTt2E2FP6/KXiysbM/+/tez/2VBoYZ wGqxaRkEuo2I9ZTRx0o8wqBFvRgPOPZJC8vwsy72dkwp5z6LIaIHvr4AgdcTbHixRAyx2sUY 7fBc8UROoPJujLIVQeYaHClUev6gJs3XWs7EArFlIvWcda9YcHijAi69KjM1DSkUKQBgkd06 ES/Wgry4E9nOwE0EWzPXgQEIAN5WNTBUyL/eZ6wr4le5J6zoUZTm2pwxaqsyOje+iyoa/Cpa imhAaFnYe3N3z3gvlIPOLUAmyzUmy2ph9yMsi+GXFP3ZxaPk5uP4fmvivF6OuOlrNSpbEdn1 2AU0msRZccTbWIU6wunkvi7cUYJLe+ZZEn43ALaIMwFegRZqe57Re8pc8k0wlYOsVrZ8UTTp NEXGJ+c/aC1K5xhPUt6nCZNfvkAOdQ74mVrg4ogXuGl1vbZS0J8mv+OOe9RYUqFSUPo3MIGT M68SOfE6NmsVXI/Glb7m6kMKQt+Tm22hKVxyptIgNqA4qrYBc/PMCvGObnCKEy4GSLii1bcz D9a+2ZcAEQEAAcLAfAQYAQgAJgIbDBYhBFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJcFV6FBQkK R4iEAAoJELdBZWVuLJciNQcH/2RIXU/dbXIP+QwdTaqmYpuzdXImvy+7l62MpqteQJ+NYwob 3vbZb40ie3xu/WFr+nqbsUzzrw43/s6as923AExZbgsZ6Zx5nN6xf4E5NdvaBZ0vVMezCuvl QvDAOeJ0RFhldzSVPizQ/o9kOxCgtU1eK93NKCBUOfr5/OpoGKnXYV2e8s+DzUkUjih0cN4x qy3/r0Fe+K7QUaNIqjcmjPgI8SX/9axqpEBhmygEQ8Tuy79UwQjemKzkY8/6rIEoM8L2nQsv u7PqvK53liTljqMK7ojVUTsEon0aeHs/4sP1YER7ExDXPC7ogr0JrBuuqZ3gA2M+T2lWq2kM 8CrrKSY=
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
A recent commit, "pcbnew: Prevent GITHUB plugin from being registered", seems to have caused my copr build to fail.
Fedora has "BUILD_GITHUB_PLUGIN=ON". I get this error:
[ 18%] Building CXX object common/CMakeFiles/pcbcommon.dir/__/pcbnew/io_mgr.cpp.o
cd /builddir/build/BUILD/kicad-r14777-54334233/common && /usr/bin/c++ -DGLM_FORCE_CTOR_INIT -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SCRIPTING_MODULES -DKICAD_SPICE -DKICAD_USE_OCE -DWXUSINGDLL -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -DPCBNEW -I/builddir/build/BUILD/kicad-r14777-54334233/include -I/builddir/build/BUILD/kicad-r14777-54334233/common/. -I/builddir/build/BUILD/kicad-r14777-54334233/common/./dialogs -I/builddir/build/BUILD/kicad-r14777-54334233/common/./widgets -I/builddir/build/BUILD/kicad-r14777-54334233/common/./dialog_about -I/usr/include/cairo -I/usr/include/pixman-1 -I/builddir/build/BUILD/kicad-r14777-54334233/common/../3d-viewer -I/builddir/build/BUILD/kicad-r14777-54334233/common/../pcbnew -I/builddir/build/BUILD/kicad-r14777-54334233/common/../polygon -I/builddir/build/BUILD/kicad-r14777-54334233 -I/usr/include/python2.7 -I/builddir/build/BUILD/kicad-r14777-54334233/scripting -I/usr/lib64/oce-0.18/../../include/oce -I/builddir/build/BUILD/kicad-r14777-54334233/common/../include/legacy_wx -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/pcbcommon.dir/__/pcbnew/io_mgr.cpp.o -c /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp
BUILDSTDERR: /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp: In static member function 'static IO_MGR::PCB_FILE_T IO_MGR::GuessPluginTypeFromLibPath(const wxString&)':
BUILDSTDERR: /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp:164:19: error: 'GITHUB' was not declared in this scope
BUILDSTDERR: ret = GITHUB;
BUILDSTDERR: ^~~~~~
BUILDSTDERR: /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp:164:19: note: suggested alternative: 'SIGHUP'
BUILDSTDERR: ret = GITHUB;
BUILDSTDERR: ^~~~~~
BUILDSTDERR: SIGHUP
BUILDSTDERR: /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp: At global scope:
BUILDSTDERR: /builddir/build/BUILD/kicad-r14777-54334233/pcbnew/io_mgr.cpp:208:62: error: 'GITHUB' is not a member of 'IO_MGR'
BUILDSTDERR: static IO_MGR::REGISTER_PLUGIN registerGithubPlugin( IO_MGR::GITHUB, wxT("Github"), []() -> PLUGIN* { return new GITHUB_PLUGIN; } );
BUILDSTDERR: ^~~~~~
BUILDSTDERR: make[2]: *** [common/CMakeFiles/pcbcommon.dir/build.make:556: common/CMakeFiles/pcbcommon.dir/__/pcbnew/io_mgr.cpp.o] Error 1
At first I thought the compile bug was caused by a corrupt repo, because the nightlies were building correctly. However, I now see that this change was just committed today, so the nightlies have not yet been affected.
I'm running a test build with the GitHub plugin turned off, and it got past the above file without error.
How is this supposed to work? Should we just disable the plugin? Or if we want to keep it, is there something new that we have to do to get it to build?
Steve
Follow ups