#35875: erlang @R15B01 +wxwidgets - Add +wxgtk to build on Mountain Lion ----------------------------+----------------------------------- Reporter: jvalduvieco@… | Owner: bfulgham@… Type: enhancement | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mountainlion haspatch Port: erlang wxgtk | ----------------------------+----------------------------------- Changes (by zephyr_dodolee@…): * status: closed => reopened * resolution: fixed => Comment: I get the following error while building with variant "+wxwidgets": {{{ :info:build /usr/bin/llvm-gcc-4.2 -Ipcre -Werror=return-type -m64 -pipe -Os -arch x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01/erts/x86_64-apple-darwin12.4.0 -I/opt/local/include -D_XOPEN_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -Ix86_64-apple- darwin12.4.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ix86_64-apple- darwin12.4.0 -Izlib -Ipcre -Ihipe -I../include -I../include/x86_64-apple- darwin12.4.0 -I../include/internal -I../include/internal/x86_64-apple- darwin12.4.0 -c beam/erl_ptab.c -o obj/x86_64-apple- darwin12.4.0/opt/smp/erl_ptab.o :info:build /opt/local/bin/gcc -Ipcre -Werror=return-type -m64 -pipe -Os -arch x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01/erts/x86_64-apple-darwin12.4.0 -I/opt/local/include -D_XOPEN_SOURCE -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -Ix86_64-apple- darwin12.4.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ix86_64-apple- darwin12.4.0 -Izlib -Ipcre -Ihipe -I../include -I../include/x86_64-apple- darwin12.4.0 -I../include/internal -I../include/internal/x86_64-apple- darwin12.4.0 -c beam/beam_emu.c -o obj/x86_64-apple- darwin12.4.0/opt/smp/beam_emu.o :info:build cc1: error: unrecognized command line option "-arch" :info:build make[3]: *** [obj/x86_64-apple- darwin12.4.0/opt/smp/beam_emu.o] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01/erts/emulator' :info:build make[2]: *** [opt] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01/erts/emulator' :info:build make[1]: *** [smp] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01/erts' :info:build make: *** [emulator] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/work /erlang-R16B01" && /usr/bin/make -w all :info:build Exit code: 2 :error:build org.macports.build for port erlang returned: command execution failed :debug:build Error code: CHILDSTATUS 42467 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for erlang: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port erlang for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_erlang/erlang/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/35875#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X