{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/427","repository_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues","labels_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/427/comments","events_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/427/events","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/427","id":103807190,"number":427,"title":"Strange error on 32 bit install","user":{"login":"iLoveTux","id":2762492,"avatar_url":"https://avatars0.githubusercontent.com/u/2762492?v=3","gravatar_id":"","url":"https://api.github.com/users/iLoveTux","html_url":"https://github.com/iLoveTux","followers_url":"https://api.github.com/users/iLoveTux/followers","following_url":"https://api.github.com/users/iLoveTux/following{/other_user}","gists_url":"https://api.github.com/users/iLoveTux/gists{/gist_id}","starred_url":"https://api.github.com/users/iLoveTux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iLoveTux/subscriptions","organizations_url":"https://api.github.com/users/iLoveTux/orgs","repos_url":"https://api.github.com/users/iLoveTux/repos","events_url":"https://api.github.com/users/iLoveTux/events{/privacy}","received_events_url":"https://api.github.com/users/iLoveTux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-08-28T22:40:35Z","updated_at":"2017-05-20T05:41:59Z","closed_at":null,"body":"I don't know if this issue is caused by my use of a legacy platform (Fedora 14), and there are similar issues on RedHat's bug tracker, but the platform being unsupported...\n\nJust to be clear, I have successfully worked around this issue, so definitely no rush, I really just wanted to put this here for the next guy.\n\nSo the issue:\n\nI am using Fedora 14 because of an issue (I use that term loosely) with pyinstaller. Because pyinstaller doesn't bundle glibc with the resulting executable, and because glibc is backwards compatible but not forwards compatible, pyinstaller [recomends](https://github.com/pyinstaller/pyinstaller/wiki/FAQ#misc) (see #3) using the oldest system you have around. We chose Fedora 14.\n\nso, basically the problem goes like this:\n1. install anaconda with non-root user on Fedora 14 32 bit (not sure about 64 bit I will update here once I try that later on today)\n2. try to run `~/anaconda/bin/python setup.py install` in  a package's directory\n3. you will receive an error like so:\n\n```\nFrom \"setup.py\", Line 2, in <module>\n    from setuptools import setup\n...\nImportError: /home/user/anaconda/lib/python2.7/lib-dynload/_ctypes.so: cannot enable executable stack as shared object requires: Permission denied\n```\n\nNow, most Operating Systems disable executable stacks by default, and most (if not all) programs, libraries and applications don't actually need an executable stack, so my \"workaround\" is to simply remove the execstack requirement by issuing the following command:\n\n```\n$ execstack -c /home/user/anaconda/lib/python2.7/lib-dynload/_ctypes.so\n```\n\nI'm not sure why this issue isn't presenting itself on my newer systems, but I was able to fix it relatively easily.\n\n**EDIT**\n\nI just confirmed that this issue is not present on 64 bit version of Fedora 14. This leads me to believe that this is an issue with the 32 bit installer. I renamed the issue to reflect this. I think that it may not be the legacy system, but I was led to believe this because most 32 bit systems now-a-days are legacy.\n\nAnyway, like I said we have worked around this issue, but there does seem to be a problem with the 32 bit Anaconda installer as it seems to mark `_ctypes.so` as needing an executable stack.\n"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/comments/302852660","html_url":"https://github.com/ContinuumIO/anaconda-issues/issues/427#issuecomment-302852660","issue_url":"https://api.github.com/repos/ContinuumIO/anaconda-issues/issues/427","id":302852660,"user":{"login":"nehaljwani","id":1779189,"avatar_url":"https://avatars3.githubusercontent.com/u/1779189?v=3","gravatar_id":"","url":"https://api.github.com/users/nehaljwani","html_url":"https://github.com/nehaljwani","followers_url":"https://api.github.com/users/nehaljwani/followers","following_url":"https://api.github.com/users/nehaljwani/following{/other_user}","gists_url":"https://api.github.com/users/nehaljwani/gists{/gist_id}","starred_url":"https://api.github.com/users/nehaljwani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nehaljwani/subscriptions","organizations_url":"https://api.github.com/users/nehaljwani/orgs","repos_url":"https://api.github.com/users/nehaljwani/repos","events_url":"https://api.github.com/users/nehaljwani/events{/privacy}","received_events_url":"https://api.github.com/users/nehaljwani/received_events","type":"User","site_admin":false},"created_at":"2017-05-20T05:41:59Z","updated_at":"2017-05-20T05:41:59Z","body":"I can confirm that this issue still persists.\r\n```bash\r\n(root) [nwani@zorin ~]$ conda list python\r\n# packages in environment at /home/nwani/m2:\r\n#\r\npython                    2.7.13                        0\r\n(root) [nwani@zorin ~]$ execstack -q /home/nwani/m2/lib/python2.7/lib-dynload/_ctypes.so\r\nX /home/nwani/m2/lib/python2.7/lib-dynload/_ctypes.so\r\n```"}}
{"actor":{"display_login":"nehaljwani"}}