← Back to team overview

kicad-developers team mailing list archive

Re: KiCad build using your nightly build scripts.

 

Yes, I downloaded it (5525) and it ran fine on my Mac - thanks much. I checked all of the crash sites - and no crashes on your build.

I will have to search for unpatched Boost files deep in my computer before I do another build.

Thanks again Adam

Bob G

On 03/18/2015 09:11 PM, Adam Wolf wrote:
Hi folks,

After clearing some files off that system, the build completed without issue.

Bob, I'll see about making a build for you with trackpad support. I have to test the new footprint GUI thing first.

Adam Wolf

On Wed, Mar 18, 2015 at 7:40 PM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>> wrote:

    I do not know about boost issues.  I do not have them.  They don't
    occur on my builds, right?

    The only build failures since March 3rd have been due to disk
    space on one of my build boxes, two days ago.  I deleted some
    files, and restarted the job. We'll see if that fixes it.

    Adam Wolf
    Cofounder and Engineer
    Wayne and Layne, LLC

    On Wed, Mar 18, 2015 at 7:28 PM, Bob Gustafson <bobgus@xxxxxxx
    <mailto:bobgus@xxxxxxx>> wrote:

        Hi Adam

        I was able to compile and execute kicad using your build
        files, but I have some questions

            Application: kicad
            Version: (2015-03-17 BZR 5524)-product Release build
            wxWidgets: Version 3.0.2 (debug,UTF-8,compiler with C++
            ABI 1002,GCC 4.2.1,STL containers,compatible with 2.8)
            Platform: Mac OS X (Darwin 14.1.0 x86_64), 64 bit, Little
            endian, wxMac
            Boost version: 1.57.0
                     USE_WX_GRAPHICS_CONTEXT=OFF
                     USE_WX_OVERLAY=ON
                     KICAD_SCRIPTING=ON
                     KICAD_SCRIPTING_MODULES=ON
                     KICAD_SCRIPTING_WXPYTHON=ON
                     USE_FP_LIB_TABLE=HARD_CODED_ON
                     BUILD_GITHUB_PLUGIN=ON
                     KICAD_USE_WEBKIT=OFF


        The odd thing about this is that it reports using Boost
        1.57.0, but not the 1.54.0 which it downloaded, patched
        (successfully) and built.

        I probably have a few boost libraries lying around on my disk.
        I think even brew downloaded a bottle with Boost 1.57.0. If
        the label above is accessed by a utility, perhaps it picked up
        the wrong label.

        ------

        I was able to run the main KiCad and eeSchema, but when I
        clicked on the icons for pcbnew (I clicked on both the main
        page icon and the 2nd from right at the top on eeSchema - same
        results), it crashed.


        Crash of pcbnew when opened - console output

        Bobs-MacBook-Air:bin bobgus$ kicad.app/Contents/MacOS/kicad
        Traceback (most recent call last):
        File "/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/
        __init__.py", line 45, in <module>
        from wx._core import *
        File "/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/
        _core.py", line 4, in <module>
        import _core_
        ImportError: dlopen(/usr/local/lib/python2.7/site-packages/wx-3.0-
        osx_cocoa/wx/_core_.so, 2): Symbol not found:
        __ZTV20wxwxMenuItemListNode
        Referenced from: /usr/local/lib/python2.7/site-packages/wx-3.0-
        osx_cocoa/wx/_core_.so
        Expected in: /usr/local/lib/libwx_osx_cocoau_core-3.0.dylib
        in /usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/
        _core_.so
        Segmentation fault: 11
        Bobs-MacBook-Air:bin bobgus$

        Some excerpts from the build log files - may not have any
        bearing on the problem though. Does seem to indicate that
        boost 1.54.0 is being used.

        990:
        src='/Users/bobgus/KiCad-adam/kicad-mac-packaging-python/
        kicad/.downloads-by-cmake/boost_1_54_0.tar.bz2'
        991:
        dst='/Users/bobgus/KiCad-adam/kicad-mac-packaging-python/
        kicad/.downloads-by-cmake/boost_1_54_0/src/boost'
        997:[ 32%] [ 32%] Performing update step for 'boost'
        998:creating 'boost scratch repo' specifically for boost to track
        boost patches
        999:[ 32%] adding pristine boost files to 'boost scratch repo'
        1000:[ 32%] committing pristine boost files to 'boost scratch
        repo'
        1001:[ 32%] Performing patch step for 'boost'
        1002:patching file boost/polygon/detail/minkowski.hpp
        1003:patching file boost/cstdint.hpp
        1010:patching file boost/asio/ssl/impl/context.ipp
        1018:patching file boost/detail/interlocked.hpp
        1039:[ 32%] Performing configure step for 'boost'
        1057:
        http://www.boost.org/more/getting_started/unix-
        variants.html
        1060:
        http://www.boost.org/boost-build2/doc/html/index.html
        1062:[ 32%] Performing build step for 'boost'

        The copy/paste below shows some possible problems.

        1161:In file included from ./boost/filesystem/detail/
        utf8_codecvt_facet.hpp:18:
        1162:./boost/detail/utf8_codecvt_facet.hpp:171:17: warning:
        'boost::filesystem::detail::utf8_codecvt_facet::do_length' hides
        overloaded virtual function [-Woverloaded-virtual]
        1180:In file included from
        ./boost/detail/utf8_codecvt_facet.ipp:13:
        1181:./boost/detail/utf8_codecvt_facet.hpp:171:17: warning:
        'boost::filesystem::detail::utf8_codecvt_facet::do_length' hides
        overloaded virtual function [-Woverloaded-virtual]
        1189:darwin.archive bin.v2/libs/filesystem/build/darwin-4.2.1/
        release/link-static/threading-multi/libboost_filesystem.a

        The beginning of the actual crash report is shown below:

        Process:               kicad [92019]\
        Path: /Users/USER/*/kicad.app/Contents/MacOS/kicad
        Identifier: org.kicad-eda.kicad
        Version:               ??? (???)
        Code Type:             X86-64 (Native)
        Parent Process:        bash [46543]
        Responsible:           Terminal [458]
        User ID:               501

        Date/Time:             2015-03-17 22:45:30.130 -0500
        OS Version:            Mac OS X 10.10.2 (14C1510)
        Report Version:        11
        Anonymous UUID: 5EC3DCC9-7506-88B6-B795-E06635F030BC

        Sleep/Wake UUID: D3B1E849-EB3E-4A40-AA14-0AE38FED6F59

        Time Awake Since Boot: 620000 seconds
        Time Since Wake:       94000 seconds

        Crashed Thread:        0  Dispatch queue: com.apple.main-thread

        Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
        Exception Codes: KERN_INVALID_ADDRESS at 0x0000000040490fe4

        VM Regions Near 0x40490fe4:
        -->
            __TEXT 0000000103cec000-0000000103daa000 [  760K] r-x/rwx
        SM=COW /Users/USER/*/kicad.app/Contents/MacOS/kicad

        Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
        0   _pcbnew.kiface 0x000000010ccdefe0
        KIGFX::VIEW::SetGAL(KIGFX::GAL*) + 112
        1   _pcbnew.kiface 0x000000010cd33995
        EDA_DRAW_PANEL_GAL::EDA_DRAW_PANEL_GAL(wxWindow*, int, wxPoint
        const&, wxSize const&, EDA_DRAW_PANEL_GAL::GalType) + 437
        2   _pcbnew.kiface 0x000000010c7adee1
        PCB_DRAW_PANEL_GAL::PCB_DRAW_PANEL_GAL(wxWindow*, int, wxPoint
        const&, wxSize const&, EDA_DRAW_PANEL_GAL::GalType) + 33
        3   _pcbnew.kiface 0x000000010c4f94a6
        PCB_EDIT_FRAME::PCB_EDIT_FRAME(KIWAY*, wxWindow*) + 1190
        4   _pcbnew.kiface 0x000000010c4d7d44
        PCB::IFACE::CreateWindow(wxWindow*, int, KIWAY*, int) + 116
        5   org.kicad-eda.kicad 0x0000000103d5262b
        KIWAY::Player(FRAME_T, bool) + 363
        6   _eeschema.kiface 0x000000010bbbffe1
        SCH_EDIT_FRAME::OnOpenPcbnew(wxCommandEvent&) + 785
        7   libwx_baseu-3.0.0.dylib 0x0000000104938e20
        wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 240
        8   libwx_baseu-3.0.0.dylib 0x000000010493a2ab
        wxEvtHandler::ProcessEvent(wxEvent&) + 283
        9   _eeschema.kiface 0x000000010bc2ba8c
        EDA_BASE_FRAME::ProcessEvent(wxEvent&) + 28
        10  libwx_baseu-3.0.0.dylib 0x000000010493a3a4
        wxEvtHandler::ProcessEventLocally(wxEvent&) + 164
        11  libwx_baseu-3.0.0.dylib 0x000000010493a24e
        wxEvtHandler::ProcessEvent(wxEvent&) + 190
        12 libwx_osx_cocoau_core-3.0.0.dylib 0x00000001043772b4
        wxWindowBase::TryAfter(wxEvent&) + 228
        13  libwx_baseu-3.0.0.dylib 0x000000010493a2d4
        wxEvtHandler::ProcessEvent(wxEvent&) + 324

        I see your nightlies have been delayed - are you also having
        build problems?

        Hope this helps

        Bob G





Follow ups

References