{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2703","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2703/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2703/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2703/events","html_url":"https://github.com/ethereum/go-ethereum/issues/2703","id":160423780,"number":2703,"title":"`eth.compile.solidity` fails with solc version 0.3.5","user":{"login":"xavierlepretre","id":5309374,"avatar_url":"https://avatars.githubusercontent.com/u/5309374?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierlepretre","html_url":"https://github.com/xavierlepretre","followers_url":"https://api.github.com/users/xavierlepretre/followers","following_url":"https://api.github.com/users/xavierlepretre/following{/other_user}","gists_url":"https://api.github.com/users/xavierlepretre/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierlepretre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierlepretre/subscriptions","organizations_url":"https://api.github.com/users/xavierlepretre/orgs","repos_url":"https://api.github.com/users/xavierlepretre/repos","events_url":"https://api.github.com/users/xavierlepretre/events{/privacy}","received_events_url":"https://api.github.com/users/xavierlepretre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-15T13:36:02Z","updated_at":"2016-07-12T21:19:01Z","closed_at":"2016-07-12T21:19:01Z","body":"#### System information\r\n\r\nGeth version: 1.5.0-unstable\r\nOS & Version: Ubuntu Trusty x86_64\r\nCommit hash : \r\n\r\n#### Expected behaviour\r\nIn Geth console, when calling `eth.compile.solidity(\"contract Test{}\")` we should see the compiled code.\r\nThis is ok with solc version 0.3.4.\r\n\r\n#### Actual behaviour\r\nWith solc version 0.3.5:\r\n```\r\nsolc: exit status 1\r\nUnknown exception during compilation.\r\n\r\n    at web3.js:3119:20\r\n    at web3.js:6023:15\r\n    at web3.js:4995:36\r\n    at <anonymous>:1:22\r\n```\r\n\r\n#### Steps to reproduce the behaviour\r\nLaunch `geth console`, launch `eth.compile.solidity(\"contract Test{}\")`.\r\n\r\n#### Backtrace\r\n\r\n````\r\n[backtrace]\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/232184765","html_url":"https://github.com/ethereum/go-ethereum/issues/2703#issuecomment-232184765","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2703","id":232184765,"user":{"login":"xavierlepretre","id":5309374,"avatar_url":"https://avatars.githubusercontent.com/u/5309374?v=3","gravatar_id":"","url":"https://api.github.com/users/xavierlepretre","html_url":"https://github.com/xavierlepretre","followers_url":"https://api.github.com/users/xavierlepretre/followers","following_url":"https://api.github.com/users/xavierlepretre/following{/other_user}","gists_url":"https://api.github.com/users/xavierlepretre/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierlepretre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierlepretre/subscriptions","organizations_url":"https://api.github.com/users/xavierlepretre/orgs","repos_url":"https://api.github.com/users/xavierlepretre/repos","events_url":"https://api.github.com/users/xavierlepretre/events{/privacy}","received_events_url":"https://api.github.com/users/xavierlepretre/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T21:19:01Z","updated_at":"2016-07-12T21:19:01Z","body":"Works fine with me too:\r\n\r\n```sh\r\n$ sudo apt-cache policy solc\r\nsolc:\r\n  Installed: 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1\r\n  Candidate: 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1\r\n  Version table:\r\n *** 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1 0\r\n        500 http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu/ wily/main amd64 Packages\r\n        500 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/ wily/main amd64 Packages\r\n        100 /var/lib/dpkg/status\r\n$ echo \"\" | solc\r\n$ solc --version\r\nsolc, the solidity compiler commandline interface\r\nVersion: 0.3.5-0/RelWithDebInfo-Linux/g++/Interpreter\r\n```"}}
{"actor":{"display_login":"xavierlepretre"}}