[MacPorts] #40531: codeblocks: universal variant fails when non-universal codeblocks is already installed

MacPorts noreply at macports.org
Sat Sep 28 02:52:45 PDT 2013


#40531: codeblocks: universal variant fails when non-universal codeblocks is
already installed
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  mojca@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:
      Port:  codeblocks    |
---------------------------+---------------------

Comment (by mojca@…):

 I wanted to test, but figured out I wasn't able to. I'm unable to install
 codeblocks as single architecture. The reason seems to be that Makefile
 contains undesired arch flags (most probably in one of the packages, most
 probably `wxGTK`'s `wx-config` returns `-arch`)
 {{{
 PLUGIN_WX_LIBS =
 -L/opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/lib
 -arch x86_64 -arch i386 -L/opt/unilocal/lib
 -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
 -L/opt/unilocal/lib -framework IOKit -framework CoreServices -framework
 System -framework ApplicationServices  -lwx_gtk2u_richtext-2.8
 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8
 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8
 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
 }}}

 and I end up with:
 {{{
 :info:build /bin/sh ../../libtool --tag=CXX   --mode=link /usr/bin/clang++
 -O2 -ffast-math -DCB_AUTOCONF -pipe -Os -arch x86_64 -DCB_PRECOMP
 -Winvalid-pch -fPIC -DPIC -fexceptions -version-info 0:1:0
 -L/opt/unilocal/lib -Wl,-headerpad_max_install_names -arch x86_64 -o
 libcodeblocks.la -rpath /opt/unilocal/lib annoyingdialog.lo
 autodetectcompilers.lo base64.lo blockallocated.lo cbauibook.lo
 cbdebugger_interfaces.lo cbeditor.lo cbeditorprintout.lo cbexception.lo
 cbplugin.lo cbproject.lo cbstatusbar.lo cbstyledtextctrl.lo
 cbthreadpool.lo cbtreectrl.lo cbworkspace.lo compileoptionsbase.lo
 compiler.lo compilercommandgenerator.lo compilerfactory.lo
 compileroptions.lo compiletargetbase.lo configmanager-revision.lo
 configmanager.lo configurationpanel.lo configuretoolsdlg.lo
 confirmreplacedlg.lo crc32.lo debuggermanager.lo editarrayfiledlg.lo
 editarrayorderdlg.lo editarraystringdlg.lo editkeywordsdlg.lo
 editor_hooks.lo editorbase.lo editorcolourset.lo editorconfigurationdlg.lo
 editorlexerloader.lo editormanager.lo editpairdlg.lo editpathdlg.lo
 edittooldlg.lo encodingdetector.lo externaldepsdlg.lo filefilters.lo
 filegroupsandmasks.lo filemanager.lo findreplacedlg.lo
 genericmultilinenotesdlg.lo globals.lo importers_globals.lo
 incrementalselectlistdlg.lo infowindow.lo loggers.lo logmanager.lo
 macrosmanager.lo managedthread.lo manager.lo menuitemsmanager.lo
 multiselectdlg.lo newfromtemplatedlg.lo personalitymanager.lo
 pipedprocess.lo pluginmanager.lo pluginsconfigurationdlg.lo
 printing_types.lo projectbuildtarget.lo projectdepsdlg.lo projectfile.lo
 projectfileoptionsdlg.lo projectlayoutloader.lo projectloader.lo
 projectloader_hooks.lo projectmanager.lo projectoptionsdlg.lo
 projectsfilemasksdlg.lo projecttemplateloader.lo scriptingmanager.lo
 scriptsecuritywarningdlg.lo scrollingdialog.lo sdk_events.lo
 searchresultslog.lo selecttargetdlg.lo templatemanager.lo toolsmanager.lo
 uservarmanager.lo virtualbuildtargetsdlg.lo workspaceloader.lo xtra_res.lo
 CharDistribution.lo JpCntx.lo LangBulgarianModel.lo LangCyrillicModel.lo
 LangGreekModel.lo LangHebrewModel.lo LangHungarianModel.lo
 LangThaiModel.lo nsBig5Prober.lo nsCharSetProber.lo nsEscCharsetProber.lo
 nsEscSM.lo nsEUCJPProber.lo nsEUCKRProber.lo nsEUCTWProber.lo
 nsGB2312Prober.lo nsHebrewProber.lo nsLatin1Prober.lo nsMBCSGroupProber.lo
 nsMBCSSM.lo nsSBCharSetProber.lo nsSBCSGroupProber.lo nsSJISProber.lo
 nsUniversalDetector.lo nsUTF8Prober.lo
 -L/opt/unilocal/Library/Frameworks/wxWidgets.framework/Versions/wxGTK/2.8/lib
 -arch x86_64 -arch i386 -L/opt/unilocal/lib
 -Wl,-headerpad_max_install_names -arch x86_64 -arch i386
 -L/opt/unilocal/lib -framework IOKit -framework CoreServices -framework
 System -framework ApplicationServices  -lwx_gtk2u_richtext-2.8
 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8
 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8
 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
 scripting/bindings/libsqbindings.la scripting/sqplus/libsqplus.la
 scripting/sqstdlib/libsqstdlib.la scripting/squirrel/libsquirrel.la
 ../base/tinyxml/libtinyxml.la wxscintilla/libwxscintilla.la
 wxpropgrid/libwxpropgrid.la -lpthread -ldl
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/40531#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list