Opened 14 years ago

Closed 14 years ago

#23348 closed enhancement (invalid)

Erlang R13B03 patch request (to solve duplicate symbol problems)

Reported by: cerieljacobs@… Owned by: bfulgham@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: erlang

Description

I was wondering if you would help me applying a patch to the erlang port version R13B03 regarding ticket #22848 <http://trac.macports.org/ticket/22848>

Erlang R13B03 requires a patch for building correctly in 64-bit environments. Most likely this patch will not be necessary on the next R13B04 release.

Are you willing to put the attached patch online?

The patch has been tested and is known to work. It was tested locally when applied at the bottom of the darwin 10 section in the Portfile (see attachment).

The patch is known not to work when specifying 64-bit arguments, like $ port install erlang configure.args="--enable-m64-build --enable-darwin-64bit --build=i686-apple-darwin10"; the destroot fails (DEBUG: Backtrace: shell command "tar -C /opt/local/var/macports/build/_Users_ceriel_ports_lang_erlang/work/destroot/opt/local/lib/erlang -zxvf /opt/local/var/macports/distfiles/erlang/otp_doc_html_R13B03.tar.gz" returned error 1

while executing "$post $targetname") I am a little stuck with this.

Attachments (2)

patch-int-to-extern-int.diff (5.5 KB) - added by cerieljacobs@… 14 years ago.
Portfile (6.0 KB) - added by cerieljacobs@… 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by cerieljacobs@…

Changed 14 years ago by cerieljacobs@…

Attachment: Portfile added

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

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

comment:2 Changed 14 years ago by cerieljacobs@…

Does this owner change to 'bfulgham' means that he should do the job? Is there a timeout? Or how can be proceeded in case the owner doesn't respond?

comment:3 in reply to:  2 Changed 14 years ago by mf2k (Frank Schima)

Replying to cerieljacobs@…:

Does this owner change to 'bfulgham' means that he should do the job? Is there a timeout? Or how can be proceeded in case the owner doesn't respond?

bfulgham is the port maintainer and so is responsible for the change. If he does not respond in 3 days, then someone else can commit the fix.

comment:4 Changed 14 years ago by cerieljacobs@…

There is no response from the maintainer within 4 weeks. Would someone else please commit the fix?

comment:5 Changed 14 years ago by pguyot (Paul Guyot)

Resolution: invalid
Status: newclosed

Part of the patches have been included upstream.

Besides, I do not think we should support adding fancy configure options on the command line such as --enable-darwin-64bit. This is a garbage option from upstream, erlang is properly built for 64bits on 10.6 and probably 10.5 as well with +universal. --enable-darwin-64bit has side effects that are not desirable, such as disabling hipe (our version of erlang has hipe on 64bits).

Note: See TracTickets for help on using tickets.