Opened 2 years ago

Last modified 21 months ago

#65156 assigned defect

stack (and all of ghc) don't work on SnowLeopard, including when trying to build alex for example

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: x86_64, snowleopard Cc:
Port: alex, ghc, stack

Description

:notice:configure --->  Configuring alex
:debug:configure Preferred compilers: gcc-4.2 llvm-gcc-4.2 clang gcc-4.0 macports-gcc-11 macports-gcc-10 macports-gcc-9 macports-gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'Xcode GCC 4.2'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure system -W /opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.2.6: env STACK_ROOT=/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.stack  STACK_YAML=/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.2.6/stack.yaml /opt/x86_64/bin/stack init --with-gcc /usr/bin/gcc-4.2  --allow-different-user  
:info:configure Command failed: env STACK_ROOT=/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.stack  STACK_YAML=/opt/x86_64/var/macports/build/_opt_x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.2.6/stack.yaml /opt/x86_64/bin/stack init --with-gcc /usr/bin/gcc-4.2  --allow-different-user  
:info:configure Killed by signal: 11
:error:configure Failed to configure alex: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: command execution failed

Attachments (2)

main.log (100.4 KB) - added by barracuda156 2 years ago.
ghc_build_process_and_stuff_10.6.zip (549.4 KB) - added by kencu (Ken) 21 months ago.
bits used to build ghc on 10.6

Download all attachments as: .zip

Change History (10)

Changed 2 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 2 years ago by kencu (Ken)

Port: ghc stack added
Summary: alex fails to configure on 10.6.8stack (and all of ghc) don't work on SnowLeopard, including when trying to build alex for example

comment:2 Changed 2 years ago by kencu (Ken)

So somebody might someday take on the project of leveraging my ghc-for-older-systems repository to allow stack and ghc to work again on SnowLeopard, or perhaps some other method of making it work that doesn't involve my ghc for SnowLeopard builds might be found.

But for now, and probably forever, ghc / stack / cabal do not work on SnowLeopard on MacPorts.

They can work manually when installed from my repos, with "some assembly required", if you really want pandoc, or some similar ghc-only port, on SnowLeopard.

comment:3 in reply to:  2 Changed 21 months ago by barracuda156

Replying to kencu:

So somebody might someday take on the project of leveraging my ghc-for-older-systems repository to allow stack and ghc to work again on SnowLeopard, or perhaps some other method of making it work that doesn't involve my ghc for SnowLeopard builds might be found. But for now, and probably forever, ghc / stack / cabal do not work on SnowLeopard on MacPorts. They can work manually when installed from my repos, with "some assembly required", if you really want pandoc, or some similar ghc-only port, on SnowLeopard.

If you could find your patches to source code, I will try making it work in Macports on SL Intel (because I need that fixed for Intel to begin with, in order to fix PPC).

comment:4 Changed 21 months ago by barracuda156

Owner: set to kencu
Status: newassigned

comment:5 Changed 21 months ago by kencu (Ken)

Owner: kencu deleted

comment:6 Changed 21 months ago by kencu (Ken)

I'll dig up the patches I used, for you to play with.

Changed 21 months ago by kencu (Ken)

bits used to build ghc on 10.6

comment:7 Changed 21 months ago by kencu (Ken)

there you go. That, and the prebuilt tools you can download from my github

https://github.com/kencu/ghc-for-older-darwin-systems

will get you going (after a suitable investment of time learning how ghc builds).

comment:8 in reply to:  7 Changed 21 months ago by barracuda156

Replying to kencu:

there you go. That, and the prebuilt tools you can download from my github

https://github.com/kencu/ghc-for-older-darwin-systems

will get you going (after a suitable investment of time learning how ghc builds).

Thank you very much! Greatly appreciated.

Note: See TracTickets for help on using tickets.