{"action":"opened","issue":{"url":"https://api.github.com/repos/jtdaugherty/brick/issues/75","repository_url":"https://api.github.com/repos/jtdaugherty/brick","labels_url":"https://api.github.com/repos/jtdaugherty/brick/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/jtdaugherty/brick/issues/75/comments","events_url":"https://api.github.com/repos/jtdaugherty/brick/issues/75/events","html_url":"https://github.com/jtdaugherty/brick/issues/75","id":174136233,"number":75,"title":"Cannot build : DSO missing from command line","user":{"login":"Sireeni","id":20373526,"avatar_url":"https://avatars.githubusercontent.com/u/20373526?v=3","gravatar_id":"","url":"https://api.github.com/users/Sireeni","html_url":"https://github.com/Sireeni","followers_url":"https://api.github.com/users/Sireeni/followers","following_url":"https://api.github.com/users/Sireeni/following{/other_user}","gists_url":"https://api.github.com/users/Sireeni/gists{/gist_id}","starred_url":"https://api.github.com/users/Sireeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sireeni/subscriptions","organizations_url":"https://api.github.com/users/Sireeni/orgs","repos_url":"https://api.github.com/users/Sireeni/repos","events_url":"https://api.github.com/users/Sireeni/events{/privacy}","received_events_url":"https://api.github.com/users/Sireeni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T21:56:46Z","updated_at":"2016-08-30T21:56:46Z","closed_at":null,"body":"I've encountered a weird issue when compiling `brick` demos.\r\nI'm following the instructions in the README, and run `cabal install -j -f demos`.\r\n\r\nTL;DR : \r\n\r\n```\r\nundefined reference to symbol 'del_curterm'\r\n/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\n```\r\n\r\n<details>\r\n    <summary>Build log</summary>\r\n``` \r\nLC_ALL=C cabal install -j -f demos\r\nResolving dependencies...\r\nNotice: installing into a sandbox located at\r\n/home/uniaika/code/Haskell/brick-tests/.cabal-sandbox\r\nConfiguring vty-5.9.1...\r\nBuilding vty-5.9.1...\r\nFailed to install vty-5.9.1\r\nBuild log ( /home/uniaika/code/Haskell/brick-tests/.cabal-sandbox/logs/vty-5.9.1.log ):\r\nConfiguring vty-5.9.1...\r\nBuilding vty-5.9.1...\r\nPreprocessing library vty-5.9.1...\r\n[ 1 of 36] Compiling Data.Terminfo.Parse ( src/Data/Terminfo/Parse.hs, dist/dist-sandbox-fdbaab67/build/Data/Terminfo/Parse.o )\r\n[ 2 of 36] Compiling Data.Terminfo.Eval ( src/Data/Terminfo/Eval.hs, dist/dist-sandbox-fdbaab67/build/Data/Terminfo/Eval.o )\r\n[ 3 of 36] Compiling Codec.Binary.UTF8.Debug ( src/Codec/Binary/UTF8/Debug.hs, dist/dist-sandbox-fdbaab67/build/Codec/Binary/UTF8/Debug.o )\r\n[ 4 of 36] Compiling Graphics.Text.Width ( src/Graphics/Text/Width.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Text/Width.o )\r\n[ 5 of 36] Compiling Graphics.Vty.Error ( src/Graphics/Vty/Error.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Error.o )\r\n[ 6 of 36] Compiling Graphics.Vty.Input.Events ( src/Graphics/Vty/Input/Events.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Events.o )\r\n[ 7 of 36] Compiling Graphics.Vty.Input.Classify.Types ( src/Graphics/Vty/Input/Classify/Types.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Classify/Types.o )\r\n[ 8 of 36] Compiling Graphics.Vty.Input.Paste ( src/Graphics/Vty/Input/Paste.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Paste.o )\r\n[ 9 of 36] Compiling Graphics.Vty.Input.Classify.Parse ( src/Graphics/Vty/Input/Classify/Parse.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Classify/Parse.o )\r\n[10 of 36] Compiling Graphics.Vty.Input.Mouse ( src/Graphics/Vty/Input/Mouse.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Mouse.o )\r\n[11 of 36] Compiling Graphics.Vty.Input.Classify ( src/Graphics/Vty/Input/Classify.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Classify.o )\r\n[12 of 36] Compiling Graphics.Vty.Input.Terminfo.ANSIVT ( src/Graphics/Vty/Input/Terminfo/ANSIVT.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Terminfo/ANSIVT.o\r\n )\r\n[13 of 36] Compiling Graphics.Vty.Input.Terminfo ( src/Graphics/Vty/Input/Terminfo.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Terminfo.o )\r\n[14 of 36] Compiling Graphics.Vty.Attributes.Color ( src/Graphics/Vty/Attributes/Color.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Attributes/Color.o )\r\n[15 of 36] Compiling Graphics.Vty.Attributes.Color240 ( src/Graphics/Vty/Attributes/Color240.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Attributes/Color240.o )\r\n[16 of 36] Compiling Graphics.Vty.Attributes ( src/Graphics/Vty/Attributes.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Attributes.o )\r\n[17 of 36] Compiling Graphics.Vty.Image.Internal ( src/Graphics/Vty/Image/Internal.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Image/Internal.o )\r\n[18 of 36] Compiling Graphics.Vty.Image ( src/Graphics/Vty/Image.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Image.o )\r\n[19 of 36] Compiling Graphics.Vty.Debug.Image ( src/Graphics/Vty/Debug/Image.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Debug/Image.o )\r\n[20 of 36] Compiling Graphics.Vty.DisplayAttributes ( src/Graphics/Vty/DisplayAttributes.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/DisplayAttributes.o )\r\n[21 of 36] Compiling Graphics.Vty.Prelude ( src/Graphics/Vty/Prelude.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Prelude.o )\r\n[22 of 36] Compiling Graphics.Vty.Span ( src/Graphics/Vty/Span.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Span.o )\r\n[23 of 36] Compiling Graphics.Vty.Debug ( src/Graphics/Vty/Debug.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Debug.o )\r\n[24 of 36] Compiling Graphics.Vty.Picture ( src/Graphics/Vty/Picture.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Picture.o )\r\n[25 of 36] Compiling Graphics.Vty.PictureToSpans ( src/Graphics/Vty/PictureToSpans.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/PictureToSpans.o )\r\n[26 of 36] Compiling Graphics.Vty.Output.Interface ( src/Graphics/Vty/Output/Interface.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Output/Interface.o )\r\n[27 of 36] Compiling Graphics.Vty.Output.TerminfoBased ( src/Graphics/Vty/Output/TerminfoBased.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Output/TerminfoBased.o )\r\n[28 of 36] Compiling Graphics.Vty.Output.XTermColor ( src/Graphics/Vty/Output/XTermColor.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Output/XTermColor.o )\r\n[29 of 36] Compiling Graphics.Vty.Output.Mock ( src/Graphics/Vty/Output/Mock.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Output/Mock.o )\r\n[30 of 36] Compiling Graphics.Vty.Config ( src/Graphics/Vty/Config.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Config.o )\r\n[31 of 36] Compiling Graphics.Vty.Output ( src/Graphics/Vty/Output.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Output.o )\r\n[32 of 36] Compiling Graphics.Vty.Input.Loop ( src/Graphics/Vty/Input/Loop.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input/Loop.o )\r\n\r\nsrc/Graphics/Vty/Input/Loop.hs:24:1: Warning:\r\n    The import of `Data.Monoid' is redundant\r\n      except perhaps to import instances from `Data.Monoid'\r\n    To import instances alone, use: import Data.Monoid()\r\n[33 of 36] Compiling Graphics.Vty.Input ( src/Graphics/Vty/Input.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Input.o )\r\n[34 of 36] Compiling Graphics.Vty     ( src/Graphics/Vty.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty.o )\r\n[35 of 36] Compiling Graphics.Vty.Inline.Unsafe ( src/Graphics/Vty/Inline/Unsafe.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Inline/Unsafe.o )\r\n\r\nsrc/Graphics/Vty/Inline/Unsafe.hs:13:1: Warning:\r\n    The import of `Data.Monoid' is redundant\r\n      except perhaps to import instances from `Data.Monoid'\r\n    To import instances alone, use: import Data.Monoid()\r\n[36 of 36] Compiling Graphics.Vty.Inline ( src/Graphics/Vty/Inline.hs, dist/dist-sandbox-fdbaab67/build/Graphics/Vty/Inline.o )\r\nIn-place registering vty-5.9.1...\r\nPreprocessing executable 'vty-bell-demo' for vty-5.9.1...\r\n[1 of 1] Compiling Main             ( test.hs, dist/dist-sandbox-fdbaab67/build/vty-bell-demo/vty-bell-demo-tmp/Main.o )\r\nLinking dist/dist-sandbox-fdbaab67/build/vty-bell-demo/vty-bell-demo ...\r\n/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/ghc-7.10.3/termi_6iVf4EBnOgfIaaOCLRs8jl/libHSterminfo-0.4.0.1-6iVf4EBnOgfIaaOCLRs8jl.a(Base__78.o): undefined reference to symbol 'del_curterm'\r\n/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\ncabal: Error: some packages failed to install:\r\nbrick-0.8 depends on vty-5.9.1 which failed to install.\r\nvty-5.9.1 failed during the building phase. The exception was:\r\nExitFailure 1\r\n```\r\n</details>"}}
{"actor":{"display_login":"Sireeni"}}