{"action":"created","issue":{"url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/6","repository_url":"https://api.github.com/repos/iuscommunity-pkg/python27","labels_url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/6/comments","events_url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/6/events","html_url":"https://github.com/iuscommunity-pkg/python27/issues/6","id":233007339,"number":6,"title":"Include freeze.py","user":{"login":"devicenull","id":58017,"avatar_url":"https://avatars2.githubusercontent.com/u/58017?v=3","gravatar_id":"","url":"https://api.github.com/users/devicenull","html_url":"https://github.com/devicenull","followers_url":"https://api.github.com/users/devicenull/followers","following_url":"https://api.github.com/users/devicenull/following{/other_user}","gists_url":"https://api.github.com/users/devicenull/gists{/gist_id}","starred_url":"https://api.github.com/users/devicenull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devicenull/subscriptions","organizations_url":"https://api.github.com/users/devicenull/orgs","repos_url":"https://api.github.com/users/devicenull/repos","events_url":"https://api.github.com/users/devicenull/events{/privacy}","received_events_url":"https://api.github.com/users/devicenull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-01T20:54:24Z","updated_at":"2017-06-08T16:00:23Z","closed_at":null,"body":"CPython has the freeze.py tool: https://github.com/python/cpython/tree/2.7/Tools/freeze\r\n\r\nHowever, this doesn't seem to get included with the python27-tools package, though it is included with python33, python34u, python35u, and python36u.\r\n\r\nHowever, by itself this isn't going to work.  It needs the static library libpython2. 7.a to be build as well.  Looking through the spec file, I see there's a patch that explicitly disables this:\r\nhttps://github.com/iuscommunity-pkg/python27/blob/master/SPECS/python27.spec#L392\r\n\r\nI can't seem to figure out what bug that references (550692 doesn't appear to be at all related in the public RHEL bug tracker, and my searches are only turning up references to spec files."},"comment":{"url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/comments/307148434","html_url":"https://github.com/iuscommunity-pkg/python27/issues/6#issuecomment-307148434","issue_url":"https://api.github.com/repos/iuscommunity-pkg/python27/issues/6","id":307148434,"user":{"login":"carlwgeorge","id":12187228,"avatar_url":"https://avatars1.githubusercontent.com/u/12187228?v=3","gravatar_id":"","url":"https://api.github.com/users/carlwgeorge","html_url":"https://github.com/carlwgeorge","followers_url":"https://api.github.com/users/carlwgeorge/followers","following_url":"https://api.github.com/users/carlwgeorge/following{/other_user}","gists_url":"https://api.github.com/users/carlwgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/carlwgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlwgeorge/subscriptions","organizations_url":"https://api.github.com/users/carlwgeorge/orgs","repos_url":"https://api.github.com/users/carlwgeorge/repos","events_url":"https://api.github.com/users/carlwgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/carlwgeorge/received_events","type":"User","site_admin":false},"created_at":"2017-06-08T16:00:23Z","updated_at":"2017-06-08T16:00:23Z","body":"I can reproduce the same error on Fedora's python3, so it doesn't have anything to do with using `install` versus `altinstall`.\r\n\r\nAlso, I noticed this message in the doc string:\r\n\r\n> The script should not use modules provided only as shared libraries;\r\n> if it does, the resulting binary is not self-contained.\r\n\r\nI'm guessing that is related to the static library files.  So it would seem that with the patch to disable the static libraries, the freeze tool won't work as intended (like you originally pointed out).  Between that, the `/usr/lib -> /usr/lib64` stuff, and other customizations that we inherited from Fedora, I don't think this is something that we will tackle ourselves.  Please report it to Fedora and see if they are interested in fixing it themselves.  My opinion is that they should either fix the freeze tool or remove it from their packages.  If they do fix it, we can import their solution to our packages."}}
{"actor":{"display_login":"carlwgeorge"}}