[MacPorts] #66690: ghc-prebuilt @9.4.4_0: configure fails with "sh: ./configure: No such file or directory"
MacPorts
noreply at macports.org
Fri Feb 3 11:09:25 UTC 2023
#66690: ghc-prebuilt @9.4.4_0: configure fails with "sh: ./configure: No such file
or directory"
---------------------------+-----------------------
Reporter: larryv | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.99
Resolution: | Keywords:
Port: ghc-prebuilt |
---------------------------+-----------------------
Comment (by essandess):
I see the same issue with MacPorts 2.8.1 on both {{{arm64}}} and
{{{x86_64}}}.
The problem with the latest MacPorts version is that the {{{worksrcpath}}}
specified by the Portfile is created as an actual directory, not a symlink
to the untamed source contents created by the {{{extract}}} phase. This
will be a problem with any port that specifies {{{worksrcpath}}}—I cannot
recall why I did this for {{{cabal}}} but I believe that there was a good
reason. See below.
This looks like a MacPorts bug to me. I'll issue a ticket.
How to observe the issue. The directory {{{cabal-install-3.8.1.0}}} should
be a symlink to {{{cabal-Cabal-v3.8.1.0}}}.
{{{
sudo port -sd patch cabal
# process hangs
^C
ls -l
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_cabal/cabal/work/
total 0
drwxr-xr-x 53 macports wheel 1696 Feb 3 05:44 cabal-Cabal-v3.8.1.0/
drwxr-xr-x 2 macports wheel 64 Feb 3 05:44 cabal-install-3.8.1.0/
}}}
https://github.com/macports/macports-
ports/blob/b9c71b3bf2561a10fd6e0b64ca31859944a6e6f5/lang/cabal/Portfile#L99
{{{
worksrcdir ${name}-install-${version}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66690#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list