{"action":"created","issue":{"url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/6","repository_url":"https://api.github.com/repos/andrew-d/docker-rust-musl","labels_url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/6/comments","events_url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/6/events","html_url":"https://github.com/andrew-d/docker-rust-musl/issues/6","id":135317742,"number":6,"title":"build failed even with with suggested rustc alias","user":{"login":"softprops","id":2242,"avatar_url":"https://avatars.githubusercontent.com/u/2242?v=3","gravatar_id":"","url":"https://api.github.com/users/softprops","html_url":"https://github.com/softprops","followers_url":"https://api.github.com/users/softprops/followers","following_url":"https://api.github.com/users/softprops/following{/other_user}","gists_url":"https://api.github.com/users/softprops/gists{/gist_id}","starred_url":"https://api.github.com/users/softprops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softprops/subscriptions","organizations_url":"https://api.github.com/users/softprops/orgs","repos_url":"https://api.github.com/users/softprops/repos","events_url":"https://api.github.com/users/softprops/events{/privacy}","received_events_url":"https://api.github.com/users/softprops/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T04:59:43Z","updated_at":"2016-06-13T21:19:09Z","closed_at":null,"body":"I'm getting a build error when trying to run a musl build. It may just be bad error reporting on cargo's part but the error reported is\r\n\r\n```\r\nfailed to execute command: No such file or directory (os error 2)\r\nIs `musl-gcc` not installed?\r\n```\r\n\r\nIt looks like some crates were successful but the error seems to happen on the openssl crate.\r\n\r\nThe full error is below.\r\n\r\n```\r\nBuild failed, waiting for other jobs to finish...\r\nfailed to run custom build command for `openssl v0.7.6`\r\nProcess didn't exit successfully: `/source/target/release/build/openssl-09576f2f9776fa80/build-script-build` (exit code: 101)\r\n--- stdout\r\nTARGET = Some(\"x86_64-unknown-linux-musl\")\r\nOPT_LEVEL = Some(\"3\")\r\nPROFILE = Some(\"release\")\r\nTARGET = Some(\"x86_64-unknown-linux-musl\")\r\ndebug=false opt-level=3\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nTARGET = Some(\"x86_64-unknown-linux-musl\")\r\nTARGET = Some(\"x86_64-unknown-linux-musl\")\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nCC_x86_64-unknown-linux-musl = None\r\nCC_x86_64_unknown_linux_musl = None\r\nTARGET_CC = None\r\nCC = None\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nTARGET = Some(\"x86_64-unknown-linux-musl\")\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nCFLAGS_x86_64-unknown-linux-musl = None\r\nCFLAGS_x86_64_unknown_linux_musl = None\r\nTARGET_CFLAGS = None\r\nCFLAGS = None\r\nrunning: \"musl-gcc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-m64\" \"-fPIC\" \"-static\" \"-o\" \"/source/target/x86_64-unknown-linux-musl/release/build/openssl-09576f2f9776fa80/out/src/c_helpers.o\" \"-c\" \"src/c_helpers.c\"\r\n\r\n\r\nfailed to execute command: No such file or directory (os error 2)\r\nIs `musl-gcc` not installed?\r\n\r\n\r\n\r\n--- stderr\r\nthread '<main>' panicked at 'explicit panic', /root/.cargo/registry/src/github.com-88ac128001ac3a9a/gcc-0.3.24/src/lib.rs:809\r\n```"},"comment":{"url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/comments/225711900","html_url":"https://github.com/andrew-d/docker-rust-musl/issues/6#issuecomment-225711900","issue_url":"https://api.github.com/repos/andrew-d/docker-rust-musl/issues/6","id":225711900,"user":{"login":"ppamorim","id":5521682,"avatar_url":"https://avatars.githubusercontent.com/u/5521682?v=3","gravatar_id":"","url":"https://api.github.com/users/ppamorim","html_url":"https://github.com/ppamorim","followers_url":"https://api.github.com/users/ppamorim/followers","following_url":"https://api.github.com/users/ppamorim/following{/other_user}","gists_url":"https://api.github.com/users/ppamorim/gists{/gist_id}","starred_url":"https://api.github.com/users/ppamorim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppamorim/subscriptions","organizations_url":"https://api.github.com/users/ppamorim/orgs","repos_url":"https://api.github.com/users/ppamorim/repos","events_url":"https://api.github.com/users/ppamorim/events{/privacy}","received_events_url":"https://api.github.com/users/ppamorim/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T21:19:09Z","updated_at":"2016-06-13T21:19:09Z","body":"Me too, same problem here."}}
{"actor":{"display_login":"ppamorim"}}