{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/3159","repository_url":"https://api.github.com/repos/SynoCommunity/spksrc","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/3159/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/3159/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/3159/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/3159","id":298788915,"number":3159,"title":"[bug] python 2.7.14 build patches cross/pyyaml/setup.cfg","user":{"login":"hgy59","id":12009964,"avatar_url":"https://avatars3.githubusercontent.com/u/12009964?v=4","gravatar_id":"","url":"https://api.github.com/users/hgy59","html_url":"https://github.com/hgy59","followers_url":"https://api.github.com/users/hgy59/followers","following_url":"https://api.github.com/users/hgy59/following{/other_user}","gists_url":"https://api.github.com/users/hgy59/gists{/gist_id}","starred_url":"https://api.github.com/users/hgy59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hgy59/subscriptions","organizations_url":"https://api.github.com/users/hgy59/orgs","repos_url":"https://api.github.com/users/hgy59/repos","events_url":"https://api.github.com/users/hgy59/events{/privacy}","received_events_url":"https://api.github.com/users/hgy59/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T23:32:22Z","updated_at":"2018-02-21T06:23:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When building python, the cross/pyyaml/setup.cfg got patched with the arch specific library path in the arch specific staging folder.\r\nThe patch replaces `@STAGING_INSTALL_PREFIX@` in the setup.cfg file.\r\nIf you continue to build python for further archs (e.g. with all-supported), the folloing python spks have all the libraries of the first built arch in the package, since `@STAGING_INSTALL_PREFIX@` does not exist anymore in the setup.cfg file.\r\nI Suppose this is the cause of several python 2.7.14 issues here (#3111, #3109, #3107)\r\n(the library folder contains arch specific *.pc and *.so files).\r\n\r\n@safihre as you introduced the `library_dirs=@STAGING_INSTALL_PREFIX@/lib` in setup.cfg\r\nMaybe a solution would be to copy the setup.cfg to the staging folder to patch it for each arch and use this file...\r\n\r\nAs a workaround until fixed, we have to revert the modified setup.cfg after each build.\r\n"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/367225963","html_url":"https://github.com/SynoCommunity/spksrc/issues/3159#issuecomment-367225963","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/3159","id":367225963,"user":{"login":"Safihre","id":5703454,"avatar_url":"https://avatars3.githubusercontent.com/u/5703454?v=4","gravatar_id":"","url":"https://api.github.com/users/Safihre","html_url":"https://github.com/Safihre","followers_url":"https://api.github.com/users/Safihre/followers","following_url":"https://api.github.com/users/Safihre/following{/other_user}","gists_url":"https://api.github.com/users/Safihre/gists{/gist_id}","starred_url":"https://api.github.com/users/Safihre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Safihre/subscriptions","organizations_url":"https://api.github.com/users/Safihre/orgs","repos_url":"https://api.github.com/users/Safihre/repos","events_url":"https://api.github.com/users/Safihre/events{/privacy}","received_events_url":"https://api.github.com/users/Safihre/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T06:23:21Z","updated_at":"2018-02-21T06:23:21Z","author_association":"CONTRIBUTOR","body":"Damn, you are right and it's stupid.\r\nWill fix this.\r\n@ymartin59 Seems you [only released `88f628x`](https://synocommunity.com/package/python) so that should be fine (weird it's listed twice). Just do a `make clean` before next builds.\r\n"}}
{"actor":{"display_login":"Safihre"}}