{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/766","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/766/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/766/events","html_url":"https://github.com/arvidn/libtorrent/issues/766","id":157339008,"number":766,"title":"Fails to build with python-dbg on linux","user":{"login":"sledgehammer999","id":273315,"avatar_url":"https://avatars.githubusercontent.com/u/273315?v=3","gravatar_id":"","url":"https://api.github.com/users/sledgehammer999","html_url":"https://github.com/sledgehammer999","followers_url":"https://api.github.com/users/sledgehammer999/followers","following_url":"https://api.github.com/users/sledgehammer999/following{/other_user}","gists_url":"https://api.github.com/users/sledgehammer999/gists{/gist_id}","starred_url":"https://api.github.com/users/sledgehammer999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sledgehammer999/subscriptions","organizations_url":"https://api.github.com/users/sledgehammer999/orgs","repos_url":"https://api.github.com/users/sledgehammer999/repos","events_url":"https://api.github.com/users/sledgehammer999/events{/privacy}","received_events_url":"https://api.github.com/users/sledgehammer999/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-28T13:31:07Z","updated_at":"2016-06-02T15:00:30Z","closed_at":null,"body":"I am trying to make a deb package for 1.0.9 to use on qbittorrent's ppa but I have found out it errors out. I narrowed it down to this command:\r\n\r\n```\r\n./configure PYTHON=/usr/bin/python2.7-dbg --enable-python-binding --with-boost-python=boost_python-py27\r\n```\r\n\r\nIt fails with:\r\n>checking for the distutils Python package... no\r\nconfigure: error: cannot import Python module \"distutils\"\r\n\r\nHowever, I have been able to build 1.0.7. (1.0.8 fails too).\r\n\r\nAny ideas on what to do?\r\nPS: You need to install package `python-dbg` to have access to python27-dbg.\r\nPS2: Using the non-dbg python binary it works. It doesn't complain about distutils."},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/223318938","html_url":"https://github.com/arvidn/libtorrent/issues/766#issuecomment-223318938","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/766","id":223318938,"user":{"login":"voyageur","id":66920,"avatar_url":"https://avatars.githubusercontent.com/u/66920?v=3","gravatar_id":"","url":"https://api.github.com/users/voyageur","html_url":"https://github.com/voyageur","followers_url":"https://api.github.com/users/voyageur/followers","following_url":"https://api.github.com/users/voyageur/following{/other_user}","gists_url":"https://api.github.com/users/voyageur/gists{/gist_id}","starred_url":"https://api.github.com/users/voyageur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voyageur/subscriptions","organizations_url":"https://api.github.com/users/voyageur/orgs","repos_url":"https://api.github.com/users/voyageur/repos","events_url":"https://api.github.com/users/voyageur/events{/privacy}","received_events_url":"https://api.github.com/users/voyageur/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T15:00:30Z","updated_at":"2016-06-02T15:00:30Z","body":"So this is probably caused by [this change](https://github.com/arvidn/libtorrent/commit/2092e30852253082512974d941f74e8113efd390#diff-808824a21167bd07857fe4cc03527a84L136). As there is some output from the command, the configure script considers there was an error.\r\n\r\nIf 3.x versions do not have this , this verbose output has robably been fixed then in Debian, but not for 2.7...\r\n\r\nI think reverting this line should be enough to fix your case and still support new library suffix."}}
{"actor":{"display_login":"voyageur"}}