I see that my build environment does not include some of these variables (CC,
CFLAGS, LDFLAGS, etc.). It sets:
> :debug:build Environment:
> :debug:build CC_PRINT_OPTIONS='YES'
> :debug:build
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_ports_lang_ghc/ghc/work/.CC_PRINT_OPTI
I have successfully self-bootstrapped ghc 9.4.2 by hand.
I now believe that the build failures are caused by some default MacPorts
setting.
Is someone able to suggest a Portfile setting that can recreate this successful
build? I set (by hand) these basic MacPorts environment variables:
> expor
Steve, some thoughts, as I helped you fix issue this last time.
> Also, I’m perplexed with this doesn’t just work with the default MacPorts
> compiler.cpath and compiler.library_path settings.
It seems this prebuilt bootstrap library you are using:
> /opt/local/var/macports/build/_opt_local_po