Opened 6 years ago

Closed 6 years ago

#57932 closed defect (fixed)

py-mayavi @4.6.2: failure to patch

Reported by: andreavicere Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: py-mayavi

Description

The installation of py-mayavi fails reporting inability to patch __init__.py

[~] % sudo port clean py-mayavi
--->  Cleaning py-mayavi
[~] % sudo port install py-mayavi
--->  Computing dependencies for py-mayavi
--->  Fetching archive for py-mayavi
--->  Attempting to fetch py-mayavi-4.6.2_0.darwin_18.noarch.tbz2 from http://fco.it.packages.macports.org/mirrors/macports-packages/py-mayavi
--->  Attempting to fetch py-mayavi-4.6.2_0.darwin_18.noarch.tbz2 from http://lil.fr.packages.macports.org/py-mayavi
--->  Attempting to fetch py-mayavi-4.6.2_0.darwin_18.noarch.tbz2 from http://nue.de.packages.macports.org/py-mayavi
--->  Fetching distfiles for py-mayavi
--->  Verifying checksums for py-mayavi
--->  Extracting py-mayavi
Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-mayavi/py-mayavi/work/mayavi-4.6.2/mayavi/__init__.py": no such file or directory
Error: Failed to patch py-mayavi: reinplace sed(1) failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-mayavi/py-mayavi/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py-mayavi failed

I should mention that subportpy37-mayavi installs fine, instead. So I am unsure if this is a relevant issue or not.

Change History (3)

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

Cc: jjstickel@… removed
Owner: set to jjstickel
Priority: LowNormal
Status: newassigned

comment:2 Changed 6 years ago by mf2k (Frank Schima)

While this is a minor bug in the Portfile, there is absolutely no need to install the wrapper port py-mayavi.

comment:3 Changed 6 years ago by jjstickel (Jonathan Stickel)

Resolution: fixed
Status: assignedclosed

In 6fc19c565f5cf7721ccb4ae36eb2e6f0134881c6/macports-ports (master):

py-mayavi: fix patch location

  • move a post-patch block to be within subport block
  • add default subport version

Closes: #57932

Note: See TracTickets for help on using tickets.