Opened 12 years ago

Closed 12 years ago

#19482 closed defect (fixed)

erlang-R13B_1 Build fails with gen/gl_funcs.cpp:3166

Reported by: harry.weppner@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: nik@…, nottwo (Trannie Carter), brad@…, wmacgyver@…, adrian@…
Port: erlang

Description

Hi there,

erlang build fails in gl_funcs.cpp:3166 (cf. below).

Thanks, Harry.

--->  Building erlang
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B" && make all " returned error 2
Command output: gen/gl_funcs.cpp:3166: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3166: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3174: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3998: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4893: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected ',' or ';' before 'bp'
make[3]: *** [powerpc-apple-darwin9.6.0/gl_funcs.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2

Error: Unable to upgrade port: 1

Attachments (1)

erlang-r13b-wx.diff (4.9 KB) - added by nottwo (Trannie Carter) 12 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to bfulgham@…

comment:2 Changed 12 years ago by nik@…

Cc: nik@… added

Cc Me!

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Cc: nottwo@… added

comment:4 Changed 12 years ago by nottwo (Trannie Carter)

Harry, you're running Leopard on PPC?

erlang @R13B_2 successfully builds for me on x86 Tiger & PPC Tiger.

I don't have any Leopard installations to test on, so I'm kind of in the dark. The error you're getting is part of wxErlang & is new in R13, so there might be something special needed to get it working on Leopard.

Could you look in config.log in work/erlang-R13B/lib/wx for "#define HAVE_GLINT64EXT 1" ?

If configure finds a typedef for GLint64EXT, the definition in wx/c_src/wxe_gl.h won't be used and maybe by the time it comes to building, the build system has lost its definition of GLint64EXT & so compilation of gl_funcs.o fails.

Maybe you could paste your config.log? And if you're up for it, try unpacking otp_src_R13B.tar.gz from /opt/local/var/macports/distfiles/erlang and see if the build works from pristine source. None of the patches are touching lib/wx, so I would expect the build to fail for you there, too....

comment:5 Changed 12 years ago by brad@…

Cc: brad@… added

Cc Me!

comment:6 Changed 12 years ago by brad@…

DEFS does have -DHAVE_GLINT64EXT=1 for me -- I'm on 10.5.6 Intel.

comment:7 Changed 12 years ago by nottwo (Trannie Carter)

I've talked to one person that claims to have successfully built erlang R13B on Intel Leopard.

I have my doubts about whether this has anything to do with MacPorts. Could someone try building from the distributed tarball, please? Is there still an issue?

If you capture the output of 'port -vv build erlang' you can get the full output of the failure. Maybe someone can post the output of their build?

comment:8 Changed 12 years ago by wmacgyver@…

I'm having the same problem on 10.5.6 intel.

doing port -vv build erlang gets me the following

--->  Building erlang
cd erts/emulator && ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B make generate depend
make -f i386-apple-darwin9.6.0/Makefile generate
make[2]: Nothing to be done for `generate'.
make -f i386-apple-darwin9.6.0/Makefile depend
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common beam/atom.c beam/beam_bif_load.c beam/beam_bp.c beam/beam_catches.c beam/beam_debug.c beam/beam_emu.c beam/beam_load.c beam/benchmark.c beam/bif.c beam/big.c beam/binary.c beam/break.c beam/copy.c beam/dist.c beam/elib_malloc.c beam/elib_memmove.c beam/erl_afit_alloc.c beam/erl_alloc.c beam/erl_alloc_util.c beam/erl_arith.c beam/erl_async.c beam/erl_bestfit_alloc.c beam/erl_bif_chksum.c beam/erl_bif_ddll.c beam/erl_bif_guard.c beam/erl_bif_info.c beam/erl_bif_lists.c beam/erl_bif_op.c beam/erl_bif_os.c beam/erl_bif_port.c beam/erl_bif_re.c beam/erl_bif_timer.c beam/erl_bif_trace.c beam/erl_bits.c beam/erl_db.c beam/erl_db_hash.c beam/erl_db_tree.c beam/erl_db_util.c beam/erl_debug.c beam/erl_drv_thread.c beam/erl_fun.c beam/erl_gc.c beam/erl_goodfit_alloc.c beam/erl_init.c beam/erl_instrument.c beam/erl_lock_check.c beam/erl_lock_count.c beam/erl_math.c beam/erl_md5.c beam/erl_message.c beam/erl_monitors.c beam/erl_mtrace.c beam/erl_nmgc.c beam/erl_node_tables.c beam/erl_obsolete.c beam/erl_port_task.c beam/erl_posix_str.c beam/erl_printf_term.c beam/erl_process.c beam/erl_process_dict.c beam/erl_process_dump.c beam/erl_process_lock.c beam/erl_resolv_dns.c beam/erl_resolv_nodns.c beam/erl_term.c beam/erl_time_sup.c beam/erl_trace.c beam/erl_unicode.c beam/export.c beam/external.c beam/fix_alloc.c beam/hash.c beam/index.c beam/io.c beam/module.c beam/packet_parser.c beam/register.c beam/safe_hash.c beam/time.c beam/utils.c \
		| sed 's|^\([^:]*:\)|$(OBJDIR)/\1|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' > i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common drivers/common/efile_drv.c drivers/common/gzio.c drivers/common/inet_drv.c drivers/common/ram_file_drv.c drivers/common/zlib_drv.c drivers/unix/bin_drv.c drivers/unix/mem_drv.c drivers/unix/multi_drv.c drivers/unix/sig_drv.c drivers/unix/ttsl_drv.c drivers/unix/unix_efile.c \
		| sed 's|^\([^:]*:\)|$(OBJDIR)/\1|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common sys/unix/erl9_start.c sys/unix/erl_child_setup.c sys/unix/erl_main.c sys/unix/erl_unix_sys_ddll.c sys/unix/sys.c sys/unix/sys_float.c sys/unix/sys_time.c sys/common/erl_check_io.c sys/common/erl_mseg.c sys/common/erl_mtrace_sys_wrap.c sys/common/erl_poll.c \
		| sed 's|^\([^:]*:\)|$(OBJDIR)/\1|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common i386-apple-darwin9.6.0/erl_atom_table.c i386-apple-darwin9.6.0/erl_bif_table.c i386-apple-darwin9.6.0/erl_bif_wrap.c i386-apple-darwin9.6.0/erl_pbifs.c i386-apple-darwin9.6.0/preload.c i386-apple-darwin9.6.0/opt/plain/beam_opcodes.c i386-apple-darwin9.6.0/opt/plain/driver_tab.c \
		| sed 's|^\([^:]*:\)|$(OBJDIR)/\1|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common -DENABLE_ELIB_MALLOC -DELIB_ALLOC_IS_CLIB -DELIB_HEAP_SBRK beam/elib_malloc.c beam/elib_memmove.c beam/erl_bif_info.c beam/utils.c beam/erl_alloc.c \
		| sed 's|^\([^:]*\).o[ 	]*:|$(OBJDIR)/\1.elib.o:|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -MG -mdynamic-no-pic -Ipcre -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include  -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ii386-apple-darwin9.6.0/opt/plain -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin9.6.0 -Izlib -Ipcre -Ihipe -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -Idrivers/common hipe/hipe_amd64.c hipe/hipe_arm.c hipe/hipe_bif0.c hipe/hipe_bif1.c hipe/hipe_bif2.c hipe/hipe_debug.c hipe/hipe_gc.c hipe/hipe_mkliterals.c hipe/hipe_mode_switch.c hipe/hipe_native_bif.c hipe/hipe_perfctr.c hipe/hipe_ppc.c hipe/hipe_risc_stack.c hipe/hipe_sparc.c hipe/hipe_stack.c hipe/hipe_x86.c hipe/hipe_x86_signal.c hipe/hipe_x86_stack.c \
		| sed 's|^\([^:]*:\)|$(OBJDIR)/\1|g;s|i386-apple-darwin9.6.0/opt/plain/|$(TTF_DIR)/|g;s|\([ 	]\)/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|\1$(ERL_TOP)/|g;s|^/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/|$(ERL_TOP)/|g;s|$(OBJDIR)/erl_poll.o|$(OBJDIR)/erl_poll.kp.o $(OBJDIR)/erl_poll.nkp.o|g;s|$(OBJDIR)/erl_check_io.o|$(OBJDIR)/erl_check_io.kp.o $(OBJDIR)/erl_check_io.nkp.o|g' >> i386-apple-darwin9.6.0/depend.mk
cd erts/lib_src && ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B make depend
make -f i386-apple-darwin9.6.0/Makefile depend
Generating dependency file i386-apple-darwin9.6.0/depend.mk...
/usr/bin/gcc-4.0 -MM -DUSE_THREADS  -D_THREAD_SAFE -D_REENTRANT  -O3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H  -I../include -I../include/i386-apple-darwin9.6.0 -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -I../emulator/beam -I../emulator/sys/unix common/ethread.c \
		| sed 's|^\([^:]*\)\.o:|$(r_OBJ_DIR)/\1.o:|g;s|i386-apple-darwin9.6.0/opt/|$(TT_DIR)/|g;s|i386-apple-darwin9.6.0/|$(TARGET)/|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -DUSE_THREADS  -D_THREAD_SAFE -D_REENTRANT  -O3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H  -I../include -I../include/i386-apple-darwin9.6.0 -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -I../emulator/beam -I../emulator/sys/unix common/erl_printf_format.c common/erl_printf.c common/erl_misc_utils.c \
		| sed 's|^\([^:]*\)\.o:|$(r_OBJ_DIR)/\1.o:|g;s|i386-apple-darwin9.6.0/opt/|$(TT_DIR)/|g;s|i386-apple-darwin9.6.0/|$(TARGET)/|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM  -O3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H  -I../include -I../include/i386-apple-darwin9.6.0 -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -I../emulator/beam -I../emulator/sys/unix common/erl_printf_format.c common/erl_printf.c common/erl_misc_utils.c \
		| sed 's|^\([^:]*\)\.o:|$(OBJ_DIR)/\1.o:|g;s|i386-apple-darwin9.6.0/opt/|$(TT_DIR)/|g;s|i386-apple-darwin9.6.0/|$(TARGET)/|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM -DUSE_THREADS  -D_THREAD_SAFE -D_REENTRANT  -O3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H  -I../include -I../include/i386-apple-darwin9.6.0 -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -I../emulator/beam -I../emulator/sys/unix common/erl_memory_trace_parser.c \
		| sed 's|^\([^:]*\)\.o:|$(r_OBJ_DIR)/\1.o:|g;s|i386-apple-darwin9.6.0/opt/|$(TT_DIR)/|g;s|i386-apple-darwin9.6.0/|$(TARGET)/|g' >> i386-apple-darwin9.6.0/depend.mk
/usr/bin/gcc-4.0 -MM  -O3 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/i386-apple-darwin9.6.0  -no-cpp-precomp  -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DHAVE_CONFIG_H  -I../include -I../include/i386-apple-darwin9.6.0 -I../include/internal -I../include/internal/i386-apple-darwin9.6.0 -I../emulator/beam -I../emulator/sys/unix common/erl_memory_trace_parser.c \
		| sed 's|^\([^:]*\)\.o:|$(OBJ_DIR)/\1.o:|g;s|i386-apple-darwin9.6.0/opt/|$(TT_DIR)/|g;s|i386-apple-darwin9.6.0/|$(TARGET)/|g' >> i386-apple-darwin9.6.0/depend.mk
cd erts && ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B make NO_START_SCRIPTS=true  FLAVOR=
make -f i386-apple-darwin9.6.0/Makefile generate
make[3]: Nothing to be done for `generate'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/lib_src && make opt
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile generate
make[3]: Nothing to be done for `generate'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/lib_src && make opt
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[5]: Nothing to be done for `all'.
make[2]: Nothing to be done for `opt'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/lib_src && make opt
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[6]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[4]: Nothing to be done for `all'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[3]: Nothing to be done for `all'.
cd lib && \
	  ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/bin:${PATH} \
		make opt SECONDARY_BOOTSTRAP=true
=== Entering application parsetools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application parsetools
make[2]: Nothing to be done for `opt'.
Makefile:48: warning: overriding commands for target `docs'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/make/otp_subdir.mk:28: warning: ignoring old commands for target `docs'
=== Entering application hipe
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application hipe
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/hipe ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/hipe ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/hipe/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/hipe/ebin ; fi
for x in lib/hipe/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/hipe/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/include ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/include ; fi
for x in lib/parsetools/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/parsetools/include/*.hrl; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/parsetools/include/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1 ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1 ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/src ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/src ; fi
for x in lib/asn1/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/asn1/src/*.[eh]rl; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/asn1/src/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
cd lib && \
	  ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/bin:${PATH} \
		make opt TERTIARY_BOOTSTRAP=true
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp/include ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp/include ; fi
for x in lib/snmp/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/snmp/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
cd lib && \
	  ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/bin:${PATH} \
		make opt FOURTH_BOOTSTRAP=true
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application jinterface
set -e; set -x; \
	case "make" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
	if test -f com/ericsson/otp/erlang/ignore_config_record.inf; then xflag=$tflag; fi; \
	(cd com/ericsson/otp/erlang && make -f Makefile.otp $xflag opt)
+ case "make" in
+ tflag=
+ test -f com/ericsson/otp/erlang/ignore_config_record.inf
+ xflag=
+ cd com/ericsson/otp/erlang
+ make -f Makefile.otp opt
if [ ! -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/lib/jinterface/priv/" ];then mkdir "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/lib/jinterface/priv/"; fi
make[3]: Nothing to be done for `opt'.
=== Leaving application jinterface
=== Entering application ic
make[3]: Nothing to be done for `opt'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[4]: Nothing to be done for `debug'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application ic
Makefile:62: warning: overriding commands for target `docs'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/make/otp_subdir.mk:28: warning: ignoring old commands for target `docs'
=== Entering application syntax_tools
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application syntax_tools
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl/include ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl/include ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/include ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/include ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx/ebin ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx/include ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx/include ; fi
for x in lib/ic/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/ic/include/*.idl; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/include/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/ic/include/*.h; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/ic/include/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/sasl/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/sasl/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/syntax_tools ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/syntax_tools ; fi
if test ! -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/syntax_tools/ebin ; then mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/syntax_tools/ebin ; fi
for x in lib/syntax_tools/ebin/*.beam; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/syntax_tools/ebin/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
for x in lib/wx/include/*.hrl; do \
		BN=`basename $x`; \
		TF=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/lib/wx/include/$BN; \
		test -f  $TF && \
		test '!' -z "`find $x -newer $TF -print`" && \
			cp $x $TF; \
		test '!' -f $TF && \
			cp $x $TF; \
		true; \
	done
cd lib && \
	  ERL_TOP=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/bootstrap/bin:${PATH} \
		make opt BUILD_ALL=true
=== Entering application stdlib
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application stdlib
=== Entering application sasl
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application sasl
=== Entering application kernel
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application kernel
=== Entering application compiler
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application compiler
=== Entering application tools
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/lib_src && make opt
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[6]: Nothing to be done for `all'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application tools
=== Entering application snmp
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[4]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application snmp
=== Entering application otp_mibs
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application otp_mibs
=== Entering application appmon
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
=== Leaving application appmon
=== Entering application erl_interface
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[4]: Nothing to be done for `debug'.
make[3]: Nothing to be done for `opt'.
=== Leaving application erl_interface
=== Entering application asn1
make[3]: Nothing to be done for `opt'.
make[3]: Nothing to be done for `opt'.
make -f i386-apple-darwin9.6.0/Makefile TYPE=opt
make[4]: Nothing to be done for `opt'.
=== Leaving application asn1
=== Entering application jinterface
set -e; set -x; \
	case "make" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
	if test -f com/ericsson/otp/erlang/ignore_config_record.inf; then xflag=$tflag; fi; \
	(cd com/ericsson/otp/erlang && make -f Makefile.otp $xflag opt)
+ case "make" in
+ tflag=
+ test -f com/ericsson/otp/erlang/ignore_config_record.inf
+ xflag=
+ cd com/ericsson/otp/erlang
+ make -f Makefile.otp opt
if [ ! -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/lib/jinterface/priv/" ];then mkdir "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/lib/jinterface/priv/"; fi
make[3]: Nothing to be done for `opt'.
=== Leaving application jinterface
=== Entering application wx
make[3]: Nothing to be done for `opt'.
mkdir -p i386-apple-darwin9.6.0
/usr/bin/g++-4.0 -c -I/opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__  -g -Wall -O2 -fPIC -fomit-frame-pointer -fno-strict-aliasing -no-cpp-precomp -I/opt/local/include -D_MACOSX -D_THREAD_SAFE -D_REENTRANT -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GL_GL_H=1 -DHAVE_OPENGL_GL_H=1 -DHAVE_GL_SUPPORT=1 -DHAVE_GLINTPTR=1 -DHAVE_GLINTPTRARB=1 -DHAVE_GLCHAR=1 -DHAVE_GLCHARARB=1 -DHAVE_GLHALFARB=1 -DHAVE_GLINT64EXT=1 -DHAVE_WX_STC_STC_H=1  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/emulator/beam -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/emulator/sys/i386-apple-darwin9.6.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/include/internal -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/include/internal/i386-apple-darwin9.6.0 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B/erts/include/i386-apple-darwin9.6.0   gen/gl_funcs.cpp -o i386-apple-darwin9.6.0/gl_funcs.o
/opt/local/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: 'AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/opt/local/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: 'AGLDrawable' is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
gen/gl_funcs.cpp: In function 'void gl_dispatch(int, char*, ErlDrvTermData, WXEBinRef**)':
gen/gl_funcs.cpp:3142: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3142: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3142: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3142: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3150: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3150: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3150: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3150: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3158: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3158: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3158: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3158: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3159: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3159: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3159: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3166: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3166: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3166: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3166: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3174: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3998: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4893: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected ',' or ';' before 'bp'
make[3]: *** [i386-apple-darwin9.6.0/gl_funcs.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work/erlang-R13B" && make all " returned error 2
Command output: gen/gl_funcs.cpp:3166: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3166: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3167: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3174: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3174: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3175: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3998: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3998: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:3999: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4893: error: 'GLuint64EXT' was not declared in this scope
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4893: error: expected ',' or ';' before 'bp'
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected primary-expression before ')' token
gen/gl_funcs.cpp:4894: error: expected ',' or ';' before 'bp'
make[3]: *** [i386-apple-darwin9.6.0/gl_funcs.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2

Warning: the following items did not execute (for erlang): org.macports.build
Error: Status 1 encountered during processing.

comment:9 Changed 12 years ago by wmacgyver@…

Cc: wmacgyver@… added

Cc Me!

comment:10 Changed 12 years ago by brad@…

I just decided to wipe my old MacPorts install and do a fresh one -- "list installed" had about a dozen copies of some packages, all at the same version, and I thought something might be just completely messed up.

Result: Erlang builds just fine. So it's possibly triggered by a cruft buildup; the bug does not appear to actually be in the Erlang package.

comment:11 Changed 12 years ago by harry.weppner@…

additional observations:

1) Issue exists on both PPC and Intel 2) Build from source (erlang.org) works fine 3) Difference between port and tar from erlang.org is how GLint64EXT is detected

Build from tarball configure shows

checking for GLint64EXT... no

while the port build says yes

As a result the makefile gets created with -DHAVE_GLINT64EXT=1 and wxe_gl.h protects the definition of GLint64EXT and GLuint64EXT, which leads to the compilation error.

#ifndef HAVE_GLINT64EXT typedef int64_t GLint64EXT; typedef uint64_t GLuint64EXT; #endif

The question is now why configure detects GLint64EXT differently between the tarball and the port!?

Cheerio, Harry.

comment:12 in reply to:  10 Changed 12 years ago by jmroot (Joshua Root)

Replying to brad@…:

I just decided to wipe my old MacPorts install and do a fresh one -- "list installed" had about a dozen copies of some packages, all at the same version, and I thought something might be just completely messed up.

See the FAQ.

comment:13 Changed 12 years ago by jmroot (Joshua Root)

One notable difference is that the mesa port's GL/glext.h (which will be picked up by the CPPFLAGS that port passes to configure) has GLuint64EXT, while the system's OpenGL/glext.h does not.

comment:14 in reply to:  13 Changed 12 years ago by wmacgyver@…

Replying to jmr@…:

One notable difference is that the mesa port's GL/glext.h (which will be picked up by the CPPFLAGS that port passes to configure) has GLuint64EXT, while the system's OpenGL/glext.h does not.

that was it. Upon seeing this, I port uninstall mesa, then port clean erlang, and port install erlang. it built and installed correctly.

comment:15 Changed 12 years ago by macports.org@…

FWIW uninstalling MESA is not necessary, deactivating it is sufficient.

comment:16 Changed 12 years ago by adrian@…

Cc: adrian@… added

Cc Me!

comment:17 in reply to:  13 Changed 12 years ago by nottwo (Trannie Carter)

Replying to jmr@…:

One notable difference is that the mesa port's GL/glext.h (which will be picked up by the CPPFLAGS that port passes to configure) has GLuint64EXT, while the system's OpenGL/glext.h does not.

I've patched the wx configure script to prefer the system OpenGL include files so that the presence of X11/mesa won't break the build.

This patch allows me to successfully build erlang w/ mesa installed & activated. It'd be great if others could try it out. I'll check it in in a day or so if I don't hear any negative feedback.

Changed 12 years ago by nottwo (Trannie Carter)

Attachment: erlang-r13b-wx.diff added

comment:18 Changed 12 years ago by nottwo (Trannie Carter)

Resolution: fixed
Status: newclosed

Committed in r50714

Note: See TracTickets for help on using tickets.