[MacPorts] #35875: erlang @R15B01 +wxwidgets - Add +wxgtk to build on Mountain Lion
MacPorts
noreply at macports.org
Thu Aug 29 08:51:33 PDT 2013
#35875: erlang @R15B01 +wxwidgets - Add +wxgtk to build on Mountain Lion
----------------------------+-----------------------------------
Reporter: jvalduvieco@… | Owner: bfulgham@…
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: mountainlion haspatch
Port: erlang wxgtk |
----------------------------+-----------------------------------
Changes (by ciserlohn@…):
* status: reopened => closed
* resolution: => fixed
Comment:
Replying to [comment:16 zephyr_dodolee@…]:
> 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"
> }}}
As you can see from your log snippet {{{/opt/local/bin/gcc}}} is used to
compile {{{beam/beam_emu.c}}}, but gcc doesn't understand the {{{-arch}}}
flag. This is quite strange. The line above shows that {{{/usr/bin/llvm-
gcc-4.2}}} is used to compile {{{beam/erl_ptab.c}}}. Both are C files and
should be compiled with the same compiler (llvm-gcc-4.2), which they do on
my machine.
Anyhow, this is not related to the wxwidgets variant. Please try a clean
attempt. If it fails, file a new ticket and attach the full log file.
--
Ticket URL: <https://trac.macports.org/ticket/35875#comment:17>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list