← Back to team overview

kicad-developers team mailing list archive

Re: bzr 5173 build broken

 

Hi Adam

I have been using the brew recipe from Shane Burrell:

  https://github.com/shaneburrell/homebrew-kicad

I had to tweek it a little:
  I commented out the 'in replace' line in kicad.rb

When the Burrell Tap is installed, the kicad.rb file is in the directory:
  /usr/local/Library/Taps/shaneburrell/homebrew-kicad/

So far, this has been a very successful recipe for me - 14/16 builds
have been successful over the last month or so.

-------

eeschema doesn't do a good job of erasing when you move a component, but
I have been hoping that an improvement will appear online soon.

Have fun

Bob G

On 10/11/2014 10:32 AM, Adam Wolf wrote:

Hi Bob,

I don't think we maintain a Kicad brew recipe.  I'll take a look when
I get to a real computer.

Please see mac-osx.txt, and see if your brew recipe follows those
instructions.

I have a builder script
https://github.com/wayneandlayne/KicadOSXBuilder/tree/oct_2014_beta,
that follows the instructions in mac-osx.txt.  I didn't want to post
about it until I make it a little more configurable, but folks are
getting (rightfully so) excited about the latest OS X progress.

That builder script is what I'm going to use to produce periodic OS X
binaries, as soon as some of the blockers get resolved.

Adam Wolf
Cofounder and Engineer
W&L

On Oct 11, 2014 10:16 AM, "Bob Gustafson" <bobgus@xxxxxxx
<mailto:bobgus@xxxxxxx>> wrote:


    On 10/11/2014 08:46 AM, Wayne Stambaugh wrote:
    I cannot duplicate this.  I suspect it is a configuration difference
    issue as I am using Boost 1.56 on both my Linux and Windows builds.  I
    need some more information.  Please include your cmake command and the
    build platform.

    On 10/11/2014 02:42 AM, inkblotter wrote:
    On 10/11/2014 01:00 AM, Mark Roszko wrote:
    The build compiles fine for me, did you run cmake configure properly?
    Cmake generates shader_src.h which shader.cpp includes and has all the
    missing variables you see the errors complaining about.

    Yes, and for me too.   The error I got was caused by some  random error
    when building with many threads but I always build with many threads and
    never ran into this error before.
    Sorry for the noise.

    _______________________________________________


    In compiling r5173, I got the ‘traits’ error.

    This is on an uptodate Macbook air.

    I iterated through brew update, brew upgrade, brew doctor, brew
    prune.. until it looked good.

    The command line is:

    HOMEBREW_MAKE_JOBS=1 brew install -v --HEAD kicad 2>&1 | tee
    brew_kicad_out16.txt

    I can copy the brew_kicad_out16.txt file to gist if anyone is
    interested.

    The process to this point seemed to rebuild boost and it may have
    used wxWidget-3.0.2, which I attempted to build prior to this run.

    I think there was an email discussing a trait error - maybe I have
    missed a patch.

    This is a snippet of the build output including the error lines.

    [ 36%] Building CXX object common/CMakeFiles/common.dir/colors.cpp.o
    cd /tmp/kicad-0j86Yx/common &&
    /usr/local/Library/ENV/4.3/clang++   -DHAVE_STDINT_H
    -DKICAD_KEEPCASE -DUSE_WX_OVERLAY -DWXUSINGDLL -DWX_COMPATIBILITY
    -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__
    -Wall -D__ASSERTMACROS__ -fPIC -Wno-strict-aliasing
    -D__ASSERTMACROS__ -mmacosx-version-min=10.9
    -I/usr/local/include/wx-3.0 -arch x86_64 -isysroot
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
    -I/tmp/kicad-0j86Yx/include -I/tmp/kicad-0j86Yx/common/.
    -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0
    -I/usr/local/include/wx-3.0 -I/tmp/kicad-0j86Yx/common/./dialogs
    -I/tmp/kicad-0j86Yx/common/./dialog_about
    -I/usr/local/include/cairo -I/usr/local/include
    -I/tmp/kicad-0j86Yx/common/../3d-viewer
    -I/tmp/kicad-0j86Yx/common/../pcbnew
    -I/tmp/kicad-0j86Yx/common/../polygon
    -I/tmp/kicad-0j86Yx/boost_root/include -I/tmp/kicad-0j86Yx    -o
    CMakeFiles/common.dir/colors.cpp.o -c
    /tmp/kicad-0j86Yx/common/colors.cpp
    In file included from /tmp/kicad-0j86Yx/common/colors.cpp:2:
    In file included from /tmp/kicad-0j86Yx/include/colors.h:8:
    In file included from /usr/local/include/wx-3.0/wx/wx.h:15:
    In file included from /usr/local/include/wx-3.0/wx/object.h:19:
    In file included from /usr/local/include/wx-3.0/wx/memory.h:15:
    In file included from /usr/local/include/wx-3.0/wx/string.h:46:
    /usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error:
    'tr1/type_traits' file not found
            #include <tr1/type_traits>
                     ^
    1 error generated.
    make[2]: *** [common/CMakeFiles/common.dir/colors.cpp.o] Error 1
    make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
    make: *** [all] Error 2
    ==> Formula
    Tap: shaneburrell/homebrew-kicad
    Path: /usr/local/Library/Taps/shaneburrell/homebrew-kicad/kicad.rb
    ==> Configuration
    HOMEBREW_VERSION: 0.9.5
    HEAD: 53d6a65161796fcec874dcac4a63e92ba9acb3e0
    CPU: quad-core 64-bit haswell
    OS X: 10.9.5-x86_64
    Xcode: 6.0.1
    CLT: 6.0.0.0.1.1410400753
    Error: kicad HEAD did not build
    X11: 2.7.7 => /opt/X11
    ==> ENV
    HOMEBREW_CC: clang
    HOMEBREW_CXX: clang++
    MAKEFLAGS: -j1
    CMAKE_PREFIX_PATH:
    /usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local
    CMAKE_INCLUDE_PATH:
    /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
    CMAKE_LIBRARY_PATH:
    /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
    PKG_CONFIG_PATH:
    /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/GLEW/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/Cairo/lib/pkgconfig
    PKG_CONFIG_LIBDIR:
    /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
    HOMEBREW_MAKE_JOBS: 1
    ACLOCAL_PATH:
    /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
    PATH:
    /usr/local/Library/ENV/4.3:/usr/local/opt/bazaar/bin:/usr/local/opt/cmake/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/Wxmac/bin:/usr/local/opt/GLEW/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/local/opt/Cairo/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin

    Logs:
         /Users/bobgus/Library/Logs/Homebrew/kicad/01.cmake
         /Users/bobgus/Library/Logs/Homebrew/kicad/01.cmake.cc
    <http://01.cmake.cc>
         /Users/bobgus/Library/Logs/Homebrew/kicad/02.make
         /Users/bobgus/Library/Logs/Homebrew/kicad/02.make.cc
    <http://02.make.cc>
    /Users/bobgus/Library/Logs/Homebrew/kicad/CMakeCache.txt

    Bobs-MacBook-Air:~ bobgus$

    _______________________________________________
    Mailing list: https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~kicad-developers
    <https://launchpad.net/%7Ekicad-developers>
    More help   : https://help.launchpad.net/ListHelp



References