{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/4604","repository_url":"https://api.github.com/repos/haskell/cabal","labels_url":"https://api.github.com/repos/haskell/cabal/issues/4604/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/4604/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/4604/events","html_url":"https://github.com/haskell/cabal/issues/4604","id":243173138,"number":4604,"title":"`gcc' failed in phase `Linker'. (Exit code: 1)","user":{"login":"chrissound","id":1499652,"avatar_url":"https://avatars4.githubusercontent.com/u/1499652?v=4","gravatar_id":"","url":"https://api.github.com/users/chrissound","html_url":"https://github.com/chrissound","followers_url":"https://api.github.com/users/chrissound/followers","following_url":"https://api.github.com/users/chrissound/following{/other_user}","gists_url":"https://api.github.com/users/chrissound/gists{/gist_id}","starred_url":"https://api.github.com/users/chrissound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrissound/subscriptions","organizations_url":"https://api.github.com/users/chrissound/orgs","repos_url":"https://api.github.com/users/chrissound/repos","events_url":"https://api.github.com/users/chrissound/events{/privacy}","received_events_url":"https://api.github.com/users/chrissound/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-15T12:42:50Z","updated_at":"2017-07-15T21:22:46Z","closed_at":null,"body":"It seems I'm not able to install anything via `cabal install`, this has worked before. :)\r\n\r\n**cabal --version**\r\ncabal-install version 1.22.8.0\r\nusing version 1.22.7.0 of the Cabal library \r\n\r\n**ghc --version**\r\nThe Glorious Glasgow Haskell Compilation System, version 8.0.2\r\n\r\n**gcc --version**\r\ngcc (GCC) 7.1.1 20170630\r\n\r\n**ld --version**\r\nGNU ld (GNU Binutils) 2.28.0.20170506\r\n\r\nHost OS: Arch Linux\r\n\r\n```\r\n cabal install clay\r\nResolving dependencies...\r\nConfiguring clay-0.12.2...\r\nFailed to install clay-0.12.2\r\nBuild log ( /home/chris/.cabal/logs/clay-0.12.2.log ):\r\ncabal: Error: some packages failed to install:\r\nclay-0.12.2 failed during the configure step. The exception was:\r\nuser error ('/usr/bin/ghc' exited with an error:\r\n/usr/bin/ld: cannot find -lHSCabal-1.24.2.0\r\n/usr/bin/ld: cannot find -lHSprocess-1.4.3.0\r\n/usr/bin/ld: cannot find -lHSpretty-1.1.3.3\r\n/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0\r\n/usr/bin/ld: cannot find -lHSunix-2.7.2.1\r\n/usr/bin/ld: cannot find -lHStime-1.6.0.1\r\n/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1\r\n/usr/bin/ld: cannot find -lHSbinary-0.8.3.0\r\n/usr/bin/ld: cannot find -lHScontainers-0.5.7.1\r\n/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1\r\n/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0\r\n/usr/bin/ld: cannot find -lHSarray-0.5.1.1\r\n/usr/bin/ld: cannot find -lHSbase-4.9.1.0\r\n/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1\r\n/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0\r\n/usr/bin/ld: cannot find -lHSrts_thr\r\ncollect2: error: ld returned 1 exit status\r\n`gcc' failed in phase `Linker'. (Exit code: 1)\r\n)\r\n```\r\n```\r\ncabal install turtle\r\nResolving dependencies...\r\nConfiguring base-prelude-1.2.0.1...\r\nConfiguring hostname-1.0...\r\nConfiguring managed-1.0.5...\r\nConfiguring optional-args-1.0.1...\r\nFailed to install base-prelude-1.2.0.1\r\nBuild log ( /home/chris/.cabal/logs/base-prelude-1.2.0.1.log ):\r\nFailed to install hostname-1.0\r\nBuild log ( /home/chris/.cabal/logs/hostname-1.0.log ):\r\nFailed to install managed-1.0.5\r\nBuild log ( /home/chris/.cabal/logs/managed-1.0.5.log ):\r\nFailed to install optional-args-1.0.1\r\nBuild log ( /home/chris/.cabal/logs/optional-args-1.0.1.log ):\r\ncabal: Error: some packages failed to install:\r\nbase-prelude-1.2.0.1 failed during the configure step. The exception was:\r\nuser error ('/usr/bin/ghc' exited with an error:\r\n/usr/bin/ld: cannot find -lHSCabal-1.24.2.0\r\n/usr/bin/ld: cannot find -lHSprocess-1.4.3.0\r\n/usr/bin/ld: cannot find -lHSpretty-1.1.3.3\r\n/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0\r\n/usr/bin/ld: cannot find -lHSunix-2.7.2.1\r\n/usr/bin/ld: cannot find -lHStime-1.6.0.1\r\n/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1\r\n/usr/bin/ld: cannot find -lHSbinary-0.8.3.0\r\n/usr/bin/ld: cannot find -lHScontainers-0.5.7.1\r\n/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1\r\n/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0\r\n/usr/bin/ld: cannot find -lHSarray-0.5.1.1\r\n/usr/bin/ld: cannot find -lHSbase-4.9.1.0\r\n/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1\r\n/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0\r\n/usr/bin/ld: cannot find -lHSrts_thr\r\ncollect2: error: ld returned 1 exit status\r\n`gcc' failed in phase `Linker'. (Exit code: 1)\r\n)\r\nfoldl-1.3.0 depends on base-prelude-1.2.0.1 which failed to install.\r\nhostname-1.0 failed during the configure step. The exception was:\r\nuser error ('/usr/bin/ghc' exited with an error:\r\n/usr/bin/ld: cannot find -lHSCabal-1.24.2.0\r\n/usr/bin/ld: cannot find -lHSprocess-1.4.3.0\r\n/usr/bin/ld: cannot find -lHSpretty-1.1.3.3\r\n/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0\r\n/usr/bin/ld: cannot find -lHSunix-2.7.2.1\r\n/usr/bin/ld: cannot find -lHStime-1.6.0.1\r\n/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1\r\n/usr/bin/ld: cannot find -lHSbinary-0.8.3.0\r\n/usr/bin/ld: cannot find -lHScontainers-0.5.7.1\r\n/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1\r\n/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0\r\n/usr/bin/ld: cannot find -lHSarray-0.5.1.1\r\n/usr/bin/ld: cannot find -lHSbase-4.9.1.0\r\n/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1\r\n/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0\r\n/usr/bin/ld: cannot find -lHSrts_thr\r\ncollect2: error: ld returned 1 exit status\r\n`gcc' failed in phase `Linker'. (Exit code: 1)\r\n)\r\nmanaged-1.0.5 failed during the configure step. The exception was:\r\nuser error ('/usr/bin/ghc' exited with an error:\r\n/usr/bin/ld: cannot find -lHSCabal-1.24.2.0\r\n/usr/bin/ld: cannot find -lHSprocess-1.4.3.0\r\n/usr/bin/ld: cannot find -lHSpretty-1.1.3.3\r\n/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0\r\n/usr/bin/ld: cannot find -lHSunix-2.7.2.1\r\n/usr/bin/ld: cannot find -lHStime-1.6.0.1\r\n/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1\r\n/usr/bin/ld: cannot find -lHSbinary-0.8.3.0\r\n/usr/bin/ld: cannot find -lHScontainers-0.5.7.1\r\n/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1\r\n/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0\r\n/usr/bin/ld: cannot find -lHSarray-0.5.1.1\r\n/usr/bin/ld: cannot find -lHSbase-4.9.1.0\r\n/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1\r\n/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0\r\n/usr/bin/ld: cannot find -lHSrts_thr\r\ncollect2: error: ld returned 1 exit status\r\n`gcc' failed in phase `Linker'. (Exit code: 1)\r\n)\r\noptional-args-1.0.1 failed during the configure step. The exception was:\r\nuser error ('/usr/bin/ghc' exited with an error:\r\n/usr/bin/ld: cannot find -lHSCabal-1.24.2.0\r\n/usr/bin/ld: cannot find -lHSprocess-1.4.3.0\r\n/usr/bin/ld: cannot find -lHSpretty-1.1.3.3\r\n/usr/bin/ld: cannot find -lHSdirectory-1.3.0.0\r\n/usr/bin/ld: cannot find -lHSunix-2.7.2.1\r\n/usr/bin/ld: cannot find -lHStime-1.6.0.1\r\n/usr/bin/ld: cannot find -lHSfilepath-1.4.1.1\r\n/usr/bin/ld: cannot find -lHSbinary-0.8.3.0\r\n/usr/bin/ld: cannot find -lHScontainers-0.5.7.1\r\n/usr/bin/ld: cannot find -lHSbytestring-0.10.8.1\r\n/usr/bin/ld: cannot find -lHSdeepseq-1.4.2.0\r\n/usr/bin/ld: cannot find -lHSarray-0.5.1.1\r\n/usr/bin/ld: cannot find -lHSbase-4.9.1.0\r\n/usr/bin/ld: cannot find -lHSinteger-gmp-1.0.0.1\r\n/usr/bin/ld: cannot find -lHSghc-prim-0.5.0.0\r\n/usr/bin/ld: cannot find -lHSrts_thr\r\ncollect2: error: ld returned 1 exit status\r\n`gcc' failed in phase `Linker'. (Exit code: 1)\r\n)\r\nturtle-1.3.6 depends on optional-args-1.0.1 which failed to install.\r\nvector-builder-0.3.1 depends on base-prelude-1.2.0.1 which failed to install.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/315564204","html_url":"https://github.com/haskell/cabal/issues/4604#issuecomment-315564204","issue_url":"https://api.github.com/repos/haskell/cabal/issues/4604","id":315564204,"user":{"login":"chrissound","id":1499652,"avatar_url":"https://avatars4.githubusercontent.com/u/1499652?v=4","gravatar_id":"","url":"https://api.github.com/users/chrissound","html_url":"https://github.com/chrissound","followers_url":"https://api.github.com/users/chrissound/followers","following_url":"https://api.github.com/users/chrissound/following{/other_user}","gists_url":"https://api.github.com/users/chrissound/gists{/gist_id}","starred_url":"https://api.github.com/users/chrissound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrissound/subscriptions","organizations_url":"https://api.github.com/users/chrissound/orgs","repos_url":"https://api.github.com/users/chrissound/repos","events_url":"https://api.github.com/users/chrissound/events{/privacy}","received_events_url":"https://api.github.com/users/chrissound/received_events","type":"User","site_admin":false},"created_at":"2017-07-15T21:22:46Z","updated_at":"2017-07-15T21:22:46Z","body":"It's over 1400 lines. https://gist.githubusercontent.com/chrissound/c5a75a54743867511037513180844a59/raw/4150253f7e2084a2bd6c20f484fa710e8c4eb7e6/turtleInstallLog"}}
{"actor":{"display_login":"chrissound"}}