{"action":"created","issue":{"url":"https://api.github.com/repos/plexinc/plex-media-player/issues/256","repository_url":"https://api.github.com/repos/plexinc/plex-media-player","labels_url":"https://api.github.com/repos/plexinc/plex-media-player/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/plexinc/plex-media-player/issues/256/comments","events_url":"https://api.github.com/repos/plexinc/plex-media-player/issues/256/events","html_url":"https://github.com/plexinc/plex-media-player/issues/256","id":139089254,"number":256,"title":"QT5_CFLAGS missing -fPIC on Ubuntu Linux","user":{"login":"mdesdin","id":17485317,"avatar_url":"https://avatars.githubusercontent.com/u/17485317?v=3","gravatar_id":"","url":"https://api.github.com/users/mdesdin","html_url":"https://github.com/mdesdin","followers_url":"https://api.github.com/users/mdesdin/followers","following_url":"https://api.github.com/users/mdesdin/following{/other_user}","gists_url":"https://api.github.com/users/mdesdin/gists{/gist_id}","starred_url":"https://api.github.com/users/mdesdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdesdin/subscriptions","organizations_url":"https://api.github.com/users/mdesdin/orgs","repos_url":"https://api.github.com/users/mdesdin/repos","events_url":"https://api.github.com/users/mdesdin/events{/privacy}","received_events_url":"https://api.github.com/users/mdesdin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-07T20:44:49Z","updated_at":"2016-03-07T21:05:12Z","closed_at":null,"body":"The errors displayed are like this one:\r\n`In file included from /opt/Qt5.6.0/5.6/gcc_64/include/QtCore/qsharedpointer.h:37:0,\r\n                 from /opt/Qt5.6.0/5.6/gcc_64/include/QtCore/QSharedPointer:1,\r\n                 from ../external/qslog/QsLogDest.h:30,\r\n                 from ../external/qslog/QsLogDestFunctor.h:30,\r\n                 from ../external/qslog/QsLogDestFunctor.cpp:27:\r\n/opt/Qt5.6.0/5.6/gcc_64/include/QtCore/qglobal.h:1090:4: error: #error \"You must build your code with position independent code if Qt was built with -reduce-relocations. \" \"Compile your code with -fPIC (-fPIE is not enough).\"\r\n #  error \"You must build your code with position independent code if Qt was built with -reduce-relocations. \"\\\r\n    ^\r\n`\r\n\r\nHappening with master on Ubuntu 14.04 Server and Ubuntu 15.10 Desktop when using final qt-opensource-linux-x64-5.6.0_360.run installer.\r\n\r\nAs a temporary solution I am appending -fPIC to QT5_CFLAGS manually inside the COMP ${components} foreach loop for it to compile."},"comment":{"url":"https://api.github.com/repos/plexinc/plex-media-player/issues/comments/193447826","html_url":"https://github.com/plexinc/plex-media-player/issues/256#issuecomment-193447826","issue_url":"https://api.github.com/repos/plexinc/plex-media-player/issues/256","id":193447826,"user":{"login":"mdesdin","id":17485317,"avatar_url":"https://avatars.githubusercontent.com/u/17485317?v=3","gravatar_id":"","url":"https://api.github.com/users/mdesdin","html_url":"https://github.com/mdesdin","followers_url":"https://api.github.com/users/mdesdin/followers","following_url":"https://api.github.com/users/mdesdin/following{/other_user}","gists_url":"https://api.github.com/users/mdesdin/gists{/gist_id}","starred_url":"https://api.github.com/users/mdesdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdesdin/subscriptions","organizations_url":"https://api.github.com/users/mdesdin/orgs","repos_url":"https://api.github.com/users/mdesdin/repos","events_url":"https://api.github.com/users/mdesdin/events{/privacy}","received_events_url":"https://api.github.com/users/mdesdin/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T21:05:12Z","updated_at":"2016-03-07T21:05:12Z","body":"yup, those I found, heading there now... thanks!"}}