← Back to team overview

kicad-developers team mailing list archive

Re: Fail to build wxpython on OS X Maverick

 

Just committed fixes needed.
Now it should build again.

Thanks also to Maciej for the quick support today.

—
Marco


On 14/mar/2014, at 01:46, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:

> I can confirm on an OS X system that hasn't done updates in 1 week that it builds the latest revno just fine.
> 
> Adam Wolf
> W&L
> 
> 
> On Thu, Mar 13, 2014 at 6:31 PM, Marco Serantoni <marco.serantoni@xxxxxxxxx> wrote:
> I’m Working on it.
> Recently there was a compiler update (two days ago), 
> And it becomes a lot more choosy and restrictive and affects a lot of projects.
> 
> please execute before the building:
> export CPPFLAGS="-Qunused-arguments"
> 
> clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
> ^^^ it becomed NOW :)
> 
> Clang seems refuse gcc arguments.
> 
> I’ll fix really soon, i hope.
> 
> 
> —
> MArco
> 
> 
> On 13/mar/2014, at 20:51, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
>> My last automated Mac buiild was 4732.  I will rerun and let you know in a few hours, Jean-Paul.
>> 
>> Adam Wolf
>> Wayne and Layne, LLC
>> 
>> 
>> On Thu, Mar 13, 2014 at 2:36 PM, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>> Hello all,
>> 
>> Last build I tried was BZR4729, and went fine.
>> 
>> Today, I try again with the 4745
>> 
>> cd ~/Soft_Dev
>> bzr branch lp:kicad
>> mv kicad/ kicad-BZR4745
>> cd kicad-BZR4745
>> cmake -DKICAD_BUILD_DYNAMIC=ON
>> make swig
>> cmake -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_WXPYTHON=ON
>> make
>> 
>> Now, make is failing when building wxPython (see below)
>> What am I doing wrong? I would like to fix this, and get back to my build.
>> The only difference that I can think of is that I installed Homebrew, but I have not used it yet
>> as I got a warning about issues with MacPorts.
>> 
>> 
>> Jean-Paul (AC9GH)
>> 
>> 
>> Jean-Pauls-MacBook-Pro:kicad-BZR4745 jean-paullouis$ make
>> [  4%] Built target boost
>> [  4%] Built target pixman
>> [  4%] Built target pkgconfig
>> [  4%] Built target libpng
>> [  4%] Built target cairo
>> [  4%] Built target glew
>> [  4%] Performing configure step for 'libwxpython'
>> old_options = set(['--wxpy_installdir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/wxPython', '--unicode', '--osx_cocoa', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--install'])
>> sys.argv = ['--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--unicode', '--install', '--wxpy_installdir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/wxPython', '--osx_cocoa']
>> wxWidgets directory is: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/.downloads-by-cmake/libwxpython/src/libwxpython
>> wxWidgets build options: ['--wxpython', '--jobs=8', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--unicode', '--no_config', '--osx_cocoa', '--installdir=', '--install', '--builddir=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/.downloads-by-cmake/libwxpython/src/libwxpython/wxpy-bld/cocoa']
>> Configure options: ['--enable-unicode', '--with-osx_cocoa', '--prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-monolithic', '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk']
>> /usr/bin/make
>> make --jobs=8
>> /usr/bin/make
>> make install
>>  
>>  ------------------------------------------------------
>>  
>>  The installation of wxWidgets is finished.  On certain
>>  platforms (e.g. Linux) you'll now have to run ldconfig
>>  if you installed a shared library and also modify the
>>  LD_LIBRARY_PATH (or equivalent) environment variable.
>>  
>>  wxWidgets comes with no guarantees and doesn't claim
>>  to be suitable for any purpose.
>>  
>>  Read the wxWindows Licence on licencing conditions.
>>  
>>  ------------------------------------------------------
>>  
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> DESTDIR: 
>> PREFIX: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root
>> wxlocation: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root
>> wxcfg: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/bin/wx-config
>> wxcfgsrc: /Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/lib/wx/config/osx_cocoa-unicode-3.0
>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> **** /usr/bin/python2.6 -u ./setup.py build UNICODE=1 WXPORT=osx_cocoa BUILD_BASE=build/cocoa WX_CONFIG="/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/bin/wx-config --prefix=/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root" 
>> WARNING: WXWIN not set in environment. Assuming '..'
>> Preparing CORE...
>> Preparing STC...
>> Preparing GLCANVAS...
>> Preparing GIZMOS...
>> running build
>> running build_py
>> running build
>> running build_py
>> copying wx/__version__.py -> build/cocoa/lib.macosx-10.9-intel-2.6/wx
>> copying wx/build/build_options.py -> build/cocoa/lib.macosx-10.9-intel-2.6/wx/build
>> package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
>> package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file)
>> running build_ext
>> building '_core_' extension
>> gcc -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.5 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -Iinclude -Isrc -I/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/lib/wx/include/osx_cocoa-unicode-3.0 -I/Users/jean-paullouis/Soft_Dev/kicad-BZR4745/libwxpython_root/include/wx-3.0 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/helpers.cpp -o build/cocoa/temp.macosx-10.9-intel-2.6/src/helpers.o -O3
>> clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
>> clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
>> error: command 'gcc' failed with exit status 1
>> ERROR: failed building wxPython.
>> make[2]: *** [.downloads-by-cmake/libwxpython/libwxpython-configure] Error 1
>> make[1]: *** [CMakeFiles/libwxpython.dir/all] Error 2
>> make: *** [all] Error 2
>> Jean-Pauls-MacBook-Pro:kicad-BZR4745 jean-paullouis$ 
>> 
>> 
>> _______________________________________________
>> 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
> 
> 


References