{"action":"closed","issue":{"url":"https://api.github.com/repos/mxe/mxe/issues/968","labels_url":"https://api.github.com/repos/mxe/mxe/issues/968/labels{/name}","comments_url":"https://api.github.com/repos/mxe/mxe/issues/968/comments","events_url":"https://api.github.com/repos/mxe/mxe/issues/968/events","html_url":"https://github.com/mxe/mxe/issues/968","id":115061706,"number":968,"title":"build-pkg should not create empty packages","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxe/mxe/labels/build-pkg","name":"build-pkg","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-04T14:22:17Z","updated_at":"2015-11-16T02:08:07Z","closed_at":"2015-11-16T02:08:07Z","body":"More than 20% of packages created by build-pkg are empty. Empty package is a package that installs only file `usr/<target>/installed/<package>`.\r\n\r\n```\r\n$ wc -l *.list | egrep '\\s1\\s' | wc -l\r\n328\r\n\r\n$ ls *.list | wc -l\r\n1555\r\n```\r\n\r\nI think build-pkg should omit such packages and report a package depending on an empty package."}}