{"action":"opened","issue":{"url":"https://api.github.com/repos/delphix/linux-pkg/issues/3","repository_url":"https://api.github.com/repos/delphix/linux-pkg","labels_url":"https://api.github.com/repos/delphix/linux-pkg/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/delphix/linux-pkg/issues/3/comments","events_url":"https://api.github.com/repos/delphix/linux-pkg/issues/3/events","html_url":"https://github.com/delphix/linux-pkg/issues/3","id":388375907,"node_id":"MDU6SXNzdWUzODgzNzU5MDc=","number":3,"title":"Building on Ubuntu 18.10 bootstrap VM fails because \"deb-src\" repositories aren't enabled","user":{"login":"prakashsurya","id":658081,"node_id":"MDQ6VXNlcjY1ODA4MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/658081?v=4","gravatar_id":"","url":"https://api.github.com/users/prakashsurya","html_url":"https://github.com/prakashsurya","followers_url":"https://api.github.com/users/prakashsurya/followers","following_url":"https://api.github.com/users/prakashsurya/following{/other_user}","gists_url":"https://api.github.com/users/prakashsurya/gists{/gist_id}","starred_url":"https://api.github.com/users/prakashsurya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prakashsurya/subscriptions","organizations_url":"https://api.github.com/users/prakashsurya/orgs","repos_url":"https://api.github.com/users/prakashsurya/repos","events_url":"https://api.github.com/users/prakashsurya/events{/privacy}","received_events_url":"https://api.github.com/users/prakashsurya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T20:02:49Z","updated_at":"2018-12-06T20:02:49Z","closed_at":null,"author_association":"NONE","body":"When attempting to build this project on an Ubuntu 18.10 based VM (using the `ubuntu-18-10` image on DCOA), the build fails with the following error message:\r\n```\r\nPACKAGE cloud-init: STAGE prepare STARTED\r\nRunning: prepare\r\nRunning: install_source_package_build_deps\r\nRunning: sudo env DEBIAN_FRONTEND=noninteractive apt-get build-dep -y cloud-init\r\nReading package lists... Done\r\nE: You must put some 'source' URIs in your sources.list\r\nError: failed command 'sudo env DEBIAN_FRONTEND=noninteractive apt-get build-dep -y cloud-init'\r\nError: failed command './buildpkg.sh cloud-init'\r\nmake: *** [Makefile:26: all] Error 1\r\n```\r\n\r\nThis appears to be due to the `deb-src` lines in `/etc/apt/sources.list` being commented out:\r\n```\r\n± grep deb-src /etc/apt/sources.list\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic main restricted\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic universe\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates universe\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic multiverse\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-updates multiverse\r\n# deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ cosmic-backports main restricted universe multiverse\r\n# deb-src http://archive.canonical.com/ubuntu cosmic partner\r\n# deb-src http://security.ubuntu.com/ubuntu cosmic-security main restricted\r\n# deb-src http://security.ubuntu.com/ubuntu cosmic-security universe\r\n# deb-src http://security.ubuntu.com/ubuntu cosmic-security multiverse\r\n```\r\n\r\nWe should either update the bootstrap image configuration to enable these repositories, or enable them dynamically via this project's build system."}}
{"actor":{"display_login":"prakashsurya"}}