Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413961

Summary: dev-lang/erlang-15.2 fails to build on Mac OS X 10.6.8
Product: Gentoo/Alt Reporter: Jan Rieger <jan+gentoo>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
emerge --info =dev-lang/erlang-15.2
erlang-15.2.patch

Description Jan Rieger 2012-04-29 08:30:23 UTC
dev-lang/erlang-15.2 fails to build on Mac OS X 10.6.8 (Snow Leopard) because of missing configure flag "--enable-darwin-64bit"

Reproducible: Always

Steps to Reproduce:
1. emerge dev-lang/erlang
Actual Results:  
configure fails

Expected Results:  
dev-lang/erlang should be built and installed
Comment 1 Jan Rieger 2012-04-29 08:31:22 UTC
Created attachment 310393 [details]
config.log
Comment 2 Jan Rieger 2012-04-29 08:31:51 UTC
Created attachment 310395 [details]
emerge --info =dev-lang/erlang-15.2
Comment 3 Jan Rieger 2012-04-29 08:33:25 UTC
Created attachment 310397 [details, diff]
erlang-15.2.patch

Patch to build and install dev-lang/erlang-15.2 on Mac OS X 10.6.8
Comment 4 Fabian Groffen gentoo-dev 2012-04-29 09:35:06 UTC
Darwin-10.8.0-i386-64bit, isn't that Snow Lion?  Wouldn't it make more sense to use the Lion profile instead?  Even more sense to add a Snow Lion profile to make your CHOST fit?
Comment 5 Fabian Groffen gentoo-dev 2012-04-29 09:45:36 UTC

*** This bug has been marked as a duplicate of bug 334155 ***
Comment 6 Fabian Groffen gentoo-dev 2012-04-29 09:52:29 UTC
(In reply to comment #3)
> Created attachment 310397 [details, diff] [details, diff]
> erlang-15.2.patch
> 
> Patch to build and install dev-lang/erlang-15.2 on Mac OS X 10.6.8

The second hunk (replacing D with ED) is wrong, since we still want the offset in the paths, just strip $D.

I took your configure call change, thanks.
Comment 7 Jan Rieger 2012-04-29 19:28:22 UTC
(In reply to comment #4)
> Darwin-10.8.0-i386-64bit, isn't that Snow Lion?  Wouldn't it make more sense
> to use the Lion profile instead?  Even more sense to add a Snow Lion profile
> to make your CHOST fit?

No, that's Snow Leopard, so it should be the right profile.

(In reply to comment #6)
> (In reply to comment #3)
> The second hunk (replacing D with ED) is wrong, since we still want the
> offset in the paths, just strip $D.

This change was made by ecopy.

> I took your configure call change, thanks.

Thanks for fixing :)