kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40580
Re: Build failure of 5.1.2 in Fedora rawhide
-
To:
Nick Østergaard <oe.nick@xxxxxxxxx>
-
From:
"Steven A. Falco" <stevenfalco@xxxxxxxxx>
-
Date:
Wed, 8 May 2019 09:43:52 -0400
-
Autocrypt:
addr=stevenfalco@xxxxxxxxx; keydata= xsFNBFxDhRcBEAC6Imgmt25S/CEOFsv+gHf52PQavJDRWK3pytsiD91DUmZnIwpWkYwJiKo8 E8nYMxw8R4g0YhCXCc7DwYXUnHQgIaO3SnLryLGZntJUuCuZxMjE4YEGOhq0mePnlhz1gcMQ 2TOAvBVXVg2841rEzGWZlXIg53eBavAobB9oJG2/5MyDzyB7d7nhvpuDuEDSKbIR69tbtTQC EQ86hZM+mUvekkU6FiMJQEU4hqJBF4BKmp+0mZ+dN1ZjRPCmCcShj9c6W6n9YITZuOPEBhIB v88m+3YQBkzsPu6tGjAXlk2H4jrkry9BQK27Ddn1N3Gz+oRDkX/UVd/jY2m0A0gxMi++N0wO K2DTShAAO4Imdrb5G1K+UJ0kNbLnkO4CmVVBD/yvnZo1WLRh4MGgUW8J+l1EPjQZvJHSOdIU 7HoLkWDoH6CZg2UqSNrhYIfJJD/K1H0gcXfCVEVhbDlQxclhiWID+8wQ9c0fVa/EabU0zBXJ sLBkO6tEtSaiLKHaIqkYGXCQxvpwHQwPR5ZNt9DXrRkmVm77ymh2jLJbHVv8XgtOJE7XkXn8 3Iv9iUFESd/1xZFUB51eVu+8aDjxDkwaqzlf/rUiOV+S8KZ4//gc1CC0EhqFCRFSZEJsblR1 c0wdF86NVFqeH+g+Z6n/yLKJWAvRLuw8w9JlWnoTMnIzS77J/wARAQABzSdTdGV2ZW4gQS4g RmFsY28gPHN0ZXZlbmZhbGNvQGdtYWlsLmNvbT7CwZQEEwEKAD4CGwEFCwkIBwMFFQoJCAsF FgIDAQACHgECF4AWIQSDrcEoXtTdcq9JzuJtoCQy7y8uvgUCXETrtQUJC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sqsXoYvGzgeiCUm44hZj+TTmIKTY 4NNs
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<3ca4805a-a5a4-a91d-8d70-b316261d44f0@gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
Here is the top of pcbnew.py, and I'll paste this into the bug report:
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.0
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError('Python 2.7 or later required')
On 5/8/19 9:42 AM, Steven A. Falco wrote:
> Yes. swig-4.0.0-1.fc31.x86_64
>
> On 5/8/19 9:40 AM, Nick Østergaard wrote:
>> Is the swig version 4.0.0?
>>
>> ons. 8. maj 2019 15.39 skrev Steven A. Falco <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>>:
>>
>> I've started getting a build error on 5.1.2 in Fedora rawhide. Here is part of the log:
>>
>> [ 68%] Generating pcbnew_wrap.cxx, pcbnew.py
>> cd /builddir/build/BUILD/kicad-5.1.2/pcbnew && /usr/bin/cmake -E make_directory /builddir/build/BUILD/kicad-5.1.2/pcbnew/docstrings
>> cd /builddir/build/BUILD/kicad-5.1.2/pcbnew && /usr/bin/cmake -E touch /builddir/build/BUILD/kicad-5.1.2/pcbnew/docstrings/docstrings.i
>> cd /builddir/build/BUILD/kicad-5.1.2/pcbnew && /usr/bin/swig -python -c++ -outdir /builddir/build/BUILD/kicad-5.1.2/pcbnew -I/builddir/build/BUILD/kicad-5.1.2/pcbnew -I/builddir/build/BUILD/kicad-5.1.2/pcbnew/../include -I/builddir/build/BUILD/kicad-5.1.2/pcbnew/../scripting -I/builddir/build/BUILD/kicad-5.1.2/pcbnew/../common/swig -I -DHAVE_STDINT_H -DKICAD_SCRIPTING -DKICAD_SCRIPTING_MODULES -DKICAD_SCRIPTING_PYTHON3 -DKICAD_SCRIPTING_WXPYTHON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX -DKICAD_SCRIPTING_ACTION_MENU -DKICAD_SPICE -DKICAD_USE_OCE -DGLM_FORCE_CTOR_INIT -DWX_COMPATIBILITY -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -DUSE_WX_OVERLAY -DPCBNEW -o /builddir/build/BUILD/kicad-5.1.2/pcbnew/pcbnew_wrap.cxx swig/pcbnew.i
>> cd /builddir/build/BUILD/kicad-5.1.2/pcbnew && /usr/bin/python3 /builddir/build/BUILD/kicad-5.1.2/scripting/build_tools/fix_swig_imports.py /builddir/build/BUILD/kicad-5.1.2/pcbnew/pcbnew.py
>> Error: the swig import helper was not fixed, check /builddir/build/BUILD/kicad-5.1.2/pcbnew/pcbnew.py
>> and fix this script: fix_swig_imports.py
>>
>> I've uploaded the complete build log here:
>>
>> https://www.dropbox.com/s/1c822nrmpi9go2x/build.log?dl=0
>>
>> If a patch can be generated for this, I'll apply it. Or if folks prefer to wait until 5.1.3 (if any), then that would be fine too.
>>
>> There are also some warnings in the build log that I uploaded, so I'll paste them in here for easy reference, in case they are of interest:
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/pcbnew/../include/common.h:380: Warning 317: Specialization of non-template 'less'.
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/pcbnew/../include/eda_text.h:45: Warning 401: Nothing known about base class 'std::mutex'. Ignored.
>> BUILDSTDERR: class_board.h:51: Warning 315: Nothing known about 'std::unique_ptr'.
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/polygon/clipper.cpp:892:38: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct ClipperLib::TEdge'; use assignment or value-initialization instead [-Wclass-memaccess]
>> BUILDSTDERR: 892 | std::memset( e, 0, sizeof(TEdge) );
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/common/kicad_curl/kicad_curl.cpp:49:13: warning: 'void lock_callback(int, int, const char*, int)' defined but not used [-Wunused-function]
>> BUILDSTDERR: 49 | static void lock_callback( int mode, int type, const char* file, int line )
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/include/math/vector2d.h:323:5: warning: '*((void*)& cursorSetting +16)' may be used uninitialized in this function [-Wmaybe-uninitialized]
>> BUILDSTDERR: 323 | x = aVector.x;
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/pcbnew/board_design_settings.cpp:380:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
>> BUILDSTDERR: 380 | for( int index = 0; index <= m_Pt_param->GetCount(); ++index )
>>
>> BUILDSTDERR: /builddir/build/BUILD/kicad-5.1.2/eeschema/dialogs/dialog_spice_model.cpp:809:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
>> BUILDSTDERR: 809 | m_pwlValList->SetItemData( idx, *reinterpret_cast<long*>( &timeF ) );
>>
>> Steve
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
References