Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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)

Strange.

I Installed certbot within the last week, w/o any such issues. I'll look into it!

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.

Last edited 5 years ago by Schamschula (Marius Schamschula) (previous) (diff)

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.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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 (but that's of course not the real solution to the issue)

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 5 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 0d98999baa3cae85ca4af50494af0d0cd16fe417/macports-ports (master):

py-acme, certbot: workaround for broken worksrcpath

Closes: #59525

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.

comment:11 Changed 5 years ago by Schamschula (Marius Schamschula)

In c87dbf5140828ee196b10da2267e673547d789f1/macports-ports (master):

py-acme, certbot: undo python PG workaround

See: #59525

comment:12 Changed 5 years ago by smwardle

Thanks.

Note: See TracTickets for help on using tickets.