Opened 8 years ago
Closed 8 years ago
#53429 closed defect (fixed)
py-setuptools: graft fails with nonexistent directories on python3.4
Reported by: | EJFielding (Eric Fielding) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.0 |
Keywords: | Cc: | skymoo (Adam Mercer), aque (Allan Que), hapaguy (Brian Kurt Fujikawa), basmac | |
Port: | py-setuptools |
Description
The new version 0.11 of py-py2app (my Python version is py34-py2app, but I assume this is not Python version specific) builds, but fails at the activation step due to a missing file:
:info:destroot reading manifest template 'MANIFEST.in' :info:destroot error: [Errno 2] No such file or directory: 'doc/_static'
I attach the full log.
By the way, I tried to complete my "port upgrade outdated" by skipping this port, but I can't figure out how to get it to be skipped. I tried "sudo port upgrade outdated and not iTerm2 and not py-py2app" and "sudo port upgrade outdated and not iTerm2 and not py34-py2app" and MacPorts 2.4.0 tries again to install it (I did a "port clean" also).
Attachments (1)
Change History (16)
Changed 8 years ago by EJFielding (Eric Fielding)
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to jmroot |
---|---|
Status: | new → assigned |
comment:2 Changed 8 years ago by jmroot (Joshua Root)
Port: | py-py2app removed |
---|---|
Summary: | py-py2app 0.11 missing file → py34-py2app @0.11 destroot failure |
Seems to really just be py34:
- https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19727 (27)
- https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19725 (33)
- https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19724 (34)
- https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19726 (35)
- https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/19729 (36)
comment:3 Changed 8 years ago by skymoo (Adam Mercer)
Cc: | skymoo added |
---|
comment:4 Changed 8 years ago by aque (Allan Que)
Cc: | aque added |
---|
comment:5 follow-ups: 7 12 Changed 8 years ago by detlevd (Detlev Droege)
I'm experiencing the same problem, but found a workaround. After the upgrade aborted, just go to the build directory of py34-py2app and add the two directories missing:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-py2app/py34-py2app/work/py2app-0.11 sudo mkdir doc/_static doc/_templates
and then start the upgrade again. Worked on both of my machines.
comment:6 Changed 8 years ago by hapaguy (Brian Kurt Fujikawa)
Cc: | hapaguy added |
---|
comment:7 Changed 8 years ago by EJFielding (Eric Fielding)
Thanks! This workaround worked for me also.
Replying to detlevd:
I'm experiencing the same problem, but found a workaround.
comment:8 Changed 8 years ago by jmroot (Joshua Root)
comment:9 Changed 8 years ago by basmac
Cc: | basmac added |
---|
comment:10 Changed 8 years ago by basmac
The above mkdir workaround, fixed the upgrade for me, thanks
comment:12 Changed 8 years ago by mkae (Marko Käning)
Replying to detlevd: Only after changing ownership of those two dirs:
sudo chown macports doc/_static doc/_templates
it worked for me.
comment:15 Changed 8 years ago by jmroot (Joshua Root)
Port: | py-setuptools added; py34-py2app removed |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Summary: | py34-py2app @0.11 destroot failure → py-setuptools: graft fails with nonexistent directories on python3.4 |
Seems to be resolved with setuptools 34.1.1, please reopen if not.
main log