
Dear Sean,
The mentioned log file (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_stack/stack/main.log) may contain useful information in debugging the problem, I imagine.
Cheers,
Tom
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, January 9, 2021 12:02 PM, Sean Matthews
It may be that someone has already asked this question, but I am having a problem (= it does not work) installing GHC using macports. Pure vanilla Mac/macports, with a few standard installed packages, but deliberately as few manual interventions as possible.
Does the group have any advice?
Thanks,
Sean Matthews
PS this is what macports says:
r.packages.macports.org/stack
---> Attempting to fetch stack-2.5.1_0.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/stack
---> Building stack
Error: Failed to build stack: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_stack/stack/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port ghc failed
---> Some of the ports you installed have notes:
pinentry-mac has the following notes:
If you previously didn't have pinentry or gpg-agent installed and
pinentry-mac has been installed as a dependency of gpg-agent, you don't
need to do anything to use pinentry-mac.
If you want to switch to the GTK2, ncurses or Qt4 based pinentry program,
please install pinentry with the correct use flags and follow the
instructions below substituting the pinentry-mac program path with
/opt/local/bin/pinentry.
If you previously had pinentry and gpg-agent installed and would like to
switch to pinentry-mac, you will have to set it as your pinentry program in
$HOME/.gnupg/gpg-agent.conf.
Add the following line to the mentioned file:
pinentry-program
/Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac
Be sure to comment previous "pinentry-program" lines, for example:
pinentry-program SAMPLE
becomes
#pinentry-program SAMPLE
Afterwards, run
killall -HUP gpg-agent
or simply log out and back in again.
-- Sean Matthews seanmatthews1@gmail.com / +49 163 803 1396