Opened 11 years ago
Closed 10 years ago
#40085 closed update (fixed)
py27-rpy2 segfault; fixed by new version
Reported by: | jdswinbank (John Swinbank) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | haspatch | Cc: | petrrr, kurthindenburg (Kurt Hindenburg) |
Port: | py-rpy2 |
Description
The (rather old) version 2.2.1 of rpy2 shipped by Macports segfaults on import:
$ python Python 2.7.5 (default, Aug 1 2013, 01:01:17) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import rpy2.rinterface Segmentation fault: 11
See attached for details.
The current upstream version 2.3.6 does not have this problem. I attach an updated Portfile which bumps the version to 2.3.6.
Attachments (3)
Change History (11)
Changed 11 years ago by jdswinbank (John Swinbank)
Attachment: | rpy2_segfault.log added |
---|
Changed 11 years ago by jdswinbank (John Swinbank)
Portfile for rpy2 version 2.3.6
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Port: | py-rpy2 added; py-rpy removed |
---|---|
Type: | defect → update |
Per the guidelines, please instead attach unified diff of the Portfile.
Changed 11 years ago by jdswinbank (John Swinbank)
Attachment: | Portfile-py-rpy2.diff added |
---|
comment:2 Changed 11 years ago by buchere@…
alternatively: port install py27-pip
and then installing the latest version of rpy2 (2.3.8) by: pip-2.7 install rpy2
here the bug track from rpy2 why the segmentation error whit R verion 3.0.2 happens: https://bitbucket.org/lgautier/rpy2/issue/150/rpy2-crashes-upon-import-with-r-302
best, bue
comment:5 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|
comment:8 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)
Resolution: | → fixed |
---|---|
Status: | new → closed |
The latest version in macports is 2.5.1 and it works for me.
can you update and re-open if you still have issues.
Log of rpy2 segfault