[GHC] #14696: basement package fails to compile
#14696: basement package fails to compile -----------------------------------+---------------------------- Reporter: asyropoulos | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Solaris Architecture: x86 | Type of failure: Other Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -----------------------------------+---------------------------- I have noticed that the basement package faisl to compile on Solaris. However, the following patch solves the problem. diff -Naur basement-0.0.6/Basement/Terminal/Size.hsc basement-0.0.6.new/Basement/Terminal/Size.hsc --- basement-0.0.6/Basement/Terminal/Size.hsc 2017-11-11 19:03:59.000000000 +0000 +++ basement-0.0.6.new/Basement/Terminal/Size.hsc 2018-01-21 15:03:03.899338329 +0000 @@ -20,6 +20,9 @@ #include <windows.h> #elif defined FOUNDATION_SYSTEM_UNIX #include <sys/ioctl.h> +#ifdef __sun +#include <sys/termios.h> +#endif #endif #include <stdio.h> -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14696> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14696: basement package fails to compile --------------------------------+-------------------------------- Reporter: asyropoulos | Owner: (none) Type: bug | Status: upstream Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | --------------------------------+-------------------------------- Changes (by bgamari): * status: new => upstream Comment: It sounds to me like this is a bug in `basement`, not GHC. Perhaps you could file a ticket with [[https://github.com/haskell- foundation/foundation|upstream]]? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14696#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14696: basement package fails to compile --------------------------------+-------------------------------- Reporter: asyropoulos | Owner: (none) Type: bug | Status: upstream Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | --------------------------------+-------------------------------- Comment (by asyropoulos): Thank you very much for the suggestion. I have already submitted a bug report. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14696#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14696: basement package fails to compile --------------------------------+------------------------------ Reporter: asyropoulos | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: invalid | Keywords: Operating System: Solaris | Architecture: x86 Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | --------------------------------+------------------------------ Changes (by bgamari): * status: upstream => closed * resolution: => invalid Comment: No worries! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14696#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC