Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29628 closed defect (fixed)

py-virtualenv @1.6 Fails due to trying to install license.txt

Reported by: remy.blank@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: saispo@…
Port: py-virtualenv

Description

Upgrading py-virtualenv to @1.6 fails with the following error:

xinstall: index.txt -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-virtualenv/work/destroot/opt/local/share/doc/py-virtualenv/index.txt
Error: Target org.macports.destroot returned: xinstall: Cannot stat: license.txt, No such file or directory
Warning: the following items did not execute (for py-virtualenv): org.macports.destroot                          
Log for py-virtualenv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-virtualenv/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

This is due to trying to install license.txt, which doesn't seem to be there anymore. The py25-virtualenv and following ports have been fixed for that, so I assume the following patch should fix the issue:

  • Portfile

    old new  
    2424
    2525post-destroot {
    2626    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    27     xinstall -m 644 -W ${worksrcpath}/docs index.txt license.txt \
     27    xinstall -m 644 -W ${worksrcpath}/docs index.txt \
    2828        ${destroot}${prefix}/share/doc/${name}
    2929
    3030    move ${destroot}${prefix}/bin/virtualenv \

Change History (3)

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

Cc: saispo@… added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Thanks. Fixed in r79002.

comment:3 Changed 13 years ago by remy.blank@…

Wow, that was quick. Thanks!

Note: See TracTickets for help on using tickets.