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)

main.log (85.7 KB) - added by EJFielding (Eric Fielding) 8 years ago.
main log

Download all attachments as: .zip

Change History (16)

Changed 8 years ago by EJFielding (Eric Fielding)

Attachment: main.log added

main log

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to jmroot
Status: newassigned

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 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 in reply to:  5 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: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:11 Changed 8 years ago by jmroot (Joshua Root)

In 7a0dc02/macports-ports:

py-py2app: work around py34 destroot failure

See: #53429

comment:12 in reply to:  5 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:13 Changed 8 years ago by jmroot (Joshua Root)

In 949b3047/macports-ports:

py-py2app: work around py34 destroot failure

See: #53429

comment:14 Changed 8 years ago by mkae (Marko Käning)

See also #53519!

comment:15 Changed 8 years ago by jmroot (Joshua Root)

Port: py-setuptools added; py34-py2app removed
Resolution: fixed
Status: assignedclosed
Summary: py34-py2app @0.11 destroot failurepy-setuptools: graft fails with nonexistent directories on python3.4

Seems to be resolved with setuptools 34.1.1, please reopen if not.

Note: See TracTickets for help on using tickets.