Opened 9 years ago

Closed 9 years ago

#48867 closed defect (fixed)

py-mayavi: Cannot install with vtk 6.3.0

Reported by: enrico.piccinini@… Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc: g-raffy, ryandesign (Ryan Carsten Schmidt)
Port: py-mayavi

Description

After upgrading vtk to version 6.3, installation of py27-mayavi fails at build stage, pls see log attached (I am using the qt4 variant). Platform OS X 10.10.5 with Xcode 6.1 installed. Besides that, upgrade became necessary because the previous version opened with an exception error and some modules (e.g., scalar cut plane) did not work properly any longer, after moving to vtk6 from vtk5 (probably a bug in visualization toolkit?).

Attachments (3)

main.log (5.6 KB) - added by enrico.piccinini@… 9 years ago.
py-mayavi_Portfile.diff (1008 bytes) - added by jjstickel (Jonathan Stickel) 9 years ago.
mayaviPR-247.diff (3.8 KB) - added by jjstickel (Jonathan Stickel) 9 years ago.

Download all attachments as: .zip

Change History (12)

Changed 9 years ago by enrico.piccinini@…

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: jjstickel@… openmaintainer@… removed
Owner: changed from macports-tickets@… to jjstickel@…

Please do not Cc openmaintainer@… because it is not a valid email address.

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: py-mayavi_Portfile.diff added

Changed 9 years ago by jjstickel (Jonathan Stickel)

Attachment: mayaviPR-247.diff added

comment:2 Changed 9 years ago by jjstickel (Jonathan Stickel)

The attached patches solve the issue. From: https://github.com/enthought/mayavi/pull/247.

comment:3 Changed 9 years ago by enrico.piccinini@…

Thanks. Now, trying to apply patches, I get the following checksum error for py27-mayavi

--->  Verifying checksums for py27-mayavi
Error: No checksum set for mayaviPR-247.diff
Error: No checksum set for mayavi-4.4.3.tar.gz
Error: org.macports.checksum for port py27-mayavi returned: Unable to verify file checksums
Error: Failed to install py27-mayavi

comment:4 in reply to:  3 Changed 9 years ago by jjstickel (Jonathan Stickel)

Replying to enrico.piccinini@…:

Thanks. Now, trying to apply patches, I get the following checksum error for py27-mayavi

--->  Verifying checksums for py27-mayavi
Error: No checksum set for mayaviPR-247.diff
Error: No checksum set for mayavi-4.4.3.tar.gz
Error: org.macports.checksum for port py27-mayavi returned: Unable to verify file checksums
Error: Failed to install py27-mayavi

I'm not sure what you did to get these errors. You need to setup a local ports tree (see https://guide.macports.org/#development.local-repositories). Copy over the py-mayavi Portfile (with directory structure), apply the portfile patch (py-mayavi_Portfile.diff), and then put mayaviPR-247.diff in a "files" subfolder. Or just wait until developers commit these changes, but that could take awhile (a couple days to a couple months).

Last edited 9 years ago by jjstickel (Jonathan Stickel) (previous) (diff)

comment:5 Changed 9 years ago by enrico.piccinini@…

Problem fixed and port installed.

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

#48879 is a duplicate of this ticket.

Developers: please commit the patches provided here. You may also wish to add py-mayavi to the title. Thanks.

comment:7 Changed 9 years ago by mf2k (Frank Schima)

Cc: guillaume.raffy.work@… added
Summary: Cannot install with vtk 6.3.0py-mayavi: Cannot install with vtk 6.3.0

Cc reporter of duplicate #48879.

Last edited 9 years ago by mf2k (Frank Schima) (previous) (diff)

comment:8 Changed 9 years ago by jjstickel (Jonathan Stickel)

#49456 is a duplicate.

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

Cc: ryandesign@… added
Keywords: haspatch added
Resolution: fixed
Status: newclosed

Thanks. Committed in r141705.

Note: See TracTickets for help on using tickets.