Re: Dependencies missing when building ghc.

2014-10-13 Thread Yuras Shumovich
Hello,

It is recommended to checkout 7.8 in special way, see
https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#checkout-old-branch

That is because repo structure was changed after 7.8

Thanks,
Yuras
13 Окт 2014 г. 4:03 пользователь Magicloud Magiclouds 
magicloud.magiclo...@gmail.com написал:

 Hi,

   I am with my new Ubuntu Trusty box. I have installed ghc by apt-get.
 Then I wanted to build ghc from git to upgrade to 7.8.3.

   I did following commands. I tried 'make clean', or reget the source. No
 luck yet.

 $ git clone --recursive git://git.haskell.org/ghc.git
 $ ./sync-all -r git://git.haskell.org remote set-url origin
 $ git checkout ghc-7.8.3-release
 $ ./sync-all get
 $ rm -r libraries/time # as prompted by sync-all
 $ ./sync-all get
 $ ./boot
 $ ./configure
 $ make
 ===--- building phase 0
 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
 make[1]: Nothing to be done for `phase_0_builds'.
 ===--- building phase 1
 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
 inplace/bin/ghc-cabal check libraries/haskell98
 inplace/bin/ghc-cabal configure libraries/haskell98 dist-install 
 --with-ghc=/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-stage1
 --with-ghc-pkg=/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-pkg
  --disable-library-for-ghci --enable-library-vanilla
 --enable-library-profiling --enable-shared --configure-option=CFLAGS=
 -fno-stack-protector--configure-option=LDFLAGS=   
 --configure-option=CPPFLAGS=--gcc-options= -fno-stack-protector
--with-gcc=/usr/bin/gcc --with-ld=/usr/bin/ld
 --configure-option=--with-cc=/usr/bin/gcc --with-ar=/usr/bin/ar
 --with-ranlib=/usr/bin/ranlib --with-alex=/usr/bin/alex
 --with-happy=/usr/bin/happy
 Configuring haskell98-2.0.0.4...
 ghc-cabal: At least the following dependencies are missing:
 base ==4.8.*
 make[1]: *** [libraries/haskell98/dist-install/package-data.mk] Error 1
 make: *** [all] Error 2
 --
 竹密岂妨流水过
 山高哪阻野云飞

 And for G+, please use magiclouds#gmail.com.

 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Dependencies missing when building ghc.

2014-10-13 Thread Daniel Trstenjak

 I am with my new Ubuntu Trusty box. I have installed ghc by apt-get. Then I
 wanted to build ghc from git to upgrade to 7.8.3.

If you only want to install a newer ghc version on ubuntu or even
multiple ghc versions at once, then I can only recommend the excellent
PPA of Herbert Valerio Riedel:

   https://launchpad.net/~hvr/+archive/ubuntu/ghc


Greetings,
Daniel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


GHC 7.8.4: call for tickets, show stoppers, and timelines - oh my!

2014-10-13 Thread Austin Seipp
Hi *,

After some discussion with Simon  Mikolaj today, I'd like to direct
you all at this:

https://ghc.haskell.org/trac/ghc/wiki/Status/GHC-7.8.4

This status page is the basic overview of what we plan on doing for
7.8.4. There are two basic components to this page:

 - Show stopping bugs.
 - Everything else, which is nice to have.

Show stoppers are listed at the top of the page, in the first
paragraph. Right now, this includes:

 - #9439 - LLVM mangling too vigorously.
 - #8819 - Arithmetic failures for unregistered systems
 - #8690 - SpecConstr blow-up

And that's all. But what's all the other stuff? That's everything else.

Aside from these tickets listed here - and any future amendments to it
- all other tickets will only be considered nice-to-have. What does
that mean?

 - It's low risk to include.
 - It clearly fixes the problem
 - It doesn't take Austin significant amounts of time to merge.

For example, Tickets marked merge with no milestone are all
nice-to-have. Similarly, all the *closed tickets* on this page may be
re-opened and merged again[1], since most didn't make it to 7.8.4.

Ditto with the remaining categories.

OK, so that's the gist. Now I ask of you the following:

 - If you have a show-stopping bug with GHC 7.8.3, **you really,
_positively_ need to file a bug, and get in contact with me ASAP**.
Otherwise you'll be waiting for 7.10 most likely.
 - Again: if you have a show stopper, contact me. Very soon.
 - If there are bugs you *think* are showstoppers, but we didn't
categorize them properly, let me know.

Anything we accept as a show-stopper will delay the release of 7.8.4.
Anything else can (and possibly will) be left behind. Luckily, almost
all of the show stoppers have patches. Only #8819 does not, but I have
asked Sergei to look into it for me if he has time today.

Finally, I would please ask that users/developers do not include their
own personal pet tickets under show stoppers without consulting me
first, at least. :) If it's just nice to have, you can still pester
me, of course, and I'll try to make it happen.

I would like to have 7.8.4 out and done with by mid November, before
we freeze the new STABLE branch for 7.10.1. That's not a hard
deadline; just a timeframe I'd like to hit.

Let me know if you have any questions or comments; thanks!

[1] A lot of the closed tickets on this page had an improper milestone
set, which is why they show up. You can mostly ignore them, I
apologize.

-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Type checker plugins

2014-10-13 Thread Iavor Diatchki
Hello,

We now have an implementation of type-checker with plugin support.   If you
are interested in trying it out:

  - Checkout and build the `wip/tc-plugins` branch of GHC

  - As an example, I've extracted my work on using an SMT solver at the
type level as a separate plugin:

  https://github.com/yav/type-nat-solver

   - To see how to invoke a module that uses a plugin, have a look in
`examples/A.hs`.
 (Currently, the plugin assumes that you have `cvc4` installed and
available in the path).

- Besides this, we don't have much documentation yet.  For hackers: we
tried to use `tcPlugin` on
`TcPlugin` in the names of all things plugin related, so you could grep
for this.  The basic API
 types and functions are defined in `TcRnTypes` and `TcRnMonad`.

Happy hacking,
-Iavor











On Mon, Oct 6, 2014 at 11:53 AM, Carter Schonwald 
carter.schonw...@gmail.com wrote:

 yay :)

 On Mon, Oct 6, 2014 at 2:42 PM, Iavor Diatchki iavor.diatc...@gmail.com
 wrote:

 Hi Adam,

 I am back from vacation, and I think I should have some time to try to
 implement something along these lines.

 Cheers,
 -Iavor

 On Fri, Sep 12, 2014 at 9:41 AM, Adam Gundry a...@well-typed.com wrote:

 Hi folks,

 Those of you at HIW last week might have been subjected to my lightning
 talk on plugins for the GHC type checker, which should allow us to
 properly implement nifty features like units of measure or type-level
 numbers without recompiling GHC. I've written up a wiki page summarising
 the idea:

 https://ghc.haskell.org/trac/ghc/wiki/Plugins/TypeChecker

 Feedback is very welcome, particularly if (a) you have an interesting
 use for this feature or (b) you think this is a terrible idea!

 Thanks,

 Adam


 --
 Adam Gundry, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/



 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Type checker plugins

2014-10-13 Thread Austin Seipp
Iavor,

Wow, this is one of the coolest new features I've seen in a while, I
have to say. I hope we can see it in GHC sometime soon. :)

On Mon, Oct 13, 2014 at 3:34 PM, Iavor Diatchki
iavor.diatc...@gmail.com wrote:
 Hello,

 We now have an implementation of type-checker with plugin support.   If you
 are interested in trying it out:

   - Checkout and build the `wip/tc-plugins` branch of GHC

   - As an example, I've extracted my work on using an SMT solver at the type
 level as a separate plugin:

   https://github.com/yav/type-nat-solver

- To see how to invoke a module that uses a plugin, have a look in
 `examples/A.hs`.
  (Currently, the plugin assumes that you have `cvc4` installed and
 available in the path).

 - Besides this, we don't have much documentation yet.  For hackers: we
 tried to use `tcPlugin` on
 `TcPlugin` in the names of all things plugin related, so you could grep
 for this.  The basic API
  types and functions are defined in `TcRnTypes` and `TcRnMonad`.

 Happy hacking,
 -Iavor











 On Mon, Oct 6, 2014 at 11:53 AM, Carter Schonwald
 carter.schonw...@gmail.com wrote:

 yay :)

 On Mon, Oct 6, 2014 at 2:42 PM, Iavor Diatchki iavor.diatc...@gmail.com
 wrote:

 Hi Adam,

 I am back from vacation, and I think I should have some time to try to
 implement something along these lines.

 Cheers,
 -Iavor

 On Fri, Sep 12, 2014 at 9:41 AM, Adam Gundry a...@well-typed.com wrote:

 Hi folks,

 Those of you at HIW last week might have been subjected to my lightning
 talk on plugins for the GHC type checker, which should allow us to
 properly implement nifty features like units of measure or type-level
 numbers without recompiling GHC. I've written up a wiki page summarising
 the idea:

 https://ghc.haskell.org/trac/ghc/wiki/Plugins/TypeChecker

 Feedback is very welcome, particularly if (a) you have an interesting
 use for this feature or (b) you think this is a terrible idea!

 Thanks,

 Adam


 --
 Adam Gundry, Haskell Consultant
 Well-Typed LLP, http://www.well-typed.com/



 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Dependencies missing when building ghc.

2014-10-13 Thread Magicloud Magiclouds
Works like a charm. Thank you.

On Mon, Oct 13, 2014 at 3:16 PM, Yuras Shumovich shumovi...@gmail.com
wrote:

 Hello,

 It is recommended to checkout 7.8 in special way, see
 https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#checkout-old-branch

 That is because repo structure was changed after 7.8

 Thanks,
 Yuras
 13 Окт 2014 г. 4:03 пользователь Magicloud Magiclouds 
 magicloud.magiclo...@gmail.com написал:

 Hi,

   I am with my new Ubuntu Trusty box. I have installed ghc by apt-get.
 Then I wanted to build ghc from git to upgrade to 7.8.3.

   I did following commands. I tried 'make clean', or reget the source. No
 luck yet.

 $ git clone --recursive git://git.haskell.org/ghc.git
 $ ./sync-all -r git://git.haskell.org remote set-url origin
 $ git checkout ghc-7.8.3-release
 $ ./sync-all get
 $ rm -r libraries/time # as prompted by sync-all
 $ ./sync-all get
 $ ./boot
 $ ./configure
 $ make
 ===--- building phase 0
 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
 make[1]: Nothing to be done for `phase_0_builds'.
 ===--- building phase 1
 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
 inplace/bin/ghc-cabal check libraries/haskell98
 inplace/bin/ghc-cabal configure libraries/haskell98 dist-install 
 --with-ghc=/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-stage1
 --with-ghc-pkg=/home/local/ANT/shida/src/git/ghc/inplace/bin/ghc-pkg
  --disable-library-for-ghci --enable-library-vanilla
 --enable-library-profiling --enable-shared --configure-option=CFLAGS=
 -fno-stack-protector--configure-option=LDFLAGS=   
 --configure-option=CPPFLAGS=--gcc-options= -fno-stack-protector
--with-gcc=/usr/bin/gcc --with-ld=/usr/bin/ld
 --configure-option=--with-cc=/usr/bin/gcc --with-ar=/usr/bin/ar
 --with-ranlib=/usr/bin/ranlib --with-alex=/usr/bin/alex
 --with-happy=/usr/bin/happy
 Configuring haskell98-2.0.0.4...
 ghc-cabal: At least the following dependencies are missing:
 base ==4.8.*
 make[1]: *** [libraries/haskell98/dist-install/package-data.mk] Error 1
 make: *** [all] Error 2
 --
 竹密岂妨流水过
 山高哪阻野云飞

 And for G+, please use magiclouds#gmail.com.

 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users




-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Haskell-cafe] Dependencies missing when building ghc.

2014-10-13 Thread Magicloud Magiclouds
That is something I did not know. Thank you.

On Mon, Oct 13, 2014 at 4:14 PM, Daniel Trstenjak 
daniel.trsten...@gmail.com wrote:


  I am with my new Ubuntu Trusty box. I have installed ghc by apt-get.
 Then I
  wanted to build ghc from git to upgrade to 7.8.3.

 If you only want to install a newer ghc version on ubuntu or even
 multiple ghc versions at once, then I can only recommend the excellent
 PPA of Herbert Valerio Riedel:

https://launchpad.net/~hvr/+archive/ubuntu/ghc


 Greetings,
 Daniel
 ___
 Haskell-Cafe mailing list
 haskell-c...@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe




-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users