#66906 closed defect (fixed)
Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_leiningen/leiningen/work/leiningen-2.10.0/bin/lein-pkg": no such file or directory
Reported by: | dbl001 (dbl) | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | marchukov (Anton Marchukov), ryandesign (Ryan Carsten Schmidt) | |
Port: | leiningen |
Description
I'm on MacOS Ventura 13.2 on an 2020 iMac 27"
% sudo port install leiningen ---> Fetching archive for leiningen ---> Attempting to fetch leiningen-2.10.0_0.darwin_22.noarch.tbz2 from https://packages.macports.org/leiningen ---> Attempting to fetch leiningen-2.10.0_0.darwin_22.noarch.tbz2 from http://mirror.fcix.net/macports/packages/leiningen ---> Attempting to fetch leiningen-2.10.0_0.darwin_22.noarch.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/leiningen ---> Building leiningen Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_leiningen/leiningen/work/leiningen-2.10.0/bin/lein-pkg": no such file or directory Error: Failed to build leiningen: reinplace sed(1) failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_leiningen/leiningen/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
lein-pkg is missing?
Change History (6)
comment:1 Changed 22 months ago by jmroot (Joshua Root)
Owner: | set to easye |
---|---|
Status: | new → assigned |
comment:2 Changed 22 months ago by marchukov (Anton Marchukov)
Cc: | marchukov added |
---|
comment:3 Changed 21 months ago by sinistral (Marc Daya)
comment:4 Changed 21 months ago by kencu (Ken)
try adding this to the Portfile, just below the "checksums" line perhaps:
worksrcdir leiningen
there was a change in how MacPorts base works recently and a number of ports need a fix like this now.
comment:5 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
Note: See
TracTickets for help on using
tickets.
It looks (to my - admittedly untrained in the ways of MacPorts - eye) as though
${worksrcpath}
is being either being constructed incorrectly, or the ports files are being unpacked to the wrong location ...reinplace
is trying to modifylein-pkg
in/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_leiningen/leiningen/work/leiningen-2.10.0
when the files appear to be in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_leiningen/leiningen/work/leiningen
(a directory without the version appended)