{"action":"created","issue":{"url":"https://api.github.com/repos/meta-rust/meta-rust/issues/134","repository_url":"https://api.github.com/repos/meta-rust/meta-rust","labels_url":"https://api.github.com/repos/meta-rust/meta-rust/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/meta-rust/meta-rust/issues/134/comments","events_url":"https://api.github.com/repos/meta-rust/meta-rust/issues/134/events","html_url":"https://github.com/meta-rust/meta-rust/issues/134","id":198013108,"number":134,"title":"Building Cargo for ARM Fails","user":{"login":"leon-anavi","id":3279083,"avatar_url":"https://avatars.githubusercontent.com/u/3279083?v=3","gravatar_id":"","url":"https://api.github.com/users/leon-anavi","html_url":"https://github.com/leon-anavi","followers_url":"https://api.github.com/users/leon-anavi/followers","following_url":"https://api.github.com/users/leon-anavi/following{/other_user}","gists_url":"https://api.github.com/users/leon-anavi/gists{/gist_id}","starred_url":"https://api.github.com/users/leon-anavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leon-anavi/subscriptions","organizations_url":"https://api.github.com/users/leon-anavi/orgs","repos_url":"https://api.github.com/users/leon-anavi/repos","events_url":"https://api.github.com/users/leon-anavi/events{/privacy}","received_events_url":"https://api.github.com/users/leon-anavi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T14:11:16Z","updated_at":"2016-12-29T14:15:42Z","closed_at":null,"body":"## Version(s) of meta-rust\r\n\r\nKrogoth\r\n\r\n## Version(s) of poky and/or oe-core\r\n\r\nKrogoth\r\n\r\n## Expected result\r\n\r\nThe expected result is to successfully built cargo.\r\n\r\n## Actual result\r\n\r\n```\r\nERROR: cargo-0.13.0-r0 do_compile: oe_runmake failed\r\nERROR: cargo-0.13.0-r0 do_compile: Function failed: do_compile (log file is located at /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/temp/log.do_compile.30503)\r\nERROR: Logfile of failure stored in: /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/temp/log.do_compile.30503\r\nLog data follows:\r\n| DEBUG: Executing shell function do_compile\r\n| NOTE: make -j 8 VERBOSE=1\r\n| /media/storage/poky-rust/build/tmp/sysroots/x86_64-linux/usr/bin/rustc -V\r\n| rustc 1.12.1\r\n| target/snapshot/bin/cargo --version\r\n| cargo 0.13.0-nightly (e713e7f 2016-08-31)\r\n| target/snapshot/bin/cargo build --target arm-poky-linux-gnueabi --manifest-path /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git//Cargo.toml --release  --verbose\r\n|    Compiling regex-syntax v0.3.4\r\n|    Compiling crossbeam v0.2.9\r\n|    Compiling winapi v0.2.8\r\n|    Compiling pkg-config v0.3.8\r\n|    Compiling winapi-build v0.1.1\r\n|    Compiling strsim v0.3.0\r\n|    Compiling glob v0.2.11\r\n|    Compiling rustc-serialize v0.3.19\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/regex-syntax-0.3.4/src/lib.rs --crate-name regex_syntax --crate-type lib -C opt-level=3 -C metadata=5f894c94a1e04549 -C extra-filename=-5f894c94a1e04549 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/crossbeam-0.2.9/src/lib.rs --crate-name crossbeam --crate-type lib -C opt-level=3 -C metadata=c6acd65498c68535 -C extra-filename=-c6acd65498c68535 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/winapi-0.2.8/src/lib.rs --crate-name winapi --crate-type lib -C opt-level=3 -C metadata=d29f7fa53c1342e6 -C extra-filename=-d29f7fa53c1342e6 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/pkg-config-0.3.8/src/lib.rs --crate-name pkg_config --crate-type lib -C opt-level=3 -C metadata=644ff8561a5494b1 -C extra-filename=-644ff8561a5494b1 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/release/deps --emit=dep-info,link -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/build-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -C opt-level=3 -C metadata=812169c879249320 -C extra-filename=-812169c879249320 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/release/deps --emit=dep-info,link -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/build-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/strsim-0.3.0/src/lib.rs --crate-name strsim --crate-type lib -C opt-level=3 -C metadata=4dbe3971de3d56d0 -C extra-filename=-4dbe3971de3d56d0 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/glob-0.2.11/src/lib.rs --crate-name glob --crate-type lib -C opt-level=3 -C metadata=4255f5b8721aa746 -C extra-filename=-4255f5b8721aa746 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n|      Running `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/rustc-serialize-0.3.19/src/lib.rs --crate-name rustc_serialize --crate-type lib -C opt-level=3 -C metadata=3fe92c01c925aa1b -C extra-filename=-3fe92c01c925aa1b --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow`\r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| Build failed, waiting for other jobs to finish...\r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| Build failed, waiting for other jobs to finish...\r\n| Build failed, waiting for other jobs to finish...\r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| Build failed, waiting for other jobs to finish...\r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| Build failed, waiting for other jobs to finish...\r\n| error[E0463]: can't find crate for `std`\r\n| \r\n| error: aborting due to previous error\r\n| \r\n| Build failed, waiting for other jobs to finish...\r\n| error: Could not compile `strsim`.\r\n| \r\n| Caused by:\r\n|   Process didn't exit successfully: `rustc /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/cargo_home/bitbake/strsim-0.3.0/src/lib.rs --crate-name strsim --crate-type lib -C opt-level=3 -C metadata=4dbe3971de3d56d0 -C extra-filename=-4dbe3971de3d56d0 --out-dir /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --emit=dep-info,link --target arm-poky-linux-gnueabi -C linker=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/wrapper/target-rust-ccld -L dependency=/media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/git/target/arm-poky-linux-gnueabi/release/deps --cap-lints allow` (exit code: 101)\r\n| Makefile:104: recipe for target 'cargo-arm-poky-linux-gnueabi' failed\r\n| make: *** [cargo-arm-poky-linux-gnueabi] Error 101\r\n| ERROR: oe_runmake failed\r\n| ERROR: Function failed: do_compile (log file is located at /media/storage/poky-rust/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/cargo/0.13.0-r0/temp/log.do_compile.30503)\r\nERROR: Task 7 (/media/storage/poky-rust/meta-rust/recipes-devtools/cargo/cargo_0.13.0.bb, do_compile) failed with exit code '1'\r\nNOTE: Tasks Summary: Attempted 845 tasks of which 0 didn't need to be rerun and 1 failed.\r\nWaiting for 0 running tasks to finish:\r\n\r\nSummary: 1 task failed:\r\n  /media/storage/poky-rust/meta-rust/recipes-devtools/cargo/cargo_0.13.0.bb, do_compile\r\nSummary: There was 1 WARNING message shown.\r\nSummary: There were 2 ERROR messages shown, returning a non-zero exit code.\r\n```\r\n\r\n## Steps to reproduce\r\n\r\n* Clone Poky\r\n* Clone meta-raspberrypi\r\n* Clone meta-rust\r\n* Initialize the environment\r\n* Set MACHINE to raspberrypi3\r\n* Add rust-hello-world to the image but appending the following line to conf/local.conf\r\n`\r\nIMAGE_INSTALL_append = \" rust-hello-world\"\r\n`\r\n* Build a toolchain Installer:\r\n`\r\nbitbake cargo\r\n`\r\n\r\nBest regards,\r\nLeon\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/meta-rust/meta-rust/issues/comments/269635817","html_url":"https://github.com/meta-rust/meta-rust/issues/134#issuecomment-269635817","issue_url":"https://api.github.com/repos/meta-rust/meta-rust/issues/134","id":269635817,"user":{"login":"derekstraka","id":9665276,"avatar_url":"https://avatars.githubusercontent.com/u/9665276?v=3","gravatar_id":"","url":"https://api.github.com/users/derekstraka","html_url":"https://github.com/derekstraka","followers_url":"https://api.github.com/users/derekstraka/followers","following_url":"https://api.github.com/users/derekstraka/following{/other_user}","gists_url":"https://api.github.com/users/derekstraka/gists{/gist_id}","starred_url":"https://api.github.com/users/derekstraka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekstraka/subscriptions","organizations_url":"https://api.github.com/users/derekstraka/orgs","repos_url":"https://api.github.com/users/derekstraka/repos","events_url":"https://api.github.com/users/derekstraka/events{/privacy}","received_events_url":"https://api.github.com/users/derekstraka/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T14:15:42Z","updated_at":"2016-12-29T14:15:42Z","body":"Data point - The nightly with qemu-arm worked for cargofmt (https://ci.asterius.io/job/meta-rust-nightly/job/krogoth/7/flowGraphTable/)."}}
{"actor":{"display_login":"derekstraka"}}