← Back to team overview

kicad-developers team mailing list archive

Re: bzr 5173 build broken

 

… and another comment:
As far as I can see this recipe uses/depends on a pretty stock “Wxmac” recipe.
I doubt that all the needed patches for KiCad are included in this Wxmac recipe… it won’t work then.
Please read mac-os.txt in Documentation/compiling.


Regards,
Bernhard

On 11.10.2014, at 17:56, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:

> Hi,
> 
> normally, this error happens if you mix up different versions of C++ standards (the “-std=...” option) or you mix linking against libcpp/libstdc++ in KiCad/Dependencies.
> 
> You will have to find out what homebrew uses for the various dependencies and configure it in a way that everything is done the same way.
> 
> 
> Regards,
> Bernhard
> 
> 
> On 11.10.2014, at 17:15, Bob Gustafson <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
>>      /Users/bobgus/Library/Logs/Homebrew/kicad/02.make
>>      /Users/bobgus/Library/Logs/Homebrew/kicad/02.make.cc
>>      /Users/bobgus/Library/Logs/Homebrew/kicad/CMakeCache.txt
>> 
>> Bobs-MacBook-Air:~ bobgus$ _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References