[MacPorts] #15459: erlang R12B-2 build failure on Leopard 5.3
#15459: erlang R12B-2 build failure on Leopard 5.3 --------------------------------+------------------------------------------- Reporter: sreguera@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- After updating the OS to Leopard 5.3 erlang stopped working, giving a bus error. I attempted a rebuild, but the build fails when compiling hipe. {{{ === Entering application hipe /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work /erlang-R12B-2/bin/i386-apple-darwin9.3.0/hipe_mkliterals -e > hipe_literals.hrl erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin hipe_rtl_arch.erl make[3]: *** [../ebin/hipe_rtl_arch.beam] Bus error make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [secondary_bootstrap_build] Error 2 }}} I've downloaded and compiled the same version (R12B-2) from the erlang site using the default options (./configure && make) and everything seems to be working: {{{ === Entering application hipe /Users/sebas/Downloads/Erlang/otp_src_R12B-2/bin/i386-apple- darwin9.3.0/hipe_mkliterals -e > hipe_literals.hrl erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin hipe_rtl_arch.erl erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin hipe_tagscheme.erl erlc -W +debug_info +warn_obsolete_guard +warn_untyped_record -o../ebin hipe_consttab.erl erlc -W +debug_info +warn_obsolete_guard +warn_untyped_record -o../ebin hipe_gensym.erl ... }}} -- Ticket URL: <http://trac.macports.org/ticket/15459> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 ---------------------------------+------------------------------------------ Reporter: sreguera@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by ricardo@arges-systems.com): I'd like to second this bug - I had the exact same problem after upgrading Leopard to 10.5.3, and was just about to file a report when I found this one. -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 ---------------------------------+------------------------------------------ Reporter: sreguera@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by sreguera@gmail.com): The quick and dirty solution is to remove the "--enable-hipe" option from the configuration in the Portfile. I've moved it to a separate variant: {{{ --- Portfile.orig 2008-05-31 09:53:07.000000000 +0200 +++ Portfile 2008-05-31 09:54:54.000000000 +0200 @@ -45,7 +45,6 @@ configure.args --prefix=${destroot}${prefix} \ --enable-threads \ --enable-kernel-poll \ - --enable-hipe \ --disable-smp-support variant smp { @@ -58,6 +57,9 @@ depends_run-append port:openssl } +variant hipe { + configure.args-append --enable-hipe +} platform i386 { pre-configure { }}} -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 ---------------------------------+------------------------------------------ Reporter: sreguera@gmail.com | Owner: bfulgham@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by aschenke@macports.org): * owner: macports-tickets@lists.macosforge.org => bfulgham@macports.org -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 ---------------------------------+------------------------------------------ Reporter: sreguera@gmail.com | Owner: bfulgham@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by bfulgham@macports.org): This problem seems to persist through 10.5.4 as well. Updating port with new "hipe" variant, so users can at least use Erlang without HIPE enabled. -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 (HiPE causes Bus error) ---------------------------------+------------------------------------------ Reporter: sreguera@gmail.com | Owner: bfulgham@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: erlang | ---------------------------------+------------------------------------------ Changes (by febeling@macports.org): * port: => erlang Comment: This issue has been resolved upstream, see this message from erlang- patches mailing list: http://www.erlang.org/pipermail/erlang- patches/2008-September/000293.html. It will be contained in the R12-5 erlang/OTP release, which is due in about december, if all goes as usual. Should we apply this locally maybe? -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 (HiPE causes Bus error) --------------------------------+------------------------------------------- Reporter: sreguera@… | Owner: bfulgham@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: erlang --------------------------------+------------------------------------------- Comment(by will.bryant@…): As per #17099, port now builds R12-5 successfully with hipe, so we can close this ticket now (and turn hipe back on by default). -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15459: erlang R12B-2 build failure on Leopard 5.3 (HiPE causes Bus error) ---------------------------------+------------------------------------------ Reporter: sreguera@… | Owner: bfulgham@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: erlang | ---------------------------------+------------------------------------------ Changes (by bfulgham@…): * status: new => closed * resolution: => fixed Comment: Committed revision 44939. -- Ticket URL: <http://trac.macports.org/ticket/15459#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts