[GHC] #11114: Can't compile ghc on fedora 23

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: Building GHC (amd64) | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Hi, I' m trying to compile (through a ''Docker'' '''container''') ghc 7.10.2 My commands are: {{{ dnf -y install @development-tools @rpm-development-tools glibc-devel ncurses-devel gmp-devel autoconf automake libtool gcc make perl python ghc happy alex git python-sphinx git clone --recursive git://git.haskell.org/ghc.git /opt/ghc git checkout ghc-7.10.2-release ./boot ./configure --prefix=/usr/local make -j$((`grep -c processor /proc/cpuinfo`+1)) }}} The '''make''' process fails. Here is the stack => https://gist.github.com/anonymous/0800967ca05e5a2c65b8 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): Run `git submodule update --init` after switching branches, see https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#Gettingabra.... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by waghanza): thanks it's help ... i will close this ticket if compilation (running) is successful -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by waghanza): it's seems t work then therefore I've a plenty of warnings ... log => https://gist.github.com/eda73024d95356d05ede error log => https://gist.github.com/e3b69e157e89030f627d hope it'll be helpful -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => invalid Comment: Great. Those warnings are expected, and get ignored with the flags from mk/warnings.mk. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by waghanza): yeah, I'm tyng to build some deb/rpm for ''ghc''' it's ''long'' .... since debian's offical one is {{{7.6.3}}} and fedora {{{7.8.4}}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11114: Can't compile ghc on fedora 23 -------------------------------------+------------------------------------- Reporter: waghanza | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by waghanza): compilation was ok, and take less than '''1''' hour (on a '''8''' core machine) my rpm is here : https://www.dropbox.com/s/iu8epk2qtar6021/ghc-7.10.2-1.x86_64.rpm?dl=0 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11114#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC