Opened 13 years ago

Closed 11 years ago

#33411 closed defect (worksforme)

Erlang R15B build fails on OS X 10.6.8 SnowLeopard

Reported by: jbthiel@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: erlang

Description

On Mac OS X 10.6.8, dual i5 core MacbookPro. Version being installed is R15B. Log:

--->  Building erlang
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for erlang is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

==========
The tail of the build log is:


:info:build /usr/bin/gcc-4.2  -mdynamic-no-pic -Ipcre -m64 -pipe -O3 -arch x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macpor
ts.org_release_ports_lang_erlang/erlang/work/erlang-R15B/erts/i386-apple-darwin10.8.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  -Ii386-apple-darwin10.8.0/opt/smp -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin10.8.0 -Izlib  -Ipcre -Ihipe -I../include -I../include/i386-apple-darwin10.8.0 -I../include/internal -I
../include/internal/i386-apple-darwin10.8.0 -c hipe/hipe_x86_signal.c -o obj/i386-apple-darwin10.8.0/opt/smp/hipe_x86_signal.o
:info:build hipe/hipe_x86_signal.c: In function ‘do_init’::info:build hipe/hipe_x86_signal.c:189: error: ‘RTLD_NEXT’ undeclared (first use in this function)
:info:build hipe/hipe_x86_signal.c:189: error: (Each undeclared identifier is reported only once:info:build hipe/hipe_x86_signal.c:189: error: for each function it appears in.)
:info:build hipe/hipe_x86_signal.c: At top level:
:info:build hipe/hipe_x86_signal.c:265: warning: no previous prototype for ‘_sigaction’
:info:build make[3]: *** [obj/i386-apple-darwin10.8.0/opt/smp/hipe_x86_signal.o] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work
/erlang-R15B/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_ports_lang_erlang/erlang/work
/erlang-R15B/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_ports_lang_erlang/erlang/work
/erlang-R15B/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_ports_lang_erlang/erlang/work/er
lang-R15B'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/work/erlang-
R15B" && /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for erlang): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for erlang is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/erlang/main.log
(END)

Change History (4)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to bfulgham@…
Port: erlang added

comment:2 Changed 12 years ago by bfulgham@…

Status: newassigned

Can you please confirm this is still a failure with R15B01?

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by mojca (Mojca Miklavec)

Resolution: worksforme
Status: assignedclosed

There has been no further feedback and in the meantime the version R16B01 is out. The buildbot seems to build Erlang just fine on 10.6. I'm assuming it has been fixed with an upgrade. If this is still a problem for you, please reopen the ticket.

Note: See TracTickets for help on using tickets.