{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/25364","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/25364/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/25364/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/25364/events","html_url":"https://github.com/rust-lang/rust/issues/25364","id":75930457,"number":25364,"title":"make: error ... also found in `tmp/extended-errors/librustc_typeck.json'; (unclean build?)","user":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-13T10:12:48Z","updated_at":"2015-05-13T10:24:40Z","closed_at":null,"body":"make: error E0038 from `librustc' also found in `tmp/extended-errors/librustc_typeck.json': (unclean build?)\r\n\r\nThat is, I did a `git pull` up to:\r\n\r\n```\r\ncommit fa433875274ff4a7c4cab7d87c1284ba782ef643\r\nMerge: 30a42fa b799cd8\r\nAuthor: bors <bors@rust-lang.org>\r\nDate:   Wed May 13 06:43:05 2015 +0000\r\n\r\n    Auto merge of #24619 - nrc:rc-coerce, r=nikomatsakis\r\n    \r\n    r? @nikomatsakis (note a few TODOs left in the code where I wasn't sure about stuff).\r\n```\r\n\r\nin a build directory that already had artifacts from a prior build lying around.\r\n\r\nI re-ran `configure` (something I do sometimes when `git pull`'ing with an unknown set of changes):\r\n```\r\n/Users/fklock/Dev/Mozilla/rust.git/configure --enable-debug --enable-optimize     --enable-ccache --enable-clang --prefix=~/opt/rust-dbg --disable-optimize-tests --disable-llvm-assertions \r\n```\r\n\r\nAnd then when attempting the build, I got this:\r\n```\r\nrustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc\r\n/Users/fklock/Dev/Mozilla/rust.git/src/librustc/lib.rs:170:1: 170:52 error: error E0038 from `librustc' also found in `tmp/extended-errors/librustc_typeck.json'\r\n/Users/fklock/Dev/Mozilla/rust.git/src/librustc/lib.rs:170 __build_diagnostic_array! { librustc, DIAGNOSTICS }\r\n                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nerror: aborting due to previous error\r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/101615465","html_url":"https://github.com/rust-lang/rust/issues/25364#issuecomment-101615465","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/25364","id":101615465,"user":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T10:24:40Z","updated_at":"2015-05-13T10:24:40Z","body":"A build in a fresh directory does not exhibit the problem on the first build, but if you immediately follow it by another call to `make`, two bad things happen:\r\n\r\n * The successive call to `make` seems to think that a rebuild of\r\n    ```\r\n    rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc\r\n    ```\r\nis necessary, even though we just finished a build.  (That to me is a sign that our dependencies are broken in some way.)\r\n\r\n * This attempt to build that library immediately fails, again due to the \"error also found in json file\" problem that I am listing in this ticket."}}