#59525 closed defect (fixed)
py37-acme fails to build
Reported by: | danielluke (Daniel J. Luke) | Owned by: | mps@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py37-acme |
Description
py37-acme extracts to something like $prefix/var/macports/build/_macports_is_cool-ports_python_py-acme/py37-acme/work/certbot-certbot-445b15e/acme ... but the Portfile sets worksrcdir to certbot-${version}/${real_name}
(presumably upstream changed how they generate their tarballs).
Change History (12)
comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)
comment:2 Changed 5 years ago by Schamschula (Marius Schamschula)
P.S.: That was from a local distfile.
comment:3 Changed 5 years ago by Schamschula (Marius Schamschula)
I have replicated the issue. This will also affect certbot, as it uses the same distfile.
comment:4 Changed 5 years ago by Schamschula (Marius Schamschula)
What I don't understand is why the checksums don't fail. Is this something similar to what happened to the octave PortGroup?
The answer is yes! I copied the certbot distfile (downloaded when certbot 0.39.0 was released) to the py-acme directory. I get the same error.
See: #59111
This is a problem with MacPorts 2.6.x.
I'll come up with a workaround.
comment:5 Changed 5 years ago by reneeotten (Renee Otten)
I think the problem here is due to a recent change to the Python PG. If you change the order of including the Python and github PG it works again.
comment:6 Changed 5 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 5 years ago by reneeotten (Renee Otten)
Marius: this will not work anymore if the decision is to revert the changes to the python PG. I think we should decide soon-ish on what to do with that commit before others start adding workarounds for what you observed here. I would like someone else to take a look though before I undo commits from Joshua...
comment:8 Changed 5 years ago by Schamschula (Marius Schamschula)
I'm all for fixing this issue centrally in the PG. I did that for the octave PG nearly three weeks ago.
comment:9 Changed 5 years ago by smwardle
Not installing here (macOS 10.15.1)
---> Attempting to fetch py37-acme-0.39.0_0.darwin_19.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py37-acme ---> Fetching distfiles for py37-acme ---> Verifying checksums for py37-acme ---> Extracting py37-acme Error: Failed to extract py37-acme: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-acme/py37-acme/work/*"
comment:10 Changed 5 years ago by Schamschula (Marius Schamschula)
I think the PortGroup has been updated. I'll need to revert this commit.
Strange.
I Installed certbot within the last week, w/o any such issues. I'll look into it!