{"action":"created","issue":{"url":"https://api.github.com/repos/Secretchronicles/TSC/issues/457","labels_url":"https://api.github.com/repos/Secretchronicles/TSC/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/Secretchronicles/TSC/issues/457/comments","events_url":"https://api.github.com/repos/Secretchronicles/TSC/issues/457/events","html_url":"https://github.com/Secretchronicles/TSC/issues/457","id":108525001,"number":457,"title":"Force UTF-8 encoding in gem files","user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Secretchronicles/TSC/labels/Build%20system","name":"Build system","color":"299da7"}],"state":"open","locked":false,"assignee":{"login":"Quintus","id":156358,"avatar_url":"https://avatars.githubusercontent.com/u/156358?v=3","gravatar_id":"","url":"https://api.github.com/users/Quintus","html_url":"https://github.com/Quintus","followers_url":"https://api.github.com/users/Quintus/followers","following_url":"https://api.github.com/users/Quintus/following{/other_user}","gists_url":"https://api.github.com/users/Quintus/gists{/gist_id}","starred_url":"https://api.github.com/users/Quintus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quintus/subscriptions","organizations_url":"https://api.github.com/users/Quintus/orgs","repos_url":"https://api.github.com/users/Quintus/repos","events_url":"https://api.github.com/users/Quintus/events{/privacy}","received_events_url":"https://api.github.com/users/Quintus/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-09-27T09:47:06Z","updated_at":"2015-10-06T18:14:37Z","closed_at":null,"body":"When trying to build 2.0.0 on Mageia's buildsystem, I ran into this issue:\r\n```\r\n[ 12%] Generating credits.cpp\r\nrake aborted!\r\nArgumentError: invalid byte sequence in US-ASCII\r\n/home/iurt/rpmbuild/BUILD/TSC-2.0.0/tsc/Rakefile:23:in `match'\r\n/home/iurt/rpmbuild/BUILD/TSC-2.0.0/tsc/Rakefile:23:in `match'\r\n/home/iurt/rpmbuild/BUILD/TSC-2.0.0/tsc/Rakefile:23:in `<top (required)>'\r\n(See full trace by running task with --trace)\r\nCMakeFiles/tsc.dir/build.make:61: recipe for target 'credits.cpp' failed\r\n```\r\n\r\nFull build log: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20150927093845.akien.valstar.31482/log/tsc-2.0.0-1.mga6/build.0.20150927093906.log\r\n\r\nAccording to this stackoverflow topic [1], it could be fixed either on my side by forcing en_US.UTF-8 on Mageia's buildsystem (I guess right now it might be simply \"C\"), or on your side by forcing UTF-8 encoding in the gem files. I guess the second solution is probably cleaner since you do want to enforce UTF-8 anyway.\r\n\r\n[1] http://stackoverflow.com/questions/17031651/invalid-byte-sequence-in-us-ascii-argument-error-when-i-run-rake-dbseed-in-ra"},"comment":{"url":"https://api.github.com/repos/Secretchronicles/TSC/issues/comments/145951400","html_url":"https://github.com/Secretchronicles/TSC/issues/457#issuecomment-145951400","issue_url":"https://api.github.com/repos/Secretchronicles/TSC/issues/457","id":145951400,"user":{"login":"akien-mga","id":4701338,"avatar_url":"https://avatars.githubusercontent.com/u/4701338?v=3","gravatar_id":"","url":"https://api.github.com/users/akien-mga","html_url":"https://github.com/akien-mga","followers_url":"https://api.github.com/users/akien-mga/followers","following_url":"https://api.github.com/users/akien-mga/following{/other_user}","gists_url":"https://api.github.com/users/akien-mga/gists{/gist_id}","starred_url":"https://api.github.com/users/akien-mga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akien-mga/subscriptions","organizations_url":"https://api.github.com/users/akien-mga/orgs","repos_url":"https://api.github.com/users/akien-mga/repos","events_url":"https://api.github.com/users/akien-mga/events{/privacy}","received_events_url":"https://api.github.com/users/akien-mga/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T18:14:37Z","updated_at":"2015-10-06T18:14:37Z","body":"Actually even after patching tsc/Rakefile to force the encoding as in the devel branch, I still get an error at the same place (the actually error being slightly different, but I don't know if it's due to the patch or just that the build job was run on a node with a different number of CPUs): http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20151006180613.akien.valstar.24994/log/tsc-2.0.0-1.mga6/build.0.20151006180710.log"}}